Skip to content

Commit

Permalink
Add Ingress spec.tls.secretName to Secret namerefs
Browse files Browse the repository at this point in the history
  • Loading branch information
vreon committed Jun 10, 2018
1 parent ba45b13 commit 92864ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/transformers/namereferenceconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{
Kind: "Ingress",
},
Path: []string{"spec", "tls", "secretName"},
CreateIfNotPresent: false,
},
},
},
{
Expand Down

0 comments on commit 92864ba

Please sign in to comment.