portainer/api/kubernetes/cli
Chao Geng 07294c19bb
fix(k8s/application): check name unique in k8s cluster (#6610)
* EE-2353 Check unique name when creating new deployment in kubernetes

* EE-2353 fix warning from gofmt

* EE-2353 add miss methon in kubernetes_mock.go

* EE-2353 add missing space

* EE-2353 Use kubernetes cli to instead exec.command

* EE-2353 remove useless parameter

* EE-2353 remove unnecessary log in handle

* EE-2353 fix gofmt warning

* EE-2353 use ListOptions to filter the list

* EE-2353 add function description

* EE-2353 fix error

* Update api/kubernetes/cli/deploment.go

Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>

* EE-2353 change function name to HasStackName

Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>
2022-03-16 08:32:12 +08:00
..
access.go
access_test.go
client.go fix(app): add github action for linting and formatting [EE-2344] (#6356) 2022-01-17 07:53:32 +02:00
deploment.go fix(k8s/application): check name unique in k8s cluster (#6610) 2022-03-16 08:32:12 +08:00
exec.go
namespace.go
namespace_test.go
naming.go fix(kubeconfig): show kubeconfig download button for non admin users [EE-2123] (#6204) 2021-12-06 18:40:59 -03:00
nodes_limits.go
nodes_limits_test.go
pod.go
pod_test.go
registries.go fix(app): add github action for linting and formatting [EE-2344] (#6356) 2022-01-17 07:53:32 +02:00
resource.go
resource_test.go
role.go
secret.go
service_account.go fix(kubeconfig): show kubeconfig download button for non admin users [EE-2123] (#6204) 2021-12-06 18:40:59 -03:00
service_account_test.go fix(kubeconfig): show kubeconfig download button for non admin users [EE-2123] (#6204) 2021-12-06 18:40:59 -03:00