Created
September 11, 2017 16:25
-
-
Save corydodt/2c406b9590391415c35d482a9abba9eb to your computer and use it in GitHub Desktop.
Values file for using helm with nginx-ingress on AWS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## nginx configuration | |
## Ref: https://github.com/kubernetes/ingress/blob/master/controllers/nginx/configuration.md | |
## | |
controller: | |
name: controller | |
image: | |
repository: gcr.io/google_containers/nginx-ingress-controller | |
tag: "0.9.0-beta.12" | |
config: | |
use-proxy-protocol: "true" | |
## Allows customization of the external service | |
## the ingress will be bound to via DNS | |
publishService: | |
enabled: true | |
service: | |
annotations: | |
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*' | |
## Set external traffic policy to: "Local" to preserve source IP on | |
## providers supporting it | |
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer | |
externalTrafficPolicy: "Local" | |
type: LoadBalancer | |
## Default 404 backend | |
## | |
defaultBackend: | |
## If false, controller.defaultBackendService must be provided | |
## | |
enabled: true | |
name: default-backend | |
image: | |
repository: gcr.io/google_containers/defaultbackend | |
tag: "1.3" | |
service: | |
servicePort: 80 | |
type: ClusterIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very helpful, thanks!