Skip to content

Commit

Permalink
Merge pull request #2951 from neolit123/1.29-add-test-job-super-admin…
Browse files Browse the repository at this point in the history
….conf

kinder: fix missing quotes in super-admin-tasks.yaml
  • Loading branch information
k8s-ci-robot authored Nov 1, 2023
2 parents c6f2bc1 + 5a6842a commit 6e91411
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Generate CA, and kubeconfig files
${CMD} kubeadm init phase certs ca || exit 1
Expand Down Expand Up @@ -109,7 +109,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -145,7 +145,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-2
CMD="docker exec {{ .vars.clusterName }}-control-plane-2"
# admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -182,7 +182,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand All @@ -206,7 +206,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-2
CMD="docker exec {{ .vars.clusterName }}-control-plane-2"
# admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -278,7 +278,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must not exist after reset
${CMD} test -f /etc/kubernetes/admin.conf && exit 1
Expand Down
12 changes: 6 additions & 6 deletions kinder/ci/workflows/super-admin-tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Generate CA, and kubeconfig files
${CMD} kubeadm init phase certs ca || exit 1
Expand Down Expand Up @@ -110,7 +110,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -146,7 +146,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-2
CMD="docker exec {{ .vars.clusterName }}-control-plane-2"
# admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -183,7 +183,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand All @@ -207,7 +207,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-2
CMD="docker exec {{ .vars.clusterName }}-control-plane-2"
# admin.conf must exist
${CMD} test -f /etc/kubernetes/admin.conf || exit 1
Expand Down Expand Up @@ -279,7 +279,7 @@ tasks:
- -c
- |
set -x
CMD=docker exec {{ .vars.clusterName }}-control-plane-1
CMD="docker exec {{ .vars.clusterName }}-control-plane-1"
# Both admin.conf and super-admin.conf must not exist after reset
${CMD} test -f /etc/kubernetes/admin.conf && exit 1
Expand Down

0 comments on commit 6e91411

Please sign in to comment.