Last active
December 18, 2018 21:53
-
-
Save jgardner04/95f21ed217297a67ca01256e17b91ca8 to your computer and use it in GitHub Desktop.
Azure DevOps Build Agent Ingress
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: vstslinuxbuild | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
tls: | |
- hosts: | |
- <<your dns name>> | |
secretName: tls-secret | |
rules: | |
- host: <<your dns name>> | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: vstslinuxbuild | |
servicePort: 80 | |
- path: / | |
backend: | |
serviceName: vstslinuxbuild | |
servicePort: 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment