Add ks alias to kustomization commands
This commit is contained in:
@@ -18,8 +18,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var createKsCmd = &cobra.Command{
|
var createKsCmd = &cobra.Command{
|
||||||
Use: "kustomization [name]",
|
Use: "kustomization [name]",
|
||||||
Short: "Create or update a kustomization resource",
|
Aliases: []string{"ks"},
|
||||||
|
Short: "Create or update a kustomization resource",
|
||||||
Long: `
|
Long: `
|
||||||
The kustomization source command generates a kustomization.kustomize.fluxcd.io resource for a given GitRepository source.
|
The kustomization source command generates a kustomization.kustomize.fluxcd.io resource for a given GitRepository source.
|
||||||
API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v1alpha1`,
|
API spec: https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v1alpha1`,
|
||||||
|
|||||||
@@ -12,8 +12,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var syncKsCmd = &cobra.Command{
|
var syncKsCmd = &cobra.Command{
|
||||||
Use: "kustomization [name]",
|
Use: "kustomization [name]",
|
||||||
Short: "Synchronize kustomization",
|
Aliases: []string{"ks"},
|
||||||
|
Short: "Synchronize kustomization",
|
||||||
Long: `
|
Long: `
|
||||||
The sync kustomization command triggers a reconciliation of a Kustomization resource and waits for it to finish.`,
|
The sync kustomization command triggers a reconciliation of a Kustomization resource and waits for it to finish.`,
|
||||||
Example: ` # Trigger a kustomization apply outside of the reconciliation interval
|
Example: ` # Trigger a kustomization apply outside of the reconciliation interval
|
||||||
|
|||||||
Reference in New Issue
Block a user