strict decoding error: unknown field "spec.defaultBackendService"
According to the docs I should be able to set the defaultBackendService settings, but I am prompted with an error:
Error from server (BadRequest): error when creating ".\\testnginxcontroller.yml": NginxIngressController in version "v1alpha1" cannot be handled as a NginxIngressController: strict decoding error: unknown field "spec.defaultBackendService"
I have tried editing the original Nginxingresscontrollers and creating my own as a test; neither work.
apiVersion: approuting.kubernetes.azure.com/v1alpha1
kind: NginxIngressController
metadata:
name: asdf
spec:
controllerNamePrefix: asdf
ingressClassName: webapprouting.kubernetes.azure.com
loadBalancerAnnotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
defaultBackendService:
name: nginx
namespace: app-routing-system
Looking at the schema, this should be possible: https://github.com/Azure/aks-app-routing-operator/blob/main/config/crd/bases/approuting.kubernetes.azure.com_nginxingresscontrollers.yaml
bump ✊🏼
bump ✊🏼
bump ✊🏼
The release of the app-routing-operator with this functionality hasn't rolled out yet. This is an error in docs. I will update the docs to include a reference to which functionality is available for which version of Kubernetes.
Is there an ETA on this functionality? Together with https://github.com/Azure/aks-app-routing-operator/issues/168 is blocking in our case to switch to this add-on.