fixed error: namespaces "harbor" not found
This commit is contained in:
parent
bc8d2bff03
commit
25d25e71ad
@ -1,6 +1,5 @@
|
||||
- name: "cluster {{ ClusterContext }} : Create namespace"
|
||||
shell: "kubectl create ns ${namespace} || echo true"
|
||||
ignore_errors: yes
|
||||
shell: "kubectl create ns {{ namespace }} || echo true"
|
||||
|
||||
- name: "cluster {{ ClusterContext }} : Clean OLD Secret"
|
||||
shell: "kubectl delete secret {{ item.secret_name }} --all -n {{ namespace }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user