Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Created March 17, 2023 05:37
Show Gist options
  • Save taisyo7333/2939127a900e334cc553cead4322434d to your computer and use it in GitHub Desktop.
Save taisyo7333/2939127a900e334cc553cead4322434d to your computer and use it in GitHub Desktop.
[MEMO] Openshift cli
#!/bin/bash -x
```
BUILD_CONFIG_NAME=simple
oc get bc/${BUILD_CONFIG_NAME} -o jsonpath='{.spec.triggers[?(@.generic)].generic.secret}'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment