Skip to content

Commit

Permalink
feat: (PSKD-815) Update container-structure-test to verify kubectl ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
riragh committed Nov 8, 2024
1 parent 09d8175 commit 38a44e4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions container-structure-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ commandTests:
az version -o tsv
expectedOutput: ["2.64.0\t2.64.0\t1.1.0"]
- name: "kubectl version"
command: "bash"
args:
- -c
- |
kubectl version --client
expectedOutput: ["Client Version:\tv1.30.6\nKustomize Version:\tv5.0.4*"]
command: "kubectl"
args: ["version", "--client"]
expectedOutput: ["Client Version: v1.30.6"]

metadataTest:
workdir: "/viya4-iac-azure"
Expand Down

0 comments on commit 38a44e4

Please sign in to comment.