diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ba0182b..f90675fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -The GitOps Toolkit is [Apache 2.0 licensed](https://github.com/fluxcd/toolkit/blob/master/LICENSE) +The GitOps Toolkit is [Apache 2.0 licensed](https://github.com/fluxcd/flux2/blob/master/LICENSE) and accepts contributions via GitHub pull requests. This document outlines some of the conventions on to make it easier to get your contribution accepted. @@ -23,7 +23,7 @@ join the [CNCF](https://slack.cncf.io/) Slack workspace and use the [#flux-dev](https://cloud-native.slack.com/messages/flux-dev/) channel. To discuss ideas and specifications we use [Github -Discussions](https://github.com/fluxcd/toolkit/discussions). +Discussions](https://github.com/fluxcd/flux2/discussions). For announcements we use a mailing list as well. Simply subscribe to [flux-dev on cncf.io](https://lists.cncf.io/g/cncf-flux-dev) @@ -38,7 +38,7 @@ you might want to take a look at the [introductory talk and demo](https://www.yo This project is composed of: -- [/f/toolkit](https://github.com/fluxcd/toolkit): The GitOps Toolkit CLI +- [/f/flux2](https://github.com/fluxcd/flux2): The Flux CLI - [/f/source-manager](https://github.com/fluxcd/source-controller): Kubernetes operator for managing sources - [/f/kustomize-controller](https://github.com/fluxcd/kustomize-controller): Kubernetes operator for building GitOps pipelines with Kustomize - [/f/helm-controller](https://github.com/fluxcd/helm-controller): Kubernetes operator for building GitOps pipelines with Helm diff --git a/README.md b/README.md index 232ca975..d63ef82c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Flux version 2 -[![e2e](https://github.com/fluxcd/toolkit/workflows/e2e/badge.svg)](https://github.com/fluxcd/toolkit/actions) -[![report](https://goreportcard.com/badge/github.com/fluxcd/toolkit)](https://goreportcard.com/report/github.com/fluxcd/toolkit) -[![license](https://img.shields.io/github/license/fluxcd/toolkit.svg)](https://github.com/fluxcd/toolkit/blob/main/LICENSE) -[![release](https://img.shields.io/github/release/fluxcd/toolkit/all.svg)](https://github.com/fluxcd/toolkit/releases) +[![e2e](https://github.com/fluxcd/flux2/workflows/e2e/badge.svg)](https://github.com/fluxcd/flux2/actions) +[![report](https://goreportcard.com/badge/github.com/fluxcd/flux2)](https://goreportcard.com/report/github.com/fluxcd/flux2) +[![license](https://img.shields.io/github/license/fluxcd/flux2.svg)](https://github.com/fluxcd/flux2/blob/main/LICENSE) +[![release](https://img.shields.io/github/release/fluxcd/flux2/all.svg)](https://github.com/fluxcd/flux2/releases) ![overview](docs/diagrams/gitops-toolkit.png) Flux is a tool for keeping Kubernetes clusters in sync with sources of @@ -39,7 +39,7 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash ``` Binaries for macOS, Windows and Linux AMD64/ARM are available to download on the -[release page](https://github.com/fluxcd/toolkit/releases). +[release page](https://github.com/fluxcd/flux2/releases). Verify that your cluster satisfies the prerequisites with: @@ -93,7 +93,7 @@ The GitOps Toolkit is always looking for new contributors and there are a multit - Join our upcoming dev meetings ([meeting access and agenda](https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARDeh6b70B0/view)) - Talk to us in the #flux channel on [CNCF Slack](https://slack.cncf.io/) -- Join the [planning discussions](https://github.com/fluxcd/toolkit/discussions) +- Join the [planning discussions](https://github.com/fluxcd/flux2/discussions) - And if you are completely new to the GitOps Toolkit, take a look at our [Get Started guide](https://toolkit.fluxcd.io/get-started/) and give us feedback - To be part of the conversation about Flux's development, [join the flux-dev mailing list](https://lists.cncf.io/g/cncf-flux-dev). - Check out [how to contribute](CONTRIBUTING.md) to the project diff --git a/cmd/flux/bootstrap.go b/cmd/flux/bootstrap.go index e4e51248..47b01127 100644 --- a/cmd/flux/bootstrap.go +++ b/cmd/flux/bootstrap.go @@ -33,10 +33,10 @@ import ( kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" - "github.com/fluxcd/toolkit/pkg/manifestgen/install" - "github.com/fluxcd/toolkit/pkg/manifestgen/sync" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" + "github.com/fluxcd/flux2/pkg/manifestgen/install" + "github.com/fluxcd/flux2/pkg/manifestgen/sync" ) var bootstrapCmd = &cobra.Command{ diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index f4ae1a2a..08bfeedc 100644 --- a/cmd/flux/bootstrap_github.go +++ b/cmd/flux/bootstrap_github.go @@ -27,8 +27,8 @@ import ( "github.com/spf13/cobra" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/git" - "github.com/fluxcd/toolkit/internal/utils" ) var bootstrapGitHubCmd = &cobra.Command{ diff --git a/cmd/flux/bootstrap_gitlab.go b/cmd/flux/bootstrap_gitlab.go index d183318d..5c1364ff 100644 --- a/cmd/flux/bootstrap_gitlab.go +++ b/cmd/flux/bootstrap_gitlab.go @@ -29,8 +29,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/git" - "github.com/fluxcd/toolkit/internal/utils" ) var bootstrapGitLabCmd = &cobra.Command{ diff --git a/cmd/flux/check.go b/cmd/flux/check.go index b1bc6233..11bdb30b 100644 --- a/cmd/flux/check.go +++ b/cmd/flux/check.go @@ -24,7 +24,7 @@ import ( "strings" "github.com/blang/semver/v4" - "github.com/fluxcd/toolkit/internal/utils" + "github.com/fluxcd/flux2/internal/utils" "github.com/spf13/cobra" apimachineryversion "k8s.io/apimachinery/pkg/version" "k8s.io/client-go/kubernetes" diff --git a/cmd/flux/create_alert.go b/cmd/flux/create_alert.go index d35c3cc5..1a570c00 100644 --- a/cmd/flux/create_alert.go +++ b/cmd/flux/create_alert.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/create_alertprovider.go b/cmd/flux/create_alertprovider.go index 44582570..b1efbb2f 100644 --- a/cmd/flux/create_alertprovider.go +++ b/cmd/flux/create_alertprovider.go @@ -28,9 +28,9 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" ) var createAlertProviderCmd = &cobra.Command{ diff --git a/cmd/flux/create_helmrelease.go b/cmd/flux/create_helmrelease.go index e1d92074..99a198ea 100644 --- a/cmd/flux/create_helmrelease.go +++ b/cmd/flux/create_helmrelease.go @@ -21,9 +21,9 @@ import ( "fmt" "io/ioutil" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" diff --git a/cmd/flux/create_kustomization.go b/cmd/flux/create_kustomization.go index 1151d1f5..cf579aac 100644 --- a/cmd/flux/create_kustomization.go +++ b/cmd/flux/create_kustomization.go @@ -30,11 +30,11 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" ) var createKsCmd = &cobra.Command{ diff --git a/cmd/flux/create_receiver.go b/cmd/flux/create_receiver.go index 6027579b..233f36cb 100644 --- a/cmd/flux/create_receiver.go +++ b/cmd/flux/create_receiver.go @@ -28,9 +28,9 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" ) var createReceiverCmd = &cobra.Command{ diff --git a/cmd/flux/create_source_bucket.go b/cmd/flux/create_source_bucket.go index 6068ec1e..9bc9144c 100644 --- a/cmd/flux/create_source_bucket.go +++ b/cmd/flux/create_source_bucket.go @@ -30,9 +30,9 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" ) var createSourceBucketCmd = &cobra.Command{ diff --git a/cmd/flux/create_source_git.go b/cmd/flux/create_source_git.go index ddd4fd8e..7714c5c7 100644 --- a/cmd/flux/create_source_git.go +++ b/cmd/flux/create_source_git.go @@ -25,9 +25,9 @@ import ( "os" "time" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" "github.com/manifoldco/promptui" diff --git a/cmd/flux/create_source_helm.go b/cmd/flux/create_source_helm.go index b0520bec..4a21c4e6 100644 --- a/cmd/flux/create_source_helm.go +++ b/cmd/flux/create_source_helm.go @@ -31,8 +31,8 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var createSourceHelmCmd = &cobra.Command{ diff --git a/cmd/flux/create_tenant.go b/cmd/flux/create_tenant.go index 4eadc2f2..b8a539bf 100644 --- a/cmd/flux/create_tenant.go +++ b/cmd/flux/create_tenant.go @@ -21,7 +21,7 @@ import ( "context" "fmt" - "github.com/fluxcd/toolkit/internal/utils" + "github.com/fluxcd/flux2/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" rbacv1 "k8s.io/api/rbac/v1" diff --git a/cmd/flux/delete_alert.go b/cmd/flux/delete_alert.go index fca194ca..ce48ef89 100644 --- a/cmd/flux/delete_alert.go +++ b/cmd/flux/delete_alert.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var deleteAlertCmd = &cobra.Command{ diff --git a/cmd/flux/delete_alertprovider.go b/cmd/flux/delete_alertprovider.go index 2f5ca41b..7487e089 100644 --- a/cmd/flux/delete_alertprovider.go +++ b/cmd/flux/delete_alertprovider.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var deleteAlertProviderCmd = &cobra.Command{ diff --git a/cmd/flux/delete_helmrelease.go b/cmd/flux/delete_helmrelease.go index 6ab6477a..d14227a9 100644 --- a/cmd/flux/delete_helmrelease.go +++ b/cmd/flux/delete_helmrelease.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var deleteHelmReleaseCmd = &cobra.Command{ diff --git a/cmd/flux/delete_kustomization.go b/cmd/flux/delete_kustomization.go index a71d60c9..aa899296 100644 --- a/cmd/flux/delete_kustomization.go +++ b/cmd/flux/delete_kustomization.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" "github.com/manifoldco/promptui" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/delete_receiver.go b/cmd/flux/delete_receiver.go index 66603678..618fa307 100644 --- a/cmd/flux/delete_receiver.go +++ b/cmd/flux/delete_receiver.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var deleteReceiverCmd = &cobra.Command{ diff --git a/cmd/flux/delete_source_bucket.go b/cmd/flux/delete_source_bucket.go index ffb628f2..812defd7 100644 --- a/cmd/flux/delete_source_bucket.go +++ b/cmd/flux/delete_source_bucket.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" "github.com/manifoldco/promptui" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/delete_source_git.go b/cmd/flux/delete_source_git.go index 74337139..7b350ff4 100644 --- a/cmd/flux/delete_source_git.go +++ b/cmd/flux/delete_source_git.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" "github.com/manifoldco/promptui" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/delete_source_helm.go b/cmd/flux/delete_source_helm.go index 11b3e7ca..0cc83e87 100644 --- a/cmd/flux/delete_source_helm.go +++ b/cmd/flux/delete_source_helm.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" "github.com/manifoldco/promptui" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/export_alert.go b/cmd/flux/export_alert.go index a3eab1d4..43bf7373 100644 --- a/cmd/flux/export_alert.go +++ b/cmd/flux/export_alert.go @@ -26,8 +26,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportAlertCmd = &cobra.Command{ diff --git a/cmd/flux/export_alertprovider.go b/cmd/flux/export_alertprovider.go index ea26eeab..0bc3747f 100644 --- a/cmd/flux/export_alertprovider.go +++ b/cmd/flux/export_alertprovider.go @@ -26,8 +26,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportAlertProviderCmd = &cobra.Command{ diff --git a/cmd/flux/export_helmrelease.go b/cmd/flux/export_helmrelease.go index 8f50a795..e533ae23 100644 --- a/cmd/flux/export_helmrelease.go +++ b/cmd/flux/export_helmrelease.go @@ -26,8 +26,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportHelmReleaseCmd = &cobra.Command{ diff --git a/cmd/flux/export_kustomization.go b/cmd/flux/export_kustomization.go index 517f976f..4a28e91e 100644 --- a/cmd/flux/export_kustomization.go +++ b/cmd/flux/export_kustomization.go @@ -26,8 +26,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportKsCmd = &cobra.Command{ diff --git a/cmd/flux/export_receiver.go b/cmd/flux/export_receiver.go index 03bae3a2..654c82ec 100644 --- a/cmd/flux/export_receiver.go +++ b/cmd/flux/export_receiver.go @@ -26,8 +26,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportReceiverCmd = &cobra.Command{ diff --git a/cmd/flux/export_source_bucket.go b/cmd/flux/export_source_bucket.go index 09ab9402..c7acd500 100644 --- a/cmd/flux/export_source_bucket.go +++ b/cmd/flux/export_source_bucket.go @@ -27,8 +27,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportSourceBucketCmd = &cobra.Command{ diff --git a/cmd/flux/export_source_git.go b/cmd/flux/export_source_git.go index dc5520e7..038a8772 100644 --- a/cmd/flux/export_source_git.go +++ b/cmd/flux/export_source_git.go @@ -27,8 +27,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportSourceGitCmd = &cobra.Command{ diff --git a/cmd/flux/export_source_helm.go b/cmd/flux/export_source_helm.go index 9900230a..879af6c5 100644 --- a/cmd/flux/export_source_helm.go +++ b/cmd/flux/export_source_helm.go @@ -27,8 +27,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/yaml" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var exportSourceHelmCmd = &cobra.Command{ diff --git a/cmd/flux/get_alert.go b/cmd/flux/get_alert.go index 95762966..9bf17c53 100644 --- a/cmd/flux/get_alert.go +++ b/cmd/flux/get_alert.go @@ -26,9 +26,9 @@ import ( corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" ) var getAlertCmd = &cobra.Command{ diff --git a/cmd/flux/get_alertprovider.go b/cmd/flux/get_alertprovider.go index b8e8846e..1342057a 100644 --- a/cmd/flux/get_alertprovider.go +++ b/cmd/flux/get_alertprovider.go @@ -24,9 +24,9 @@ import ( corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" ) var getAlertProviderCmd = &cobra.Command{ diff --git a/cmd/flux/get_helmrelease.go b/cmd/flux/get_helmrelease.go index 4304cfff..6d970244 100644 --- a/cmd/flux/get_helmrelease.go +++ b/cmd/flux/get_helmrelease.go @@ -22,8 +22,8 @@ import ( "strconv" "strings" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/get_kustomization.go b/cmd/flux/get_kustomization.go index 8c92833b..d56ea34c 100644 --- a/cmd/flux/get_kustomization.go +++ b/cmd/flux/get_kustomization.go @@ -22,8 +22,8 @@ import ( "strconv" "strings" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" "github.com/spf13/cobra" diff --git a/cmd/flux/get_receiver.go b/cmd/flux/get_receiver.go index aeb3a218..6ae69c60 100644 --- a/cmd/flux/get_receiver.go +++ b/cmd/flux/get_receiver.go @@ -26,9 +26,9 @@ import ( corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" ) var getReceiverCmd = &cobra.Command{ diff --git a/cmd/flux/get_source_bucket.go b/cmd/flux/get_source_bucket.go index 03d992fa..e8026b83 100644 --- a/cmd/flux/get_source_bucket.go +++ b/cmd/flux/get_source_bucket.go @@ -20,8 +20,8 @@ import ( "context" "os" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" "github.com/spf13/cobra" diff --git a/cmd/flux/get_source_git.go b/cmd/flux/get_source_git.go index 0385e01e..04f0526c 100644 --- a/cmd/flux/get_source_git.go +++ b/cmd/flux/get_source_git.go @@ -20,8 +20,8 @@ import ( "context" "os" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" "github.com/spf13/cobra" diff --git a/cmd/flux/get_source_helm.go b/cmd/flux/get_source_helm.go index edc5c67a..639fd0e6 100644 --- a/cmd/flux/get_source_helm.go +++ b/cmd/flux/get_source_helm.go @@ -20,8 +20,8 @@ import ( "context" "os" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" "github.com/spf13/cobra" diff --git a/cmd/flux/install.go b/cmd/flux/install.go index b939222c..e7a520db 100644 --- a/cmd/flux/install.go +++ b/cmd/flux/install.go @@ -26,9 +26,9 @@ import ( "github.com/spf13/cobra" - "github.com/fluxcd/toolkit/internal/flags" - "github.com/fluxcd/toolkit/internal/utils" - "github.com/fluxcd/toolkit/pkg/manifestgen/install" + "github.com/fluxcd/flux2/internal/flags" + "github.com/fluxcd/flux2/internal/utils" + "github.com/fluxcd/flux2/pkg/manifestgen/install" ) var installCmd = &cobra.Command{ diff --git a/cmd/flux/main.go b/cmd/flux/main.go index fe43d5c7..4205b082 100644 --- a/cmd/flux/main.go +++ b/cmd/flux/main.go @@ -26,8 +26,8 @@ import ( "github.com/spf13/cobra/doc" _ "k8s.io/client-go/plugin/pkg/client/auth" - fluxlog "github.com/fluxcd/toolkit/pkg/log" - "github.com/fluxcd/toolkit/pkg/manifestgen/install" + fluxlog "github.com/fluxcd/flux2/pkg/log" + "github.com/fluxcd/flux2/pkg/manifestgen/install" ) var VERSION = "0.0.0-dev.0" diff --git a/cmd/flux/reconcile_alert.go b/cmd/flux/reconcile_alert.go index 6f8eac95..f895a608 100644 --- a/cmd/flux/reconcile_alert.go +++ b/cmd/flux/reconcile_alert.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/reconcile_alertprovider.go b/cmd/flux/reconcile_alertprovider.go index f842531c..5c5b829d 100644 --- a/cmd/flux/reconcile_alertprovider.go +++ b/cmd/flux/reconcile_alertprovider.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/reconcile_helmrelease.go b/cmd/flux/reconcile_helmrelease.go index d93e16aa..3371d184 100644 --- a/cmd/flux/reconcile_helmrelease.go +++ b/cmd/flux/reconcile_helmrelease.go @@ -28,8 +28,8 @@ import ( "k8s.io/client-go/util/retry" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" diff --git a/cmd/flux/reconcile_kustomization.go b/cmd/flux/reconcile_kustomization.go index 8bf75a37..09e7ff67 100644 --- a/cmd/flux/reconcile_kustomization.go +++ b/cmd/flux/reconcile_kustomization.go @@ -25,8 +25,8 @@ import ( "k8s.io/client-go/util/retry" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/wait" diff --git a/cmd/flux/reconcile_receiver.go b/cmd/flux/reconcile_receiver.go index ac1493a8..a874b391 100644 --- a/cmd/flux/reconcile_receiver.go +++ b/cmd/flux/reconcile_receiver.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/reconcile_source_bucket.go b/cmd/flux/reconcile_source_bucket.go index eaefdd35..40c237f3 100644 --- a/cmd/flux/reconcile_source_bucket.go +++ b/cmd/flux/reconcile_source_bucket.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/reconcile_source_git.go b/cmd/flux/reconcile_source_git.go index 5d6fddaa..2a603285 100644 --- a/cmd/flux/reconcile_source_git.go +++ b/cmd/flux/reconcile_source_git.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" diff --git a/cmd/flux/reconcile_source_helm.go b/cmd/flux/reconcile_source_helm.go index 3fc4a1ac..ae50c612 100644 --- a/cmd/flux/reconcile_source_helm.go +++ b/cmd/flux/reconcile_source_helm.go @@ -21,8 +21,8 @@ import ( "fmt" "time" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/resume_alert.go b/cmd/flux/resume_alert.go index 98176eb5..5186392e 100644 --- a/cmd/flux/resume_alert.go +++ b/cmd/flux/resume_alert.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/resume_helmrelease.go b/cmd/flux/resume_helmrelease.go index cc3a015a..0558d3a9 100644 --- a/cmd/flux/resume_helmrelease.go +++ b/cmd/flux/resume_helmrelease.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/resume_kustomization.go b/cmd/flux/resume_kustomization.go index 58c65c35..9de37bb7 100644 --- a/cmd/flux/resume_kustomization.go +++ b/cmd/flux/resume_kustomization.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" "github.com/spf13/cobra" diff --git a/cmd/flux/resume_receiver.go b/cmd/flux/resume_receiver.go index 54d5e634..7e51477f 100644 --- a/cmd/flux/resume_receiver.go +++ b/cmd/flux/resume_receiver.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" "github.com/fluxcd/pkg/apis/meta" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" diff --git a/cmd/flux/suspend_alert.go b/cmd/flux/suspend_alert.go index 2da27a36..e9f58943 100644 --- a/cmd/flux/suspend_alert.go +++ b/cmd/flux/suspend_alert.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var suspendAlertCmd = &cobra.Command{ diff --git a/cmd/flux/suspend_helmrelease.go b/cmd/flux/suspend_helmrelease.go index a0d456df..32029b36 100644 --- a/cmd/flux/suspend_helmrelease.go +++ b/cmd/flux/suspend_helmrelease.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var suspendHrCmd = &cobra.Command{ diff --git a/cmd/flux/suspend_kustomization.go b/cmd/flux/suspend_kustomization.go index 2117731e..c9723bc0 100644 --- a/cmd/flux/suspend_kustomization.go +++ b/cmd/flux/suspend_kustomization.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + "github.com/fluxcd/flux2/internal/utils" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" ) diff --git a/cmd/flux/suspend_receiver.go b/cmd/flux/suspend_receiver.go index d58a28b0..0dbb763e 100644 --- a/cmd/flux/suspend_receiver.go +++ b/cmd/flux/suspend_receiver.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/types" + "github.com/fluxcd/flux2/internal/utils" notificationv1 "github.com/fluxcd/notification-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var suspendReceiverCmd = &cobra.Command{ diff --git a/cmd/flux/uninstall.go b/cmd/flux/uninstall.go index cff20014..eed2f493 100644 --- a/cmd/flux/uninstall.go +++ b/cmd/flux/uninstall.go @@ -26,10 +26,10 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/fluxcd/flux2/internal/utils" helmv2 "github.com/fluxcd/helm-controller/api/v2beta1" kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var uninstallCmd = &cobra.Command{ diff --git a/docs/faq/index.md b/docs/faq/index.md index 2c586574..3554e505 100644 --- a/docs/faq/index.md +++ b/docs/faq/index.md @@ -77,7 +77,7 @@ Custom Prometheus metrics | Generic / common `controller-runtime` Prometheus met There are a variety of ways and we look forward to having you on board building the future of GitOps together: -- [Discuss the direction](https://github.com/fluxcd/toolkit/discussions) of the GitOps Toolkit with us +- [Discuss the direction](https://github.com/fluxcd/flux2/discussions) of the GitOps Toolkit with us - Join us in #flux-dev on the [CNCF Slack](https://slack.cncf.io) - Check out our [contributor docs](https://toolkit.fluxcd.io/contributing/) - Take a look at the [roadmap of the GitOps Toolkit](https://toolkit.fluxcd.io/roadmap/) diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 906c813c..cef397f1 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -36,7 +36,7 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash The install script downloads the flux binary to `/usr/local/bin`. Binaries for **macOS**, **Windows** and **Linux** AMD64/ARM are available for download on the -[release page](https://github.com/fluxcd/toolkit/releases). +[release page](https://github.com/fluxcd/flux2/releases). To configure your shell to load flux completions add to your Bash profile: @@ -139,7 +139,7 @@ If you prefer GitLab, export `GITLAB_TOKEN` env var and use the command [flux bo It is safe to run the bootstrap command as many times as you want. If the toolkit components are present on the cluster, the bootstrap command will perform an upgrade if needed. - You can target a specific toolkit [version](https://github.com/fluxcd/toolkit/releases) + You can target a specific toolkit [version](https://github.com/fluxcd/flux2/releases) with `flux bootstrap --version=`. ## Staging workflow diff --git a/docs/guides/installation.md b/docs/guides/installation.md index 7f04a42e..96733b9a 100644 --- a/docs/guides/installation.md +++ b/docs/guides/installation.md @@ -30,7 +30,7 @@ Command-line completion for `zsh`, `fish`, and `powershell` are also supported with their own sub-commands. Binaries for macOS, Windows and Linux AMD64/ARM are available for download on the -[release page](https://github.com/fluxcd/toolkit/releases). +[release page](https://github.com/fluxcd/flux2/releases). Verify that your cluster satisfies the prerequisites with: @@ -67,7 +67,7 @@ flux bootstrap \ and `--arch=arm64` for ARMv8 64-bit container images. If you wish to install a specific version, use the toolkit -[release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`. +[release tag](https://github.com/fluxcd/flux2/releases) e.g. `--version=v0.0.14`. With `--path` you can configure the directory which will be used to reconcile the target cluster. To control multiple clusters from the same Git repository, you have to set a unique path per diff --git a/docs/guides/monitoring.md b/docs/guides/monitoring.md index bc78b72c..029acac2 100644 --- a/docs/guides/monitoring.md +++ b/docs/guides/monitoring.md @@ -14,11 +14,11 @@ To install the monitoring stack with `flux`, first register the toolkit Git repo ```sh flux create source git monitoring \ --interval=30m \ - --url=https://github.com/fluxcd/toolkit \ + --url=https://github.com/fluxcd/flux2 \ --branch=main ``` -Then apply the [manifests/monitoring](https://github.com/fluxcd/toolkit/tree/main/manifests/monitoring) +Then apply the [manifests/monitoring](https://github.com/fluxcd/flux2/tree/main/manifests/monitoring) kustomization: ```sh @@ -50,7 +50,7 @@ Cluster reconciliation dashboard [http://localhost:3000/d/gitops-toolkit-cluster ![](../_files/cluster-dashboard.png) If you wish to use your own Prometheus and Grafana instances, then you can import the dashboards from -[GitHub](https://github.com/fluxcd/toolkit/tree/main/manifests/monitoring/grafana/dashboards). +[GitHub](https://github.com/fluxcd/flux2/tree/main/manifests/monitoring/grafana/dashboards). !!! hint Note that the toolkit controllers expose the `/metrics` endpoint on port `8080`. diff --git a/docs/index.md b/docs/index.md index cd325172..6e4f73f0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -35,7 +35,7 @@ Target features: Components: -- [Toolkit CLI](https://github.com/fluxcd/toolkit) +- [Toolkit CLI](https://github.com/fluxcd/flux2) - [Source Controller](components/source/controller.md) - [GitRepository CRD](components/source/gitrepositories.md) - [HelmRepository CRD](components/source/helmrepositories.md) @@ -61,7 +61,7 @@ The GitOps Toolkit is always looking for new contributors and there are a multit - Join our upcoming dev meetings ([meeting access and agenda](https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARDeh6b70B0/view)) - Talk to us in the #flux channel on [CNCF Slack](https://slack.cncf.io/) -- Join the [planning discussions](https://github.com/fluxcd/toolkit/discussions) +- Join the [planning discussions](https://github.com/fluxcd/flux2/discussions) - And if you are completely new to the GitOps Toolkit, take a look at our [Get Started guide](get-started/index.md) and give us feedback - Check out [how to contribute](contributing/index.md) to the project diff --git a/docs/roadmap/index.md b/docs/roadmap/index.md index ab005978..bc06e7cd 100644 --- a/docs/roadmap/index.md +++ b/docs/roadmap/index.md @@ -55,7 +55,7 @@ Non-Goals Tasks -- [x] [Design the image scanning and automation API](https://github.com/fluxcd/toolkit/discussions/107) +- [x] [Design the image scanning and automation API](https://github.com/fluxcd/flux2/discussions/107) - [ ] Implement an image scanning controller - [x] Design the automation component - [ ] Implement the image scan/patch/push workflow diff --git a/go.mod b/go.mod index 3ebed003..d4fefe66 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/fluxcd/toolkit +module github.com/fluxcd/flux2 go 1.15 diff --git a/install/README.md b/install/README.md index ae152d1e..fd04a4f1 100644 --- a/install/README.md +++ b/install/README.md @@ -1,12 +1,12 @@ # flux CLI Installation Binaries for macOS and Linux AMD64 are available for download on the -[release page](https://github.com/fluxcd/toolkit/releases). +[release page](https://github.com/fluxcd/flux2/releases). To install the latest release run: ```bash -curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/install/flux.sh | sudo bash +curl -s https://raw.githubusercontent.com/fluxcd/flux2/master/install/flux.sh | sudo bash ``` The install script does the following: @@ -26,7 +26,7 @@ mv /usr/local/bin/flux /usr/local/bin/kubectl-flux Clone the repository: ```bash -git clone https://github.com/fluxcd/toolkit +git clone https://github.com/fluxcd/flux2 cd toolkit ``` diff --git a/install/flux.sh b/install/flux.sh index 103a10c0..a744187e 100755 --- a/install/flux.sh +++ b/install/flux.sh @@ -3,7 +3,7 @@ set -e DEFAULT_BIN_DIR="/usr/local/bin" BIN_DIR=${1:-"${DEFAULT_BIN_DIR}"} -GITHUB_REPO="fluxcd/toolkit" +GITHUB_REPO="fluxcd/flux2" # Helper functions for logs info() { diff --git a/internal/flags/arch.go b/internal/flags/arch.go index be34a0d6..7d39a4ea 100644 --- a/internal/flags/arch.go +++ b/internal/flags/arch.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/fluxcd/toolkit/internal/utils" + "github.com/fluxcd/flux2/internal/utils" ) var supportedArchs = []string{"amd64", "arm", "arm64"} diff --git a/internal/flags/decryption_provider.go b/internal/flags/decryption_provider.go index a8972b36..c836c849 100644 --- a/internal/flags/decryption_provider.go +++ b/internal/flags/decryption_provider.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/fluxcd/toolkit/internal/utils" + "github.com/fluxcd/flux2/internal/utils" ) var supportedDecryptionProviders = []string{"sops"} diff --git a/internal/flags/helm_chart_source.go b/internal/flags/helm_chart_source.go index 32880c7c..ed1898df 100644 --- a/internal/flags/helm_chart_source.go +++ b/internal/flags/helm_chart_source.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var supportedHelmChartSourceKinds = []string{sourcev1.HelmRepositoryKind, sourcev1.GitRepositoryKind, sourcev1.BucketKind} diff --git a/internal/flags/kustomization_source.go b/internal/flags/kustomization_source.go index 59d2d1bb..f696defa 100644 --- a/internal/flags/kustomization_source.go +++ b/internal/flags/kustomization_source.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var supportedKustomizationSourceKinds = []string{sourcev1.GitRepositoryKind, sourcev1.BucketKind} diff --git a/internal/flags/log_level.go b/internal/flags/log_level.go index 390157ec..bd880fff 100644 --- a/internal/flags/log_level.go +++ b/internal/flags/log_level.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/fluxcd/toolkit/internal/utils" + "github.com/fluxcd/flux2/internal/utils" ) var supportedLogLevels = []string{"debug", "info", "error"} diff --git a/internal/flags/source_bucket_provider.go b/internal/flags/source_bucket_provider.go index e6e6152c..e314fd9d 100644 --- a/internal/flags/source_bucket_provider.go +++ b/internal/flags/source_bucket_provider.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" + "github.com/fluxcd/flux2/internal/utils" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/internal/utils" ) var supportedSourceBucketProviders = []string{sourcev1.GenericBucketProvider, sourcev1.AmazonBucketProvider} diff --git a/mkdocs.yml b/mkdocs.yml index 42154a1f..710ba26e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,8 +3,8 @@ site_description: A toolkit for assembling GitOps pipelines on Kubernetes site_author: The Flux CD contributors site_url: https://toolkit.fluxcd.io -repo_name: fluxcd/toolkit -repo_url: https://github.com/fluxcd/toolkit +repo_name: fluxcd/flux2 +repo_url: https://github.com/fluxcd/flux2 edit_uri: "" theme: diff --git a/pkg/manifestgen/install/install.go b/pkg/manifestgen/install/install.go index e9d08aba..4438219f 100644 --- a/pkg/manifestgen/install/install.go +++ b/pkg/manifestgen/install/install.go @@ -24,7 +24,7 @@ import ( "path" "strings" - "github.com/fluxcd/toolkit/pkg/manifestgen" + "github.com/fluxcd/flux2/pkg/manifestgen" ) // Generate returns the install manifests as a multi-doc YAML. diff --git a/pkg/manifestgen/install/options.go b/pkg/manifestgen/install/options.go index e5bd0602..23057525 100644 --- a/pkg/manifestgen/install/options.go +++ b/pkg/manifestgen/install/options.go @@ -48,7 +48,7 @@ func MakeDefaultOptions() Options { WatchAllNamespaces: true, NetworkPolicy: true, LogLevel: "info", - BaseURL: "https://github.com/fluxcd/toolkit/releases", + BaseURL: "https://github.com/fluxcd/flux2/releases", NotificationController: "notification-controller", ManifestFile: "gotk-components.yaml", Timeout: time.Minute, diff --git a/pkg/manifestgen/sync/sync.go b/pkg/manifestgen/sync/sync.go index 0e25e52e..e2d3c116 100644 --- a/pkg/manifestgen/sync/sync.go +++ b/pkg/manifestgen/sync/sync.go @@ -30,7 +30,7 @@ import ( kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1beta1" sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" - "github.com/fluxcd/toolkit/pkg/manifestgen" + "github.com/fluxcd/flux2/pkg/manifestgen" ) func Generate(options Options) (*manifestgen.Manifest, error) {