Merge pull request #82 from vreon/ingress-tls-secretname

Add Ingress spec.tls.secretName to Secret namerefs
This commit is contained in:
Jeff Regan
2018-06-10 20:15:52 -07:00
committed by GitHub

View File

@@ -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,
},
},
},
{