[#70] Update k8s gates to use kubectl

Gates previously used airshipctl kubectl version, but the kubectl
subcommand is being removed.

Change-Id: Ie2caf03da3f49346eef95bb6d5d61df43a6a82eb
This commit is contained in:
Alexander Hughes 2020-02-26 12:27:55 -05:00
parent 3ca4d7d266
commit 07a0040c8c
2 changed files with 3 additions and 3 deletions

View File

@ -34,6 +34,6 @@
- name: "airshipctl kubectl version"
shell: |
set -ex
airshipctl kubectl version
kubectl version
args:
chdir: "{{ zuul.project.src_dir }}"

View File

@ -16,9 +16,9 @@
- name: check airshipctl kubectl version
command: >-
timeout 20 airshipctl \
timeout 20 kubectl \
--kubeconfig {{ airshipctl_config_dir_default | default(ansible_env.HOME) }}/.airship/kubeconfig \
kubectl version
version
register: airship_kubecofig_version
retries: 50
delay: 20