You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-13Lines changed: 15 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -26,19 +26,21 @@ Usage:
26
26
inject upgrade [RELEASE] [CHART] [flags]
27
27
28
28
Flags:
29
-
--command string injection command to be used (default "inject")
30
-
--debug enable verbose output
31
-
--dry-run simulate an upgrade
32
-
--injector string injector to use (must be pre-installed) (default "linkerd")
33
-
-i, --install if a release by this name doesn't already exist, run an install
34
-
--kubecontext string name of the kubeconfig context to use
35
-
--namespace string namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace
36
-
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
37
-
--timeout int time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
38
-
--tls enable TLS for request
39
-
--tls-cert string path to TLS certificate file (default: $HELM_HOME/cert.pem)
40
-
--tls-key string path to TLS key file (default: $HELM_HOME/key.pem)
41
-
-f, --values stringArray specify values in a YAML file or a URL (can specify multiple)
29
+
--command string injection command to be used (default "inject")
30
+
--debug enable verbose output
31
+
--dry-run simulate an upgrade
32
+
-h, --help help for upgrade
33
+
--inject-flags strings flags to be passed to injector, without leading "--" (can specify multiple). Example: "--inject-flags tls=optional,skip-inbound-ports=25,skip-inbound-ports=26"
34
+
--injector string injector to use (must be pre-installed) (default "linkerd")
35
+
-i, --install if a release by this name doesn't already exist, run an install
36
+
--kubecontext string name of the kubeconfig context to use
37
+
--namespace string namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace
38
+
--set stringArray set values on the command line (can specify multiple)
39
+
--timeout int time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
40
+
--tls enable TLS for request
41
+
--tls-cert string path to TLS certificate file (default: $HELM_HOME/cert.pem)
42
+
--tls-key string path to TLS key file (default: $HELM_HOME/key.pem)
43
+
-f, --values stringArray specify values in a YAML file or a URL (can specify multiple)
f.StringVar(&u.injector, "injector", "linkerd", "injector to use (must be pre-installed)")
150
153
f.StringVar(&u.command, "command", "inject", "injection command to be used")
154
+
f.StringSliceVar(&u.injectFlags, "inject-flags", []string{}, "flags to be passed to injector, without leading \"--\" (can specify multiple). Example: \"--inject-flags tls=optional,skip-inbound-ports=25,skip-inbound-ports=26\"")
151
155
152
156
f.StringArrayVarP(&u.valueFiles, "values", "f", []string{}, "specify values in a YAML file or a URL (can specify multiple)")
153
-
f.StringArrayVar(&u.values, "set", []string{}, "set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
157
+
f.StringArrayVar(&u.values, "set", []string{}, "set values on the command line (can specify multiple)")
154
158
f.StringVar(&u.namespace, "namespace", "", "namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace")
155
159
f.StringVar(&u.kubeContext, "kubecontext", "", "name of the kubeconfig context to use")
156
160
f.IntVar(&u.timeout, "timeout", 300, "time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks)")
0 commit comments