Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using name default in CRD, the controllerNamePrefix is fixed to nginx #286

Open
JoeyC-Dev opened this issue Sep 15, 2024 · 1 comment

Comments

@JoeyC-Dev
Copy link

JoeyC-Dev commented Sep 15, 2024

az aks approuting enable --resource-group $resourceGroup --name $clusterName --nginx None

Change metadata.name to the name other than default will not encounter the issue.

apiVersion: approuting.kubernetes.azure.com/v1alpha1
kind: NginxIngressController
metadata:
  name: default
spec:
  ingressClassName: webapprouting.kubernetes.azure.com
  controllerNamePrefix: testprefix
@JoeyC-Dev JoeyC-Dev changed the title When using name nginx in CRD, the controllerNamePrefix is fixed to nginx When using name default in CRD, the controllerNamePrefix is fixed to nginx Sep 15, 2024
@OliverMKing
Copy link
Collaborator

This is by design (for compatibility with older iterations of app routing). This edge case should be documented somewhere @sabbour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants