Created
July 16, 2020 18:54
-
-
Save cdoan1/3d88aa9656f1a73b2f47bd039596e83c to your computer and use it in GitHub Desktop.
get the version of RHACM or OCM deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# right now, the best way to correlate a deployment to version | |
# is through the mch pod image digest | |
oc get deployment multiclusterhub-operator \ | |
-n open-cluster-management \ | |
-o jsonpath='{.spec.template.spec.containers[].image}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment