SB5.1 - OCI - Ansible Role: helm-deploy, sunbird-deploy and deploy-player, check deployment result #325
-
For deploy to k8s, we are now using helm-deploy, sunbird-deploy and deploy-player. Say for example helm-deploy
kubectl get, output as json and use jq to parse, then do a split. All these are using assumption that the image pull is in docker hub with the image name format if it is from a 3rd party container registry, private registry, jfrog artifactory, the format can be different. it can be something like after doing the split, the name can be [2] or even [3]. Is there an alternate way to do the detection OR can we have something more generic to cater for behavior of different container image registry? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
To be more specific, if the objective is to get the last part split with /, don't we do something like
instead of split with / and always get [1]? |
Beta Was this translation helpful? Give feedback.
-
as replied by keshavprasadms
repost as "reply" cannot be marked as answer |
Beta Was this translation helpful? Give feedback.
as replied by keshavprasadms
repost as "reply" cannot be marked as answer