1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(EE-4782): add portainer internal label to created ingress rules (#8196)

This commit is contained in:
Dakota Walsh 2022-12-20 16:46:51 +13:00 committed by GitHub
parent e1b474d04f
commit 95558ed4ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View file

@ -59,7 +59,7 @@ func (kcl *KubeClient) GetNamespace(name string) (portainer.K8sNamespaceInfo, er
return result, nil
}
// CreateIngress creates a new ingress in a given namespace in a k8s endpoint.
// CreateNamespace creates a new ingress in a given namespace in a k8s endpoint.
func (kcl *KubeClient) CreateNamespace(info models.K8sNamespaceDetails) error {
client := kcl.cli.CoreV1().Namespaces()