add namerefs for ingress

This commit is contained in:
Seth Pollack
2018-06-06 12:14:51 -04:00
parent ea2d2c9db1
commit db15bc6372

View File

@@ -354,6 +354,20 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
Path: []string{"spec", "serviceName"},
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{
Kind: "Ingress",
},
Path: []string{"spec", "rules", "http", "paths", "backend", "serviceName"},
CreateIfNotPresent: false,
},
{
GroupVersionKind: &schema.GroupVersionKind{
Kind: "Ingress",
},
Path: []string{"spec", "backend", "serviceName"},
CreateIfNotPresent: false,
},
},
},
{