-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for replacing image names in env vars #995
Conversation
Specifically env vars that end with _IMAGE
Codecov Report
@@ Coverage Diff @@
## master #995 +/- ##
==========================================
+ Coverage 40.61% 40.79% +0.17%
==========================================
Files 68 68
Lines 2969 3010 +41
==========================================
+ Hits 1206 1228 +22
- Misses 1639 1657 +18
- Partials 124 125 +1
Continue to review full report at Codecov.
|
This will be very handy for kicking off jobs needing the skaffold-tagged image names. For now, a workaround is to annotate the pod that needs the image name, using key "image". It will match and get picked up by the replacer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please add some tests for it?
I don't know how bad the rebase will be so I'm reluctant to invest further in this PR. Also unclear what the appetite for merging this is. Thoughts on these points? |
I think we are thinking of Adding Env Based tagger as part of #922 for I agree, lets close this PR for now and revisit if this is needed once #922 is resolved. |
What is env based tagger? That sounds like a way to use environment variables to decide on the docker image tag? If so, that's unrelated to what this PR does |
Yes it unrelated to the PR. Since you mentioned you don't want to invest further at this time, I suggesting revisiting this once build changes are in. |
Specifically env vars that end with _IMAGE