Fixup some annotations

This commit is contained in:
2021-12-01 15:17:34 +01:00
parent a536fcd369
commit 1085be2b53
8 changed files with 33 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ func NewIngress(name string) *Ingress {
i.K8sBase.Metadata.Name = "{{ .Release.Name }}-" + name
i.K8sBase.Kind = "Ingress"
i.ApiVersion = "networking.k8s.io/v1"
i.K8sBase.Metadata.Labels[K+"/component"] = name
return i
}