Created
May 16, 2017 16:57
-
-
Save joshuatalb/76cb61c32815511c520cb9114f23a17c to your computer and use it in GitHub Desktop.
Kubernetes Ingress for Spinnaker
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: spinnaker-ingress | |
namespace: spinnaker | |
labels: | |
k8s-addon: ingress-nginx.addons.k8s.io # change to your nginx controller | |
annotations: | |
kubernetes.io/tls-acme: "true" # tells the letsencrypt controller to watch this ingress | |
spec: | |
tls: | |
- hosts: | |
- spinnaker.ops.hostname.com | |
secretName: spinnaker-tls | |
rules: | |
- host: spinnaker.ops.hostname.com | |
http: | |
paths: | |
- backend: | |
serviceName: spinnaker-spinnaker-deck # do `kubectl get svc -n spinnaker | grep deck` to get your deck service name | |
servicePort: 9000 | |
- backend: | |
serviceName: spinnaker-spinnaker-gate # same applies here, but grep gate. | |
servicePort: 8084 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@joshuatalb helm chart for
kube-lego
has usednginx-ingress
annotation instead of label k8s-addon, can you update the gist to reflect that?