Add Ingress spec.tls.secretName to Secret namerefs

This commit is contained in:
Jesse Dubay
2018-06-10 16:26:50 -07:00
parent ba45b1366a
commit 92864ba0f7

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