-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enable k8s configmaps as flags for play kube #7910
Enable k8s configmaps as flags for play kube #7910
Conversation
58fc897
to
1b96ba4
Compare
Thanks @EduardoVega |
/approve |
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.
Just a nit, otherwise LGTM
Please rebase also for new CI. |
@EduardoVega very nice PR overall, TY for putting it together! |
This will need a rebase to pass the tests. |
Thanks. I'll work on the changes and rebase. |
a couple of naming suggestions, otherwise LGTM, thanks @EduardoVega |
858a4ae
to
104b5bf
Compare
Signed-off-by: Eduardo Vega <edvegavalerio@gmail.com>
104b5bf
to
39dde9b
Compare
This change does not support podman-remote. I can create another bug to work on that, if it is wanted. |
SGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: EduardoVega, rhatdan, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
This will permit podman play kube to obtain container env vars from configmaps. By passing the --configmap flag with a valid configmap.yaml, it will search for the pod.container.env and pod.container.envFrom settings to validate if a configmap has been conigured as the source.
Examples:
podman play kube [pod|deploy].yaml --configmap myconfigmap.yaml
podman play kube [pod|deploy].yaml --configmap myconfigmap1.yaml --configmap myconfigmap2.yaml
Fixes: #7567
Signed-off-by: Eduardo Vega edvegavalerio@gmail.com