We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f6002 commit d4e70d9Copy full SHA for d4e70d9
proxy/doc.go
@@ -26,8 +26,8 @@ reconcile functions, Operator authors are then responsible for setting these
26
variables in the Container Envs that must use the proxy, For example:
27
28
// Pods with Kubernetes < 1.22
29
- for _, cSpec := range (myPod.Spec.Containers) {
30
- cSpec.Env = append(defaultEnv(), ReadProxyVarsFromEnv())
+ for i, cSpec := range (myPod.Spec.Containers) {
+ myPod.Spec.Containers[i].Env = append(cSpec.Env, ReadProxyVarsFromEnv()...)
31
}
32
*/
33
package proxy
0 commit comments