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

Rename gotk-system namespace to flux-system

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2020-10-29 14:26:22 +01:00
parent 4581c99a81
commit 9916a53761
106 changed files with 194 additions and 194 deletions

View File

@@ -41,9 +41,9 @@ var createAlertCmd = &cobra.Command{
Example: ` # Create an Alert for kustomization events
gotk create alert \
--event-severity info \
--event-source Kustomization/gotk-system \
--event-source Kustomization/flux-system \
--provider-ref slack \
gotk-system
flux-system
`,
RunE: createAlertCmdRun,
}

View File

@@ -36,8 +36,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 gotk-system namespace
gotk install --version=latest --namespace=gotk-system
Example: ` # Install the latest version in the flux-system namespace
gotk install --version=latest --namespace=flux-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"
@@ -46,7 +46,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 > gotk-system.yaml
gotk install --export > flux-system.yaml
`,
RunE: installCmdRun,
}

View File

@@ -17,7 +17,6 @@ limitations under the License.
package main
import (
"github.com/fluxcd/toolkit/pkg/manifestgen/install"
"log"
"os"
"path/filepath"
@@ -28,6 +27,7 @@ import (
_ "k8s.io/client-go/plugin/pkg/client/auth"
gotklog "github.com/fluxcd/toolkit/pkg/log"
"github.com/fluxcd/toolkit/pkg/manifestgen/install"
)
var VERSION = "0.0.0-dev.0"
@@ -55,7 +55,7 @@ var rootCmd = &cobra.Command{
gotk get sources git
# Trigger a GitRepository source reconciliation
gotk reconcile source git gotk-system
gotk reconcile source git flux-system
# Export GitRepository sources in YAML format
gotk export source git --all > sources.yaml

View File

@@ -37,10 +37,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=gotk-system
gotk uninstall --dry-run --namespace=flux-system
# Uninstall all components and delete custom resource definitions
gotk uninstall --resources --crds --namespace=gotk-system
gotk uninstall --resources --crds --namespace=flux-system
`,
RunE: uninstallCmdRun,
}