Merge pull request #62 from sethpollack/ingress

add namerefs for ingress
This commit is contained in:
Jeff Regan
2018-06-06 14:17:29 -07:00
committed by GitHub

View File

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