Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
fe6b3364
Unverified
Commit
fe6b3364
authored
2 years ago
by
santhosh-tg
Committed by
GitHub
2 years ago
Browse files
Options
Download
Patches
Plain Diff
Fix the command to get deployed image (#3698)
parent
389013a3
upstream/release-5.1.0-vdn
login-changes
loginRegisterBtn
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
1 merge request
!16
Release 5.1.0 api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
+1
-1
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
with
1 addition
and
1 deletion
+1
-1
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
+
1
−
1
View file @
fe6b3364
...
...
@@ -118,7 +118,7 @@
ignore_errors
:
true
-
name
:
Get deployed image name - deployments
shell
:
kubectl get deployments.apps {{ release_name }} -o json -n {{ namespace }} | jq -r '.spec.template.spec.containers[0].image | split("/")[1]'
shell
:
kubectl get deployments.apps {{ release_name }} -o json -n {{ namespace }} | jq -r '.spec.template.spec.containers[0].image | split("/")[
-
1]'
register
:
image
-
set_fact
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets