Open nandar-p opened 3 weeks ago
When you define validationCABundle, it is immediately set to fail. When you don't set it, we automatically update it.
There is no option to keep it to Ignore permanently because it is unsafe.
When you define validationCABundle, it is immediately set to fail. When you don't set it, we automatically update it.
There is no option to keep it to Ignore permanently because it is unsafe.
@howardjohn Thanks for your explanation. This helps me a lot.
If we deployed it using GitOps tool(Argocd), this tool noticed the differences and causes an OutOfSync error as shown in the following image. May I know is there any solution to solve this differences in Argocd?
cc @hanxiaop
@nandar-p you can try using https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/ to ignore the differences. Or server-side apply with managed fields may work as well, but that would require changes to Istio.
@nandar-p you can try using https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/ to ignore the differences. Or server-side apply with managed fields may work as well, but that would require changes to Istio.
I have the same problem {ArgoCD}.
I hate seeing OutOfSync
..
I added the below values to istio chart but it doesn't work.
spec:
ignoreDifferences:
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
name: istiod-default-validator
jqPathExpressions:
- .webhooks[] | select(.name == "validation.istio.io") | .failurePolicy
@nandar-p you can try using https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/ to ignore the differences. Or server-side apply with managed fields may work as well, but that would require changes to Istio.
Thank you @hanxiaop I will try it..
Is this the right place to submit this?
Bug Description
When installing Istio version 1.22.1 with Helm, the validation webook is created with a failure policy of Fail.
Expection
According to the following istio's helm templates, the
failurePolicy
should beIgnore
if {{.Values.base.validationCABundle}} is empty. https://github.com/istio/istio/blob/release-1.22/manifests/charts/base/templates/default.yaml#L43We expect
failurePolicy
not to be changed toFail
when we do not define {{.Values.base.validationCABundle}} in helm/values.yaml as follow.helm/values.yaml
Version
Additional Information