You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# requirement for custom must-gathers, see https://github.com/openshift/enhancements/blob/a5841f75dbc9afbab22e5baa8d2f1ff2f43e2df7/enhancements/oc/must-gather.md?plain=1#L88
276
+
echo" * Getting OpenShift GitOps Version..."
277
+
csv_name="$(oc -n openshift-gitops get csv -o name | grep 'openshift-gitops-operator')"
278
+
oc -n openshift-gitops get "${csv_name}" -o jsonpath='{.spec.displayName}{"\n"}{.spec.version}'>"$GITOPS_DIR/version.txt"
279
+
275
280
echo" * Getting GitOps Operator Subscription..."
276
281
run_and_log "oc get subs openshift-gitops-operator -n openshift-operators -o yaml""$GITOPS_DIR/subscription.yaml"
277
282
run_and_log "oc get subs openshift-gitops-operator -n openshift-operators -o json""$GITOPS_DIR/subscription.json"
0 commit comments