mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 09:24:23 +00:00
Add support for variable subsitution in Ingress hosts
This commit is contained in:
18
pkg/commands/build/testdata/testcase-variable-ref-ingress/in/base/ingress.yaml
vendored
Normal file
18
pkg/commands/build/testdata/testcase-variable-ref-ingress/in/base/ingress.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user