mirror of https://github.com/portainer/portainer
parent
e6d0e297dd
commit
6769326c8b
|
@ -164,7 +164,7 @@ func (kcl *KubeClient) CreateIngress(namespace string, info models.K8sIngressInf
|
||||||
if ingress.Labels == nil {
|
if ingress.Labels == nil {
|
||||||
ingress.Labels = make(map[string]string)
|
ingress.Labels = make(map[string]string)
|
||||||
}
|
}
|
||||||
ingress.Labels["io.portainer.kubernetes.application.owner"] = stackutils.SanitizeLabel(owner)
|
ingress.Labels["io.portainer.kubernetes.ingress.owner"] = stackutils.SanitizeLabel(owner)
|
||||||
|
|
||||||
// Store TLS information.
|
// Store TLS information.
|
||||||
var tls []netv1.IngressTLS
|
var tls []netv1.IngressTLS
|
||||||
|
|
Loading…
Reference in New Issue