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

how configure this ingress controller in terraform file for aks with values below #21

Open
silandrew opened this issue Oct 5, 2022 · 0 comments

Comments

@silandrew
Copy link

how configure this ingress controller in terraform file for aks

helm install ingress-nginx/ingress-nginx --generate-name --namespace=portal --set controller.replicaCount=2 --set controller.nodeSelector."beta.kubernetes.io/os"=linux --set defaultBackend.nodeSelector."beta.kubernetes.io/os"=linux --set controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path"=/healthz --set controller.podLabels.aadpodidbinding=mi-axx-xxx-xx -f - <<EOF

controller:

extraVolumes:

  - name: secrets-store-inline

    csi:

        driver: secrets-store.csi.k8s.io

        readOnly: true

        volumeAttributes:

          secretProviderClass: "ingress-tls"   #name of the SecretProviderClass we created above

extraVolumeMounts:

  - name: secrets-store-inline

    mountPath: "/mnt/secrets-store"

    readOnly: true

EOF

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

1 participant