Created
October 14, 2019 14:10
-
-
Save cmer81/33c1e051b5f15da27f1be484b98ff023 to your computer and use it in GitHub Desktop.
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: | |
annotations: | |
kubernetes.io/tls-acme: "true" | |
certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
nginx.ingress.kubernetes.io/secure-backends: "true" | |
name: ${CICD_GIT_REPO_NAME} | |
namespace: middle-web-${CICD_GIT_BRANCH} | |
spec: | |
tls: | |
- hosts: | |
- ${CICD_GIT_BRANCH}.${CICD_GIT_REPO_NAME}.aks-web.leroymerlin.co.za | |
secretName: ${CICD_GIT_REPO_NAME}-${CICD_GIT_BRANCH}-crt | |
rules: | |
- host: ${CICD_GIT_BRANCH}.${CICD_GIT_REPO_NAME}.aks-web.leroymerlin.co.za | |
http: | |
paths: | |
- backend: | |
serviceName: ${CICD_GIT_REPO_NAME}-service | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great! .. Thanks