Nginx Ingress Sample Configurations for Helm values
·248 words·2 mins
Ingress configurations in helm values files. The following setup assumes that you have a helm chart which provides the configuration to deploy a service and an ingress for it
Now, lets look at few of the sample helm values file configurations for ingress configurations with ingress-nginx.
Enable Cors # ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/cors-allow-methods: "DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT" nginx.ingress.kubernetes.io/cors-allow-headers: "*" nginx.ingress.kubernetes.io/cors-allow-origin: "*" nginx.ingress.kubernetes.io/cors-max-age: "100" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" hosts: - host: ravikrs.com paths: - path: /test/path1 pathType: Prefix - path: /path2 pathType: Prefix External Authentication # External Authentication configuration based from doc