mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Add support for variable subsitution in Ingress hosts
This commit is contained in:
13
pkg/commands/build/testdata/testcase-variable-ref-ingress/in/base/kustomization.yaml
vendored
Normal file
13
pkg/commands/build/testdata/testcase-variable-ref-ingress/in/base/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
- service.yaml
|
||||
|
||||
vars:
|
||||
- name: DEPLOYMENT_NAME
|
||||
objref:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: nginx
|
||||
fieldref:
|
||||
fieldpath: metadata.name
|
||||
Reference in New Issue
Block a user