This repository was archived by the owner on May 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 17
17
- " ."
18
18
- --env-regex
19
19
- " ^ARGOCD_ENV_.*$"
20
- - --must-decrypt
21
20
- --kubeconfig
22
21
- " /etc/kubernetes/kubeconfig"
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ type Configuration struct {
22
22
SecretNamespace string `mapstructure:"secret-namespace"`
23
23
EjsonKey []string `mapstructure:"ejson-key"`
24
24
SkipDecrypt bool `mapstructure:"skip-decrypt"`
25
- MustDecrypt bool `mapstructure:"must-decrypt"`
26
25
KubectlTimeout time.Duration `mapstructure:"kubectl-timeout"`
27
26
Kubeconfig string `mapstructure:"kubeconfig"`
28
27
KubeAPI string `mapstructure:"kube-api"`
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ func addRenderFlags(flags *flag.FlagSet) {
48
48
flags .StringSlice ("ejson-key" , []string {}, heredoc .Doc (`
49
49
Specify EJSON Private key used for decryption.
50
50
May be specified multiple times or separate values with commas` ))
51
- flags .Bool ("must -decrypt" , false , heredoc .Doc (`
52
- Fail if not all ejson files can be decrypted ` ))
51
+ flags .Bool ("skip -decrypt" , false , heredoc .Doc (`
52
+ Skip decryption ` ))
53
53
flags .String ("env-regex" , "^ARGOCD_ENV_.*$" , heredoc .Doc (`
54
54
Only expose environment variables that match the given regex` ))
55
55
flags .String ("output" , "yaml" , heredoc .Doc (`
You can’t perform that action at this time.
0 commit comments