From ff6a1c14bed83461e987a1f66b04fea1a566c90f Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 15 Sep 2020 15:51:55 +0200 Subject: [PATCH] Rename 'gitops-system' namespace to 'gotk-system' To align with the project name, and the group introduced in #236. --- .github/workflows/bootstrap.yaml | 8 ++-- .github/workflows/e2e.yaml | 8 ++-- cmd/gotk/install.go | 6 +-- cmd/gotk/main.go | 4 +- cmd/gotk/uninstall.go | 4 +- docs/cmd/gotk.md | 4 +- docs/cmd/gotk_bootstrap.md | 2 +- docs/cmd/gotk_bootstrap_github.md | 2 +- docs/cmd/gotk_bootstrap_gitlab.md | 2 +- docs/cmd/gotk_check.md | 2 +- docs/cmd/gotk_completion.md | 2 +- docs/cmd/gotk_completion_bash.md | 2 +- docs/cmd/gotk_completion_fish.md | 2 +- docs/cmd/gotk_completion_powershell.md | 2 +- docs/cmd/gotk_completion_zsh.md | 2 +- docs/cmd/gotk_create.md | 2 +- docs/cmd/gotk_create_helmrelease.md | 2 +- docs/cmd/gotk_create_kustomization.md | 2 +- docs/cmd/gotk_create_source.md | 2 +- docs/cmd/gotk_create_source_bucket.md | 2 +- docs/cmd/gotk_create_source_git.md | 2 +- docs/cmd/gotk_create_source_helm.md | 2 +- docs/cmd/gotk_delete.md | 2 +- docs/cmd/gotk_delete_helmrelease.md | 2 +- docs/cmd/gotk_delete_kustomization.md | 2 +- docs/cmd/gotk_delete_source.md | 2 +- docs/cmd/gotk_delete_source_bucket.md | 2 +- docs/cmd/gotk_delete_source_git.md | 2 +- docs/cmd/gotk_delete_source_helm.md | 2 +- docs/cmd/gotk_export.md | 2 +- docs/cmd/gotk_export_helmrelease.md | 2 +- docs/cmd/gotk_export_kustomization.md | 2 +- docs/cmd/gotk_export_source.md | 2 +- docs/cmd/gotk_export_source_bucket.md | 2 +- docs/cmd/gotk_export_source_git.md | 2 +- docs/cmd/gotk_export_source_helm.md | 2 +- docs/cmd/gotk_get.md | 2 +- docs/cmd/gotk_get_helmreleases.md | 2 +- docs/cmd/gotk_get_kustomizations.md | 2 +- docs/cmd/gotk_get_sources.md | 2 +- docs/cmd/gotk_get_sources_bucket.md | 2 +- docs/cmd/gotk_get_sources_git.md | 2 +- docs/cmd/gotk_get_sources_helm.md | 2 +- docs/cmd/gotk_install.md | 8 ++-- docs/cmd/gotk_reconcile.md | 2 +- docs/cmd/gotk_reconcile_helmrelease.md | 2 +- docs/cmd/gotk_reconcile_kustomization.md | 2 +- docs/cmd/gotk_reconcile_source.md | 2 +- docs/cmd/gotk_reconcile_source_bucket.md | 2 +- docs/cmd/gotk_reconcile_source_git.md | 2 +- docs/cmd/gotk_reconcile_source_helm.md | 2 +- docs/cmd/gotk_resume.md | 2 +- docs/cmd/gotk_resume_helmrelease.md | 2 +- docs/cmd/gotk_resume_kustomization.md | 2 +- docs/cmd/gotk_suspend.md | 2 +- docs/cmd/gotk_suspend_helmrelease.md | 2 +- docs/cmd/gotk_suspend_kustomization.md | 2 +- docs/cmd/gotk_uninstall.md | 6 +-- docs/dev-guides/source-watcher.md | 6 +-- docs/get-started/index.md | 22 +++++----- docs/guides/helmreleases.md | 20 ++++----- docs/guides/installation.md | 42 +++++++++---------- docs/guides/mozilla-sops.md | 10 ++--- docs/guides/notifications.md | 16 +++---- docs/guides/sealed-secrets.md | 12 +++--- docs/guides/webhook-receivers.md | 12 +++--- manifests/install/kustomization.yaml | 2 +- manifests/install/labels.yaml | 2 +- manifests/install/namespace.yaml | 2 +- .../grafana/dashboards/control-plane.json | 4 +- manifests/monitoring/grafana/datasources.yaml | 2 +- .../monitoring/grafana/kustomization.yaml | 2 +- manifests/monitoring/grafana/providers.yaml | 2 +- manifests/monitoring/grafana/service.yaml | 2 +- manifests/monitoring/kustomization.yaml | 2 +- manifests/monitoring/prometheus/account.yaml | 2 +- .../monitoring/prometheus/deployment.yaml | 2 +- .../monitoring/prometheus/kustomization.yaml | 2 +- manifests/monitoring/prometheus/rbac.yaml | 8 ++-- manifests/monitoring/prometheus/service.yaml | 2 +- 80 files changed, 162 insertions(+), 162 deletions(-) diff --git a/.github/workflows/bootstrap.yaml b/.github/workflows/bootstrap.yaml index 3bd248f3..b4f8748a 100644 --- a/.github/workflows/bootstrap.yaml +++ b/.github/workflows/bootstrap.yaml @@ -47,7 +47,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITPROVIDER_BOT_TOKEN }} - name: uninstall run: | - ./bin/gotk suspend kustomization gitops-system + ./bin/gotk suspend kustomization gotk-system ./bin/gotk uninstall --resources --crds -s - name: bootstrap reinstall run: | @@ -69,6 +69,6 @@ jobs: - name: Debug failure if: failure() run: | - kubectl -n gitops-system get all - kubectl -n gitops-system logs deploy/source-controller - kubectl -n gitops-system logs deploy/kustomize-controller + kubectl -n gotk-system get all + kubectl -n gotk-system logs deploy/source-controller + kubectl -n gotk-system logs deploy/kustomize-controller diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index cdbdebb5..fae83adb 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -127,7 +127,7 @@ jobs: if: failure() run: | kubectl version --client --short - kubectl -n gitops-system get all - kubectl -n gitops-system get kustomizations -oyaml - kubectl -n gitops-system logs deploy/source-controller - kubectl -n gitops-system logs deploy/kustomize-controller + kubectl -n gotk-system get all + kubectl -n gotk-system get kustomizations -oyaml + kubectl -n gotk-system logs deploy/source-controller + kubectl -n gotk-system logs deploy/kustomize-controller diff --git a/cmd/gotk/install.go b/cmd/gotk/install.go index 2df82885..bf2a5133 100644 --- a/cmd/gotk/install.go +++ b/cmd/gotk/install.go @@ -39,8 +39,8 @@ var installCmd = &cobra.Command{ Short: "Install the toolkit components", Long: `The install command deploys the toolkit components in the specified namespace. If a previous version is installed, then an in-place upgrade will be performed.`, - Example: ` # Install the latest version in the gitops-systems namespace - gotk install --version=latest --namespace=gitops-systems + Example: ` # Install the latest version in the gotk-system namespace + gotk install --version=latest --namespace=gotk-system # Dry-run install for a specific version and a series of components gotk install --dry-run --version=v0.0.7 --components="source-controller,kustomize-controller" @@ -49,7 +49,7 @@ If a previous version is installed, then an in-place upgrade will be performed.` gotk install --dry-run --verbose # Write install manifests to file - gotk install --export > gitops-system.yaml + gotk install --export > gotk-system.yaml `, RunE: installCmdRun, } diff --git a/cmd/gotk/main.go b/cmd/gotk/main.go index 6446596b..491c31fb 100644 --- a/cmd/gotk/main.go +++ b/cmd/gotk/main.go @@ -56,7 +56,7 @@ var rootCmd = &cobra.Command{ gotk get sources git # Trigger a GitRepository source reconciliation - gotk reconcile source git gitops-system + gotk reconcile source git gotk-system # Export GitRepository sources in YAML format gotk export source git --all > sources.yaml @@ -108,7 +108,7 @@ var ( var ( defaultComponents = []string{"source-controller", "kustomize-controller", "helm-controller", "notification-controller"} defaultVersion = "latest" - defaultNamespace = "gitops-system" + defaultNamespace = "gotk-system" defaultNotification = "notification-controller" supportedLogLevels = []string{"debug", "info", "error"} supportedArch = []string{"amd64", "arm", "arm64"} diff --git a/cmd/gotk/uninstall.go b/cmd/gotk/uninstall.go index 20e6340e..47fb7a55 100644 --- a/cmd/gotk/uninstall.go +++ b/cmd/gotk/uninstall.go @@ -33,10 +33,10 @@ var uninstallCmd = &cobra.Command{ Short: "Uninstall the toolkit components", Long: "The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs from the cluster.", Example: ` # Dry-run uninstall of all components - gotk uninstall --dry-run --namespace=gitops-system + gotk uninstall --dry-run --namespace=gotk-system # Uninstall all components and delete custom resource definitions - gotk uninstall --resources --crds --namespace=gitops-system + gotk uninstall --resources --crds --namespace=gotk-system `, RunE: uninstallCmdRun, } diff --git a/docs/cmd/gotk.md b/docs/cmd/gotk.md index 7c4c8d60..09adf7b6 100644 --- a/docs/cmd/gotk.md +++ b/docs/cmd/gotk.md @@ -25,7 +25,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. gotk get sources git # Trigger a GitRepository source reconciliation - gotk reconcile source git gitops-system + gotk reconcile source git gotk-system # Export GitRepository sources in YAML format gotk export source git --all > sources.yaml @@ -69,7 +69,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. ``` -h, --help help for gotk --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_bootstrap.md b/docs/cmd/gotk_bootstrap.md index 3ef57578..79a34f8c 100644 --- a/docs/cmd/gotk_bootstrap.md +++ b/docs/cmd/gotk_bootstrap.md @@ -24,7 +24,7 @@ The bootstrap sub-commands bootstrap the toolkit components on the targeted Git ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_bootstrap_github.md b/docs/cmd/gotk_bootstrap_github.md index fd04d8d8..7e06aae0 100644 --- a/docs/cmd/gotk_bootstrap_github.md +++ b/docs/cmd/gotk_bootstrap_github.md @@ -63,7 +63,7 @@ gotk bootstrap github [flags] --image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --log-level string set the controllers log level (default "info") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --registry string container registry where the toolkit images are published (default "ghcr.io/fluxcd") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_bootstrap_gitlab.md b/docs/cmd/gotk_bootstrap_gitlab.md index ba9bae82..24ebd006 100644 --- a/docs/cmd/gotk_bootstrap_gitlab.md +++ b/docs/cmd/gotk_bootstrap_gitlab.md @@ -60,7 +60,7 @@ gotk bootstrap gitlab [flags] --image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --log-level string set the controllers log level (default "info") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --registry string container registry where the toolkit images are published (default "ghcr.io/fluxcd") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_check.md b/docs/cmd/gotk_check.md index 0da685e4..6d306cf7 100644 --- a/docs/cmd/gotk_check.md +++ b/docs/cmd/gotk_check.md @@ -34,7 +34,7 @@ gotk check [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_completion.md b/docs/cmd/gotk_completion.md index b3348e3e..a164ee1f 100644 --- a/docs/cmd/gotk_completion.md +++ b/docs/cmd/gotk_completion.md @@ -16,7 +16,7 @@ The completion sub-command generates completion scripts for various shells ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_completion_bash.md b/docs/cmd/gotk_completion_bash.md index 451b690d..3ee55e9d 100644 --- a/docs/cmd/gotk_completion_bash.md +++ b/docs/cmd/gotk_completion_bash.md @@ -34,7 +34,7 @@ command -v gotk >/dev/null && . <(gotk completion bash) ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_completion_fish.md b/docs/cmd/gotk_completion_fish.md index 39bf5760..eb8ecae1 100644 --- a/docs/cmd/gotk_completion_fish.md +++ b/docs/cmd/gotk_completion_fish.md @@ -35,7 +35,7 @@ See http://fishshell.com/docs/current/index.html#completion-own for more details ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_completion_powershell.md b/docs/cmd/gotk_completion_powershell.md index 67c3982d..d1a5fe76 100644 --- a/docs/cmd/gotk_completion_powershell.md +++ b/docs/cmd/gotk_completion_powershell.md @@ -41,7 +41,7 @@ gotk completion >> gotk-completions.ps1 ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_completion_zsh.md b/docs/cmd/gotk_completion_zsh.md index 2bfb7f36..e931e044 100644 --- a/docs/cmd/gotk_completion_zsh.md +++ b/docs/cmd/gotk_completion_zsh.md @@ -42,7 +42,7 @@ mv _gotk ~/.zprezto/modules/completion/external/src/ # zprezto ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create.md b/docs/cmd/gotk_create.md index 30b55ac1..e433c236 100644 --- a/docs/cmd/gotk_create.md +++ b/docs/cmd/gotk_create.md @@ -19,7 +19,7 @@ The create sub-commands generate sources and resources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_helmrelease.md b/docs/cmd/gotk_create_helmrelease.md index 052a2c30..06eec731 100644 --- a/docs/cmd/gotk_create_helmrelease.md +++ b/docs/cmd/gotk_create_helmrelease.md @@ -79,7 +79,7 @@ gotk create helmrelease [name] [flags] --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_kustomization.md b/docs/cmd/gotk_create_kustomization.md index b42eee1a..d9fc2cd0 100644 --- a/docs/cmd/gotk_create_kustomization.md +++ b/docs/cmd/gotk_create_kustomization.md @@ -65,7 +65,7 @@ gotk create kustomization [name] [flags] --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_source.md b/docs/cmd/gotk_create_source.md index 642977a8..2871da88 100644 --- a/docs/cmd/gotk_create_source.md +++ b/docs/cmd/gotk_create_source.md @@ -19,7 +19,7 @@ The create source sub-commands generate sources. --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_source_bucket.md b/docs/cmd/gotk_create_source_bucket.md index 76c3a543..6eb56c78 100644 --- a/docs/cmd/gotk_create_source_bucket.md +++ b/docs/cmd/gotk_create_source_bucket.md @@ -54,7 +54,7 @@ gotk create source bucket [name] [flags] --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_source_git.md b/docs/cmd/gotk_create_source_git.md index 91c80960..e0be5c48 100644 --- a/docs/cmd/gotk_create_source_git.md +++ b/docs/cmd/gotk_create_source_git.md @@ -74,7 +74,7 @@ gotk create source git [name] [flags] --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_create_source_helm.md b/docs/cmd/gotk_create_source_helm.md index 84d55ce4..5470e180 100644 --- a/docs/cmd/gotk_create_source_helm.md +++ b/docs/cmd/gotk_create_source_helm.md @@ -54,7 +54,7 @@ gotk create source helm [name] [flags] --interval duration source sync interval (default 1m0s) --kubeconfig string path to the kubeconfig file (default "~/.kube/config") --label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2) - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_delete.md b/docs/cmd/gotk_delete.md index dec228b7..5f92dacc 100644 --- a/docs/cmd/gotk_delete.md +++ b/docs/cmd/gotk_delete.md @@ -17,7 +17,7 @@ The delete sub-commands delete sources and resources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_delete_helmrelease.md b/docs/cmd/gotk_delete_helmrelease.md index 9ceaf7e6..a8d54423 100644 --- a/docs/cmd/gotk_delete_helmrelease.md +++ b/docs/cmd/gotk_delete_helmrelease.md @@ -28,7 +28,7 @@ gotk delete helmrelease [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_delete_kustomization.md b/docs/cmd/gotk_delete_kustomization.md index c0c3d2f3..a76da60b 100644 --- a/docs/cmd/gotk_delete_kustomization.md +++ b/docs/cmd/gotk_delete_kustomization.md @@ -28,7 +28,7 @@ gotk delete kustomization [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_delete_source.md b/docs/cmd/gotk_delete_source.md index 9626c113..3088dbe3 100644 --- a/docs/cmd/gotk_delete_source.md +++ b/docs/cmd/gotk_delete_source.md @@ -16,7 +16,7 @@ The delete source sub-commands delete sources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_delete_source_bucket.md b/docs/cmd/gotk_delete_source_bucket.md index 8241acb9..7745e5cb 100644 --- a/docs/cmd/gotk_delete_source_bucket.md +++ b/docs/cmd/gotk_delete_source_bucket.md @@ -28,7 +28,7 @@ gotk delete source bucket [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_delete_source_git.md b/docs/cmd/gotk_delete_source_git.md index 6f312458..e21426a6 100644 --- a/docs/cmd/gotk_delete_source_git.md +++ b/docs/cmd/gotk_delete_source_git.md @@ -28,7 +28,7 @@ gotk delete source git [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_delete_source_helm.md b/docs/cmd/gotk_delete_source_helm.md index 955508b1..a095c255 100644 --- a/docs/cmd/gotk_delete_source_helm.md +++ b/docs/cmd/gotk_delete_source_helm.md @@ -28,7 +28,7 @@ gotk delete source helm [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") -s, --silent delete resource without asking for confirmation --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects diff --git a/docs/cmd/gotk_export.md b/docs/cmd/gotk_export.md index 2f9898e1..6c01e19b 100644 --- a/docs/cmd/gotk_export.md +++ b/docs/cmd/gotk_export.md @@ -17,7 +17,7 @@ The export sub-commands export resources in YAML format. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_export_helmrelease.md b/docs/cmd/gotk_export_helmrelease.md index 7c76144e..779efdf7 100644 --- a/docs/cmd/gotk_export_helmrelease.md +++ b/docs/cmd/gotk_export_helmrelease.md @@ -32,7 +32,7 @@ gotk export helmrelease [name] [flags] ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_export_kustomization.md b/docs/cmd/gotk_export_kustomization.md index a70565e7..b9c14339 100644 --- a/docs/cmd/gotk_export_kustomization.md +++ b/docs/cmd/gotk_export_kustomization.md @@ -32,7 +32,7 @@ gotk export kustomization [name] [flags] ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_export_source.md b/docs/cmd/gotk_export_source.md index d80fc828..63278d5b 100644 --- a/docs/cmd/gotk_export_source.md +++ b/docs/cmd/gotk_export_source.md @@ -18,7 +18,7 @@ The export source sub-commands export sources in YAML format. ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_export_source_bucket.md b/docs/cmd/gotk_export_source_bucket.md index 2d0edc78..83b1b4fb 100644 --- a/docs/cmd/gotk_export_source_bucket.md +++ b/docs/cmd/gotk_export_source_bucket.md @@ -32,7 +32,7 @@ gotk export source bucket [name] [flags] ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects --with-credentials include credential secrets diff --git a/docs/cmd/gotk_export_source_git.md b/docs/cmd/gotk_export_source_git.md index 2eff4dff..f823d149 100644 --- a/docs/cmd/gotk_export_source_git.md +++ b/docs/cmd/gotk_export_source_git.md @@ -32,7 +32,7 @@ gotk export source git [name] [flags] ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects --with-credentials include credential secrets diff --git a/docs/cmd/gotk_export_source_helm.md b/docs/cmd/gotk_export_source_helm.md index 2921eab8..8bde4a57 100644 --- a/docs/cmd/gotk_export_source_helm.md +++ b/docs/cmd/gotk_export_source_helm.md @@ -32,7 +32,7 @@ gotk export source helm [name] [flags] ``` --all select all resources --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects --with-credentials include credential secrets diff --git a/docs/cmd/gotk_get.md b/docs/cmd/gotk_get.md index d0f86a11..96ad2b70 100644 --- a/docs/cmd/gotk_get.md +++ b/docs/cmd/gotk_get.md @@ -16,7 +16,7 @@ The get sub-commands print the statuses of sources and resources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_helmreleases.md b/docs/cmd/gotk_get_helmreleases.md index c251f3a3..09edcbd5 100644 --- a/docs/cmd/gotk_get_helmreleases.md +++ b/docs/cmd/gotk_get_helmreleases.md @@ -28,7 +28,7 @@ gotk get helmreleases [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_kustomizations.md b/docs/cmd/gotk_get_kustomizations.md index 56f93111..d90846c7 100644 --- a/docs/cmd/gotk_get_kustomizations.md +++ b/docs/cmd/gotk_get_kustomizations.md @@ -28,7 +28,7 @@ gotk get kustomizations [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_sources.md b/docs/cmd/gotk_get_sources.md index 5cae4a07..3e649901 100644 --- a/docs/cmd/gotk_get_sources.md +++ b/docs/cmd/gotk_get_sources.md @@ -16,7 +16,7 @@ The get source sub-commands print the statuses of the sources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_sources_bucket.md b/docs/cmd/gotk_get_sources_bucket.md index bf748ed6..ab0ab9bc 100644 --- a/docs/cmd/gotk_get_sources_bucket.md +++ b/docs/cmd/gotk_get_sources_bucket.md @@ -28,7 +28,7 @@ gotk get sources bucket [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_sources_git.md b/docs/cmd/gotk_get_sources_git.md index a4d9f73f..e6e51cb1 100644 --- a/docs/cmd/gotk_get_sources_git.md +++ b/docs/cmd/gotk_get_sources_git.md @@ -28,7 +28,7 @@ gotk get sources git [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_get_sources_helm.md b/docs/cmd/gotk_get_sources_helm.md index 277192e1..54de0b4f 100644 --- a/docs/cmd/gotk_get_sources_helm.md +++ b/docs/cmd/gotk_get_sources_helm.md @@ -28,7 +28,7 @@ gotk get sources helm [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_install.md b/docs/cmd/gotk_install.md index 35aec08d..e719a219 100644 --- a/docs/cmd/gotk_install.md +++ b/docs/cmd/gotk_install.md @@ -14,8 +14,8 @@ gotk install [flags] ### Examples ``` - # Install the latest version in the gitops-systems namespace - gotk install --version=latest --namespace=gitops-systems + # Install the latest version in the gotk-system namespace + gotk install --version=latest --namespace=gotk-system # Dry-run install for a specific version and a series of components gotk install --dry-run --version=v0.0.7 --components="source-controller,kustomize-controller" @@ -24,7 +24,7 @@ gotk install [flags] gotk install --dry-run --verbose # Write install manifests to file - gotk install --export > gitops-system.yaml + gotk install --export > gotk-system.yaml ``` @@ -47,7 +47,7 @@ gotk install [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile.md b/docs/cmd/gotk_reconcile.md index 96a4ede3..52e41d7a 100644 --- a/docs/cmd/gotk_reconcile.md +++ b/docs/cmd/gotk_reconcile.md @@ -16,7 +16,7 @@ The reconcile sub-commands trigger a reconciliation of sources and resources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_helmrelease.md b/docs/cmd/gotk_reconcile_helmrelease.md index 2729d6f4..ca53dc50 100644 --- a/docs/cmd/gotk_reconcile_helmrelease.md +++ b/docs/cmd/gotk_reconcile_helmrelease.md @@ -33,7 +33,7 @@ gotk reconcile helmrelease [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_kustomization.md b/docs/cmd/gotk_reconcile_kustomization.md index 3e19cc11..d455e02b 100644 --- a/docs/cmd/gotk_reconcile_kustomization.md +++ b/docs/cmd/gotk_reconcile_kustomization.md @@ -33,7 +33,7 @@ gotk reconcile kustomization [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_source.md b/docs/cmd/gotk_reconcile_source.md index 56310014..b731d111 100644 --- a/docs/cmd/gotk_reconcile_source.md +++ b/docs/cmd/gotk_reconcile_source.md @@ -16,7 +16,7 @@ The reconcile source sub-commands trigger a reconciliation of sources. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_source_bucket.md b/docs/cmd/gotk_reconcile_source_bucket.md index ed801c63..93372d24 100644 --- a/docs/cmd/gotk_reconcile_source_bucket.md +++ b/docs/cmd/gotk_reconcile_source_bucket.md @@ -28,7 +28,7 @@ gotk reconcile source bucket [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_source_git.md b/docs/cmd/gotk_reconcile_source_git.md index d72ac912..9402e29d 100644 --- a/docs/cmd/gotk_reconcile_source_git.md +++ b/docs/cmd/gotk_reconcile_source_git.md @@ -28,7 +28,7 @@ gotk reconcile source git [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_reconcile_source_helm.md b/docs/cmd/gotk_reconcile_source_helm.md index a5099808..fc78ab81 100644 --- a/docs/cmd/gotk_reconcile_source_helm.md +++ b/docs/cmd/gotk_reconcile_source_helm.md @@ -28,7 +28,7 @@ gotk reconcile source helm [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_resume.md b/docs/cmd/gotk_resume.md index 198b4231..451681e0 100644 --- a/docs/cmd/gotk_resume.md +++ b/docs/cmd/gotk_resume.md @@ -16,7 +16,7 @@ The resume sub-commands resume a suspended resource. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_resume_helmrelease.md b/docs/cmd/gotk_resume_helmrelease.md index 8fbfc7d2..ac17e18d 100644 --- a/docs/cmd/gotk_resume_helmrelease.md +++ b/docs/cmd/gotk_resume_helmrelease.md @@ -29,7 +29,7 @@ gotk resume helmrelease [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_resume_kustomization.md b/docs/cmd/gotk_resume_kustomization.md index 9d01fd55..c1ca0074 100644 --- a/docs/cmd/gotk_resume_kustomization.md +++ b/docs/cmd/gotk_resume_kustomization.md @@ -29,7 +29,7 @@ gotk resume kustomization [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_suspend.md b/docs/cmd/gotk_suspend.md index a51d1a95..957cf606 100644 --- a/docs/cmd/gotk_suspend.md +++ b/docs/cmd/gotk_suspend.md @@ -16,7 +16,7 @@ The suspend sub-commands suspend the reconciliation of a resource. ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_suspend_helmrelease.md b/docs/cmd/gotk_suspend_helmrelease.md index 3f627874..93c4c6d3 100644 --- a/docs/cmd/gotk_suspend_helmrelease.md +++ b/docs/cmd/gotk_suspend_helmrelease.md @@ -28,7 +28,7 @@ gotk suspend helmrelease [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_suspend_kustomization.md b/docs/cmd/gotk_suspend_kustomization.md index ae05302e..0243112b 100644 --- a/docs/cmd/gotk_suspend_kustomization.md +++ b/docs/cmd/gotk_suspend_kustomization.md @@ -28,7 +28,7 @@ gotk suspend kustomization [name] [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/cmd/gotk_uninstall.md b/docs/cmd/gotk_uninstall.md index b5f9e0e9..33df8898 100644 --- a/docs/cmd/gotk_uninstall.md +++ b/docs/cmd/gotk_uninstall.md @@ -14,10 +14,10 @@ gotk uninstall [flags] ``` # Dry-run uninstall of all components - gotk uninstall --dry-run --namespace=gitops-system + gotk uninstall --dry-run --namespace=gotk-system # Uninstall all components and delete custom resource definitions - gotk uninstall --resources --crds --namespace=gitops-system + gotk uninstall --resources --crds --namespace=gotk-system ``` @@ -35,7 +35,7 @@ gotk uninstall [flags] ``` --kubeconfig string path to the kubeconfig file (default "~/.kube/config") - -n, --namespace string the namespace scope for this operation (default "gitops-system") + -n, --namespace string the namespace scope for this operation (default "gotk-system") --timeout duration timeout for this operation (default 5m0s) --verbose print generated objects ``` diff --git a/docs/dev-guides/source-watcher.md b/docs/dev-guides/source-watcher.md index aaced8d5..0c2f9cac 100644 --- a/docs/dev-guides/source-watcher.md +++ b/docs/dev-guides/source-watcher.md @@ -66,7 +66,7 @@ make Port forward to source-controller artifacts server: ```sh -kubectl -n gitops-system port-forward svc/source-controller 8181:80 +kubectl -n gotk-system port-forward svc/source-controller 8181:80 ``` Export the local address as `SOURCE_HOST`: @@ -92,7 +92,7 @@ gotk create source git test \ The source-watcher should log the revision: ```console -New revision detected {"gitrepository": "gitops-system/test", "revision": "4.0.0/ab953493ee14c3c9800bda0251e0c507f9741408"} +New revision detected {"gitrepository": "gotk-system/test", "revision": "4.0.0/ab953493ee14c3c9800bda0251e0c507f9741408"} Extracted tarball into /var/folders/77/3y6x_p2j2g9fspdkzjbm5_s40000gn/T/test292235827: 123 files, 29 dirs (32.603415ms) Processing files... ``` @@ -108,7 +108,7 @@ gotk create source git test \ The source-watcher should log the new revision: ```console -New revision detected {"gitrepository": "gitops-system/test", "revision": "4.0.1/113360052b3153e439a0cf8de76b8e3d2a7bdf27"} +New revision detected {"gitrepository": "gotk-system/test", "revision": "4.0.1/113360052b3153e439a0cf8de76b8e3d2a7bdf27"} ``` The source-controller reports the revision under `GitRepository.Status.Artifact.Revision` in the format: `/`. diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 5dcb8411..4b6e0d1a 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -113,7 +113,7 @@ $ gotk bootstrap github --owner=gitopsrun --repository=fleet-infra --path=stagin ✔ repository cloned ✚ generating manifests ✔ components manifests pushed -► installing components in gitops-system namespace +► installing components in gotk-system namespace deployment "source-controller" successfully rolled out deployment "kustomize-controller" successfully rolled out deployment "notification-controller" successfully rolled out @@ -208,10 +208,10 @@ In about 30s the synchronization should start: ```console $ watch gotk get kustomizations -✔ gitops-system last applied revision master/35d5765a1acb9e9ce66cad7274c6fe03eee1e8eb +✔ gotk-system last applied revision master/35d5765a1acb9e9ce66cad7274c6fe03eee1e8eb ✔ webapp-backend reconciling ✔ webapp-common last applied revision master/f43f9b2eb6766e07f318d266a99d2ec7c940b0cf -✗ webapp-frontend dependency 'gitops-system/webapp-backend' is not ready +✗ webapp-frontend dependency 'gotk-system/webapp-backend' is not ready ``` When the synchronization finishes you can check that the webapp services are running: @@ -307,22 +307,22 @@ List git sources: ```console $ gotk get sources git -✔ gitops-system last fetched revision master/99072ee132abdead8b7799d7891eae2f524eb73d +✔ gotk-system last fetched revision master/99072ee132abdead8b7799d7891eae2f524eb73d ✔ webapp last fetched revision 4.0.1/113360052b3153e439a0cf8de76b8e3d2a7bdf27 ``` -The kubectl equivalent is `kubectl -n gitops-system get gitrepositories`. +The kubectl equivalent is `kubectl -n gotk-system get gitrepositories`. List kustomization: ```console $ gotk get kustomizations -✔ gitops-system last applied revision master/99072ee132abdead8b7799d7891eae2f524eb73d +✔ gotk-system last applied revision master/99072ee132abdead8b7799d7891eae2f524eb73d ✔ webapp last applied revision 4.0.1/113360052b3153e439a0cf8de76b8e3d2a7bdf27 ``` -The kubectl equivalent is `kubectl -n gitops-system get kustomizations`. +The kubectl equivalent is `kubectl -n gotk-system get kustomizations`. If you want to upgrade to the latest 4.x version, you can change the semver expression to: @@ -339,9 +339,9 @@ git add -A && git commit -m "update prod webapp" && git push Trigger a git sync: ```console -$ gotk reconcile ks gitops-system --with-source +$ gotk reconcile ks gotk-system --with-source -► annotating source gitops-system +► annotating source gotk-system ✔ source annotated ◎ waiting for reconcilitation ✔ git reconciliation completed @@ -351,13 +351,13 @@ $ gotk reconcile ks gitops-system --with-source ✔ applied revision master/d751ea264d48bf0db8b588d1d08184834ac8fec9 ``` -The kubectl equivalent is `kubectl -n gitops-system annotate gitrepository/gitops-system fluxcd.io/reconcileAt="$(date +%s)"`. +The kubectl equivalent is `kubectl -n gotk-system annotate gitrepository/gotk-system fluxcd.io/reconcileAt="$(date +%s)"`. Wait for the webapp to be upgraded: ```console $ watch gotk get kustomizations -✔ gitops-system last applied revision master/d751ea264d48bf0db8b588d1d08184834ac8fec9 +✔ gotk-system last applied revision master/d751ea264d48bf0db8b588d1d08184834ac8fec9 ✔ webapp last applied revision 4.0.5/f43f9b2eb6766e07f318d266a99d2ec7c940b0cf ``` diff --git a/docs/guides/helmreleases.md b/docs/guides/helmreleases.md index c392c58d..73cd7148 100644 --- a/docs/guides/helmreleases.md +++ b/docs/guides/helmreleases.md @@ -21,8 +21,8 @@ To be able to release a Helm chart, the source that contains the chart the source-controller, so that the `HelmRelease` can reference to it. A cluster administrator should register trusted sources by creating -the resources in the `gitops-system` namespace. By default, the -source-controller watches for sources only in the `gitops-system` +the resources in the `gotk-system` namespace. By default, the +source-controller watches for sources only in the `gotk-system` namespace, this way cluster admins can prevent untrusted sources from being registered by users. @@ -42,7 +42,7 @@ apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmRepository metadata: name: podinfo - namespace: gitops-system + namespace: gotk-system spec: interval: 1m url: https://stefanprodan.github.io/podinfo @@ -86,7 +86,7 @@ apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: podinfo - namespace: gitops-system + namespace: gotk-system spec: interval: 1m url: https://github.com/stefanprodan/podinfo @@ -142,7 +142,7 @@ spec: sourceRef: kind: name: podinfo - namespace: gitops-system + namespace: gotk-system interval: 1m values: replicaCount: 2 @@ -221,7 +221,7 @@ broadcast events to the [notification-controller](../components/notification/con To receive the events as notifications, a `Provider` needs to be setup first as described in the [notifications guide](notifications.md#define-a-provider). Once you have set up the `Provider`, create a new `Alert` resource in -the `gitops-system` to start receiving notifications about the Helm +the `gotk-system` to start receiving notifications about the Helm release: ```yaml @@ -230,7 +230,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 metadata: generation: 2 name: helm-podinfo - namespace: gitops-system + namespace: gotk-system spec: providerRef: name: slack @@ -260,7 +260,7 @@ First generate a random string and create a secret with a `token` field: TOKEN=$(head -c 12 /dev/urandom | shasum | cut -d ' ' -f1) echo $TOKEN -kubectl -n gitops-system create secret generic webhook-token \ +kubectl -n gotk-system create secret generic webhook-token \ --from-literal=token=$TOKEN ``` @@ -271,7 +271,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Receiver metadata: name: helm-podinfo - namespace: gitops-system + namespace: gotk-system spec: type: harbor secretRef: @@ -286,7 +286,7 @@ The notification-controller generates a unique URL using the provided token and Find the URL with: ```console -$ kubectl -n gitops-system get receiver/helm-podinfo +$ kubectl -n gotk-system get receiver/helm-podinfo NAME READY STATUS helm-podinfo True Receiver initialised with URL: /hook/bed6d00b5555b1603e1f59b94d7fdbca58089cb5663633fb83f2815dc626d92b diff --git a/docs/guides/installation.md b/docs/guides/installation.md index fc91ecf6..341556fa 100644 --- a/docs/guides/installation.md +++ b/docs/guides/installation.md @@ -75,12 +75,12 @@ cluster e.g. `staging-cluster` and `production-cluster`: ```sh ├── staging-cluster # <- path=staging-cluster -│   └── gitops-system # <- namespace dir generated by bootstrap +│   └── gotk-system # <- namespace dir generated by bootstrap │   ├── toolkit-components.yaml │   ├── toolkit-kustomization.yaml │   └── toolkit-source.yaml └── production-cluster # <- path=production-cluster - └── gitops-system + └── gotk-system ``` !!! hint "Change the default branch" @@ -185,7 +185,7 @@ cd my-repository Create a directory inside the repository: ```sh -mkdir -p ./my-cluster/gitops-system +mkdir -p ./my-cluster/gotk-system ``` Generate the toolkit manifests with: @@ -193,7 +193,7 @@ Generate the toolkit manifests with: ```sh gotk install --version=latest \ --arch=amd64 \ # on ARM64/AARCH64 clusters use --arch=arm64 - --export > ./my-cluster/gitops-system/toolkit-components.yaml + --export > ./my-cluster/gotk-system/toolkit-components.yaml ``` If your cluster must pull images from a private container registry, first you should pull @@ -205,12 +205,12 @@ docker tag ghcr.io/fluxcd/source-controller:v0.0.14 registry.internal/fluxcd/sou docker push registry.internal/fluxcd/source-controller:v0.0.14 ``` -Create the pull secret in the `gitops-system` namespace: +Create the pull secret in the `gotk-system` namespace: ```sh -kubectl create ns gitops-system +kubectl create ns gotk-system -kubectl -n gitops-system create secret generic regcred \ +kubectl -n gotk-system create secret generic regcred \ --from-file=.dockerconfigjson=/.docker/config.json \ --type=kubernetes.io/dockerconfigjson ``` @@ -221,7 +221,7 @@ Set your registry domain, and the pull secret when generating the manifests: gotk install --version=latest \ --registry=registry.internal/fluxcd \ --image-pull-secret=regcred \ - --export > ./my-cluster/gitops-system/toolkit-components.yaml + --export > ./my-cluster/gotk-system/toolkit-components.yaml ``` Commit and push the manifest to the master branch: @@ -233,7 +233,7 @@ git add -A && git commit -m "add toolkit manifests" && git push Apply the manifests on your cluster: ```sh -kubectl apply -f ./my-cluster/gitops-system/toolkit-components.yaml +kubectl apply -f ./my-cluster/gotk-system/toolkit-components.yaml ``` Verify that the toolkit controllers have started: @@ -245,7 +245,7 @@ gotk check Create a `GitRepository` object on your cluster by specifying the SSH address of your repo: ```sh -gotk create source git gitops-system \ +gotk create source git gotk-system \ --url= ssh:////my-repository \ --ssh-key-algorithm=ecdsa \ --ssh-ecdsa-curve=p521 \ @@ -259,7 +259,7 @@ If you don't specify the SSH algorithm, then gotk will generate an RSA 2048 bits If your Git server supports basic auth, you can set the URL to HTTPS and specify the credentials with: ```sh -gotk create source git gitops-system \ +gotk create source git gotk-system \ --url=https:////my-repository \ --username=my-username \ --password=my-password \ @@ -270,8 +270,8 @@ gotk create source git gitops-system \ Create a `Kustomization` object on your cluster: ```sh -gotk create kustomization gitops-system \ - --source=gitops-system \ +gotk create kustomization gotk-system \ + --source=gotk-system \ --path="./my-cluster" \ --prune=true \ --interval=10m @@ -280,11 +280,11 @@ gotk create kustomization gitops-system \ Export both objects, commit and push the manifests to Git: ```sh -gotk export source git gitops-system \ - > ./my-cluster/gitops-system/toolkit-source.yaml +gotk export source git gotk-system \ + > ./my-cluster/gotk-system/toolkit-source.yaml -gotk export kustomization gitops-system \ - > ./my-cluster/gitops-system/toolkit-kustomization.yaml +gotk export kustomization gotk-system \ + > ./my-cluster/gotk-system/toolkit-kustomization.yaml git add -A && git commit -m "add toolkit reconciliation" && git push ``` @@ -293,7 +293,7 @@ To upgrade the toolkit to a newer version, run the install command and commit th ```sh gotk install --version=latest \ - --export > ./my-cluster/gitops-system/toolkit-components.yaml + --export > ./my-cluster/gotk-system/toolkit-components.yaml git add -A && git commit -m "update toolkit" && git push ``` @@ -347,7 +347,7 @@ gotk create source helm stable \ gotk create helmrelease sealed-secrets \ --interval=1h \ --release-name=sealed-secrets \ ---target-namespace=gitops-system \ +--target-namespace=gotk-system \ --source=HelmRepository/stable \ --chart=sealed-secrets \ --chart-version="1.10.x" @@ -356,7 +356,7 @@ gotk create helmrelease sealed-secrets \ ## Monitoring with Prometheus and Grafana The GitOps Toolkit comes with an optional monitoring stack. -You can install the stack in the `gitops-system` namespace with: +You can install the stack in the `gotk-system` namespace with: ```yaml kustomize build github.com/fluxcd/toolkit/manifests/monitoring?ref=master | kubectl apply -f- @@ -377,7 +377,7 @@ If you wish to use your own Prometheus and Grafana instances, then you can impor !!! hint Note that the toolkit controllers expose the `/metrics` endpoint on port `8080`. When using Prometheus Operator you should create `PodMonitor` objects to configure scraping. - When Prometheus is running outside of the `gitops-system` namespace, you have to create a network policy + When Prometheus is running outside of the `gotk-system` namespace, you have to create a network policy that allows traffic on port `8080` from the namespace where Prometheus is deployed. ## Uninstall diff --git a/docs/guides/mozilla-sops.md b/docs/guides/mozilla-sops.md index b210a933..f971e154 100644 --- a/docs/guides/mozilla-sops.md +++ b/docs/guides/mozilla-sops.md @@ -41,13 +41,13 @@ sec rsa3072 2020-09-06 [SC] ``` Export the public and private keypair from your local GPG keyring and -create a Kubernetes secret named `sops-gpg` in the `gitops-system` namespace: +create a Kubernetes secret named `sops-gpg` in the `gotk-system` namespace: ```sh gpg --export-secret-keys \ --armor 1F3D1CED2F865F5E59CA564553241F147E7C5FA4 | kubectl create secret generic sops-gpg \ ---namespace=gitops-system \ +--namespace=gotk-system \ --from-file=sops.asc=/dev/stdin ``` @@ -104,7 +104,7 @@ secrets by iterating over all the private keys until it finds one that works. !!! hint KMS When using AWS/GCP KMS or Azure Key Vault, you'll have to bind an IAM Role with read access to the KMS keys to the `default` service account of the - `gitops-system` namespace for kustomize-controller to be able to fetch + `gotk-system` namespace for kustomize-controller to be able to fetch keys from KMS. ## GitOps workflow @@ -119,7 +119,7 @@ apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: my-secrets - namespace: gitops-system + namespace: gotk-system spec: interval: 1m url: https://github.com/my-org/my-secrets @@ -132,7 +132,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 kind: Kustomization metadata: name: my-secrets - namespace: gitops-system + namespace: gotk-system spec: interval: 10m0s sourceRef: diff --git a/docs/guides/notifications.md b/docs/guides/notifications.md index e732703b..e1ff1629 100644 --- a/docs/guides/notifications.md +++ b/docs/guides/notifications.md @@ -23,7 +23,7 @@ The notification controller is part of the default toolkit installation. First create a secret with your Slack incoming webhook: ```sh -kubectl -n gitops-system create secret generic slack-url \ +kubectl -n gotk-system create secret generic slack-url \ --from-literal=address=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK ``` @@ -37,7 +37,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Provider metadata: name: slack - namespace: gitops-system + namespace: gotk-system spec: type: slack channel: general @@ -61,7 +61,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Alert metadata: name: on-call-webapp - namespace: gitops-system + namespace: gotk-system spec: providerRef: name: slack @@ -78,7 +78,7 @@ Apply the above files or commit them to the `fleet-infra` repository. To verify that the alert has been acknowledge by the notification controller do: ```console -$ kubectl -n gitops-system get alerts +$ kubectl -n gotk-system get alerts NAME READY STATUS AGE on-call-webapp True Initialized 1m @@ -121,7 +121,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Provider metadata: name: podinfo - namespace: gitops-system + namespace: gotk-system spec: type: github channel: general @@ -133,7 +133,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Alert metadata: name: podinfo - namespace: gitops-system + namespace: gotk-system spec: providerRef: name: podinfo @@ -141,7 +141,7 @@ spec: eventSources: - kind: Kustomization name: podinfo - namespace: gitops-system + namespace: gotk-system ``` The secret referenced in the provider is expected to contain a [personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) @@ -151,7 +151,7 @@ apiVersion: v1 kind: Secret metadata: name: github - namespace: gitops-system + namespace: gotk-system data: token: ``` diff --git a/docs/guides/sealed-secrets.md b/docs/guides/sealed-secrets.md index f3ab30ac..52bc0a19 100644 --- a/docs/guides/sealed-secrets.md +++ b/docs/guides/sealed-secrets.md @@ -49,7 +49,7 @@ Create a Helm release that installs the latest version of sealed-secrets control gotk create helmrelease sealed-secrets \ --interval=1h \ --release-name=sealed-secrets \ ---target-namespace=gitops-system \ +--target-namespace=gotk-system \ --source=HelmRepository/stable \ --chart=sealed-secrets \ --chart-version="1.10.x" @@ -59,14 +59,14 @@ With chart version `1.10.x` we configure helm-controller to automatically upgrad when a new chart patch version is fetched by source-controller. At startup, the sealed-secrets controller generates a 4096-bit RSA key pair and -persists the private and public keys as Kubernetes secrets in the `gitops-system` namespace. +persists the private and public keys as Kubernetes secrets in the `gotk-system` namespace. You can retrieve the public key with: ```sh kubeseal --fetch-cert \ --controller-name=sealed-secrets \ ---controller-namespace=gitops-system \ +--controller-namespace=gotk-system \ > pub-sealed-secrets.pem ``` @@ -120,7 +120,7 @@ apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: HelmRepository metadata: name: stable - namespace: gitops-system + namespace: gotk-system spec: interval: 1h0m0s url: https://kubernetes-charts.storage.googleapis.com @@ -133,7 +133,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2alpha1 kind: HelmRelease metadata: name: sealed-secrets - namespace: gitops-system + namespace: gotk-system spec: chart: spec: @@ -144,7 +144,7 @@ spec: version: "1.10.x" interval: 1h0m0s releaseName: sealed-secrets - targetNamespace: gitops-system + targetNamespace: gotk-system ``` !!! hint diff --git a/docs/guides/webhook-receivers.md b/docs/guides/webhook-receivers.md index 7a060de6..88aa728d 100644 --- a/docs/guides/webhook-receivers.md +++ b/docs/guides/webhook-receivers.md @@ -35,7 +35,7 @@ apiVersion: v1 kind: Service metadata: name: receiver - namespace: gitops-system + namespace: gotk-system spec: type: LoadBalancer selector: @@ -50,7 +50,7 @@ spec: Wait for Kubernetes to assign a public address with: ```sh -watch kubectl -n gitops-system get svc/receiver +watch kubectl -n gotk-system get svc/receiver ``` ## Define a Git repository @@ -62,7 +62,7 @@ apiVersion: source.toolkit.fluxcd.io/v1alpha1 kind: GitRepository metadata: name: webapp - namespace: gitops-system + namespace: gotk-system spec: interval: 60m url: https://github.com// @@ -82,7 +82,7 @@ First generate a random string and create a secret with a `token` field: TOKEN=$(head -c 12 /dev/urandom | shasum | cut -d ' ' -f1) echo $TOKEN -kubectl -n gitops-system create secret generic webhook-token \ +kubectl -n gotk-system create secret generic webhook-token \ --from-literal=token=$TOKEN ``` @@ -93,7 +93,7 @@ apiVersion: notification.toolkit.fluxcd.io/v1alpha1 kind: Receiver metadata: name: webapp - namespace: gitops-system + namespace: gotk-system spec: type: github events: @@ -116,7 +116,7 @@ The notification controller generates a unique URL using the provided token and Find the URL with: ```console -$ kubectl -n gitops-system get receiver/webapp +$ kubectl -n gotk-system get receiver/webapp NAME READY STATUS webapp True Receiver initialised with URL: /hook/bed6d00b5555b1603e1f59b94d7fdbca58089cb5663633fb83f2815dc626d92b diff --git a/manifests/install/kustomization.yaml b/manifests/install/kustomization.yaml index 4a68ed75..d0c76702 100644 --- a/manifests/install/kustomization.yaml +++ b/manifests/install/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: gitops-system +namespace: gotk-system resources: - namespace.yaml - ../bases/source-controller diff --git a/manifests/install/labels.yaml b/manifests/install/labels.yaml index aecb8e3a..ca512d49 100644 --- a/manifests/install/labels.yaml +++ b/manifests/install/labels.yaml @@ -3,7 +3,7 @@ kind: LabelTransformer metadata: name: labels labels: - app.kubernetes.io/instance: gitops-system + app.kubernetes.io/instance: gotk-system fieldSpecs: - path: metadata/labels create: true diff --git a/manifests/install/namespace.yaml b/manifests/install/namespace.yaml index ab45ab3c..69408c5b 100644 --- a/manifests/install/namespace.yaml +++ b/manifests/install/namespace.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: gitops-system + name: gotk-system diff --git a/manifests/monitoring/grafana/dashboards/control-plane.json b/manifests/monitoring/grafana/dashboards/control-plane.json index 2f4a9fff..6c830357 100644 --- a/manifests/monitoring/grafana/dashboards/control-plane.json +++ b/manifests/monitoring/grafana/dashboards/control-plane.json @@ -1364,8 +1364,8 @@ "allValue": null, "current": { "selected": false, - "text": "gitops-system", - "value": "gitops-system" + "text": "gotk-system", + "value": "gotk-system" }, "datasource": "prometheus", "definition": "workqueue_work_duration_seconds_count", diff --git a/manifests/monitoring/grafana/datasources.yaml b/manifests/monitoring/grafana/datasources.yaml index d50bd1e2..e308db56 100644 --- a/manifests/monitoring/grafana/datasources.yaml +++ b/manifests/monitoring/grafana/datasources.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: grafana-datasources - namespace: gitops-system + namespace: gotk-system data: datasources.yaml: |- apiVersion: 1 diff --git a/manifests/monitoring/grafana/kustomization.yaml b/manifests/monitoring/grafana/kustomization.yaml index 0472ee72..152d8296 100644 --- a/manifests/monitoring/grafana/kustomization.yaml +++ b/manifests/monitoring/grafana/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: gitops-system +namespace: gotk-system resources: - service.yaml - deployment.yaml diff --git a/manifests/monitoring/grafana/providers.yaml b/manifests/monitoring/grafana/providers.yaml index ccbd4cc0..dfca8d1b 100644 --- a/manifests/monitoring/grafana/providers.yaml +++ b/manifests/monitoring/grafana/providers.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: grafana-providers - namespace: gitops-system + namespace: gotk-system data: providers.yaml: |+ apiVersion: 1 diff --git a/manifests/monitoring/grafana/service.yaml b/manifests/monitoring/grafana/service.yaml index 8c6c2ec5..c59bcfba 100644 --- a/manifests/monitoring/grafana/service.yaml +++ b/manifests/monitoring/grafana/service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: name: grafana - namespace: gitops-system + namespace: gotk-system labels: app: grafana spec: diff --git a/manifests/monitoring/kustomization.yaml b/manifests/monitoring/kustomization.yaml index f18a3b2a..ea997628 100644 --- a/manifests/monitoring/kustomization.yaml +++ b/manifests/monitoring/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: gitops-system +namespace: gotk-system resources: - prometheus - grafana diff --git a/manifests/monitoring/prometheus/account.yaml b/manifests/monitoring/prometheus/account.yaml index 81de3172..eb893a67 100644 --- a/manifests/monitoring/prometheus/account.yaml +++ b/manifests/monitoring/prometheus/account.yaml @@ -2,4 +2,4 @@ apiVersion: v1 kind: ServiceAccount metadata: name: prometheus - namespace: gitops-system + namespace: gotk-system diff --git a/manifests/monitoring/prometheus/deployment.yaml b/manifests/monitoring/prometheus/deployment.yaml index c57c437d..cc3596c0 100644 --- a/manifests/monitoring/prometheus/deployment.yaml +++ b/manifests/monitoring/prometheus/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: prometheus - namespace: gitops-system + namespace: gotk-system spec: replicas: 1 selector: diff --git a/manifests/monitoring/prometheus/kustomization.yaml b/manifests/monitoring/prometheus/kustomization.yaml index 4d8de750..e6612a61 100644 --- a/manifests/monitoring/prometheus/kustomization.yaml +++ b/manifests/monitoring/prometheus/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: gitops-system +namespace: gotk-system resources: - account.yaml - rbac.yaml diff --git a/manifests/monitoring/prometheus/rbac.yaml b/manifests/monitoring/prometheus/rbac.yaml index 5f796c19..05fac6f8 100644 --- a/manifests/monitoring/prometheus/rbac.yaml +++ b/manifests/monitoring/prometheus/rbac.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: prometheus-gitops-system + name: prometheus-gotk-system rules: - apiGroups: [""] resources: @@ -21,12 +21,12 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: prometheus-gitops-system + name: prometheus-gotk-system roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: prometheus-gitops-system + name: prometheus-gotk-system subjects: - kind: ServiceAccount name: prometheus - namespace: gitops-system + namespace: gotk-system diff --git a/manifests/monitoring/prometheus/service.yaml b/manifests/monitoring/prometheus/service.yaml index 27ada3c0..1b72bb08 100644 --- a/manifests/monitoring/prometheus/service.yaml +++ b/manifests/monitoring/prometheus/service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: name: prometheus - namespace: gitops-system + namespace: gotk-system spec: selector: app: prometheus