Skip to content

Commit 7c99ade

Browse files
Merge pull request #95 from UKHomeOffice/bugfix/use-get
Bug fix: Need to use 'get' in kubectl command
2 parents 53979ca + 17b6587 commit 7c99ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/kb8_run.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Kb8Run
2121
CMD_GET_POD_LOGS = "#{CMD_KUBECTL} logs %s %s"
2222
CMD_GET_POD = "#{CMD_KUBECTL} get pods -l %s -o yaml"
2323
CMD_GET_EVENTS = "#{CMD_KUBECTL} get events -o yaml"
24-
CMD_GET_RESOURCE = "#{CMD_KUBECTL} %s -o yaml %s"
24+
CMD_GET_RESOURCE = "#{CMD_KUBECTL} get %s -o yaml %s"
2525
CMD_DELETE_PODS = "#{CMD_KUBECTL} delete pods -l %s"
2626
CMD_PATCH_RESOURCE = "#{CMD_KUBECTL} patch %s %s -p '%s'"
2727
CMD_LABEL_RESOURCE = "#{CMD_KUBECTL} label %ss %s %s"

0 commit comments

Comments
 (0)