-
Bug
-
Resolution: Done
-
Undefined
-
None
When KnativeService.Spec.Ingress is modified by oc edit, it fills Kourier.Enabled to false.
Example 1. Set Kourier.service-type to LoadBalancer
spec: ingress: kourier: service-type: LoadBalancer
It will be changed as:
ingress: contour: enabled: false istio: enabled: false kourier: enabled: false service-type: LoadBalancer
Example 2. Set Istio.Enabled to false explicitly
spec:
ingress:
istio:
enabled: false
It will be changed as:
ingress: contour: enabled: false istio: enabled: false kourier: enabled: false
All "false" means "Kourier.Enabled = true" so it is not a serious problem but it is confusable.
if !ks.Spec.Ingress.Istio.Enabled && !ks.Spec.Ingress.Kourier.Enabled && !ks.Spec.Ingress.Contour.Enabled { ks.Spec.Ingress.Kourier.Enabled = true }