Skip to content

Instantly share code, notes, and snippets.

@corydodt
Created September 11, 2017 16:25
Show Gist options
  • Select an option

  • Save corydodt/2c406b9590391415c35d482a9abba9eb to your computer and use it in GitHub Desktop.

Select an option

Save corydodt/2c406b9590391415c35d482a9abba9eb to your computer and use it in GitHub Desktop.
Values file for using helm with nginx-ingress on AWS
## 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
@jkinred
Copy link
Copy Markdown

jkinred commented Jul 21, 2018

Very helpful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment