Add ingress annotations to the namereference path config

This commit is contained in:
Jingfang Liu
2018-08-01 10:47:01 -07:00
parent 6a834b6262
commit 5193d6b4a8
3 changed files with 46 additions and 0 deletions

View File

@@ -650,6 +650,13 @@ var defaultNameReferencePathConfigs = []ReferencePathConfig{
Path: []string{"spec", "tls", "secretName"},
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{
Kind: "Ingress",
},
Path: []string{"metadata", "annotations", "ingress.kubernetes.io/auth-secret"},
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{
Kind: "ServiceAccount",