Added annotation to pod to prevent istio-sidecar-injector to add an envoy-proxy

This commit is contained in:
Guilherme Blanco 2018-06-15 13:19:57 -04:00 committed by James Munnelly
parent 65b6ae2643
commit 8d69e1e811

View File

@ -113,6 +113,9 @@ func (s *Solver) buildPod(crt *v1alpha1.Certificate, ch v1alpha1.ACMEOrderChalle
GenerateName: "cm-acme-http-solver-",
Namespace: crt.Namespace,
Labels: podLabels,
Annotations: map[string]string{
"sidecar.istio.io/inject": "false",
},
OwnerReferences: []metav1.OwnerReference{*metav1.NewControllerRef(crt, certificateGvk)},
},
Spec: corev1.PodSpec{