Merge pull request #984 from afirth/20190516_vars_for_secretName

Vars should expand in ingress/spec/tls/secretName
This commit is contained in:
Kubernetes Prow Robot
2019-04-18 10:52:06 -07:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -635,6 +635,7 @@ spec:
tls:
- hosts:
- $(DEPLOYMENT_NAME).example.com
secretName: $(DEPLOYMENT_NAME).example.com-tls
`)
th.writeF("/app/base/service.yaml", `
apiVersion: v1
@@ -713,6 +714,7 @@ spec:
tls:
- hosts:
- kustomized-nginx.example.com
secretName: kustomized-nginx.example.com-tls
`)
}

View File

@@ -96,6 +96,9 @@ varReference:
- path: spec/tls/hosts
kind: Ingress
- path: spec/tls/secretName
kind: Ingress
- path: spec/template/spec/containers/args
kind: Job