1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Rename 'gitops-system' namespace to 'gotk-system'

To align with the project name, and the group introduced in #236.
This commit is contained in:
Hidde Beydals
2020-09-15 15:51:55 +02:00
parent 0e1a862e34
commit ff6a1c14be
80 changed files with 162 additions and 162 deletions

View File

@@ -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,
}

View File

@@ -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"}

View File

@@ -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,
}