Corrected the $$ documentation in staging/src as well

This commit is contained in:
Martin Kanters 2021-05-13 08:04:50 +02:00
parent 3bbb1f3f8d
commit 538f92d75f

View File

@ -1918,9 +1918,9 @@ type EnvVar struct {
// Variable references $(VAR_NAME) are expanded // Variable references $(VAR_NAME) are expanded
// using the previous defined environment variables in the container and // using the previous defined environment variables in the container and
// any service environment variables. If a variable cannot be resolved, // any service environment variables. If a variable cannot be resolved,
// the reference in the input string will be unchanged. The $(VAR_NAME) // the reference in the input string will be unchanged. Double $$ are reduced
// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. $$(VAR_NAME).
// references will never be expanded, regardless of whether the variable // Escaped references will never be expanded, regardless of whether the variable
// exists or not. // exists or not.
// Defaults to "". // Defaults to "".
// +optional // +optional
@ -2217,9 +2217,9 @@ type Container struct {
// Entrypoint array. Not executed within a shell. // Entrypoint array. Not executed within a shell.
// The docker image's ENTRYPOINT is used if this is not provided. // The docker image's ENTRYPOINT is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
// cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. $$(VAR_NAME).
// regardless of whether the variable exists or not. // Escaped references will never be expanded, regardless of whether the variable exists or not.
// Cannot be updated. // Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional // +optional
@ -2227,9 +2227,9 @@ type Container struct {
// Arguments to the entrypoint. // Arguments to the entrypoint.
// The docker image's CMD is used if this is not provided. // The docker image's CMD is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
// cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. $$(VAR_NAME).
// regardless of whether the variable exists or not. // Escaped references will never be expanded, regardless of whether the variable exists or not.
// Cannot be updated. // Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional // +optional
@ -3435,9 +3435,9 @@ type EphemeralContainerCommon struct {
// Entrypoint array. Not executed within a shell. // Entrypoint array. Not executed within a shell.
// The docker image's ENTRYPOINT is used if this is not provided. // The docker image's ENTRYPOINT is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
// cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. $$(VAR_NAME). Escaped
// regardless of whether the variable exists or not. // references will never be expanded, regardless of whether the variable exists or not.
// Cannot be updated. // Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional // +optional
@ -3445,9 +3445,9 @@ type EphemeralContainerCommon struct {
// Arguments to the entrypoint. // Arguments to the entrypoint.
// The docker image's CMD is used if this is not provided. // The docker image's CMD is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
// cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. $$(VAR_NAME). Escaped
// regardless of whether the variable exists or not. // references will never be expanded, regardless of whether the variable exists or not.
// Cannot be updated. // Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional // +optional