mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(ingress): update label [EE-4902] (#8330)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
e6d0e297dd
commit
6769326c8b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue