Add support for variable subsitution in Ingress hosts

This commit is contained in:
Steffen Kreutz
2018-11-29 10:17:37 +01:00
parent 8a8331bf57
commit 252cf3723c
8 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx
labels:
app.kubernetes.io/component: nginx
spec:
rules:
- host: $(DEPLOYMENT_NAME).example.com
http:
paths:
- backend:
serviceName: nginx
servicePort: 80
path: /
tls:
- hosts:
- $(DEPLOYMENT_NAME).example.com