Added annotation to pod to prevent istio-sidecar-injector to add an envoy-proxy
This commit is contained in:
parent
65b6ae2643
commit
8d69e1e811
@ -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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user