✨ (go/v4;helm/alpha-v1;kustomize/v2): Adding default image policy for the manager#4932
Conversation
|
Welcome @adarshagrawal38! |
|
Hi @adarshagrawal38. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
...lugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/manager/manager.go
Show resolved
Hide resolved
|
Hi @camilamacedo86, do we still need this PR? |
camilamacedo86
left a comment
There was a problem hiding this comment.
Hi @camilamacedo86, do we still need this PR?
I see another PR is raised to do same.
We have another PR: #4952 proposal, but it seems to be doing more than should be done by @ronaldosaheki. Therefore, I am unsure if @ronaldosaheki will modify their PR.
Let's speak in the Slack channel kubebuilder.
pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/config.go
Outdated
Show resolved
Hide resolved
|
Hi @camilamacedo86 do have any new comments on the PR? |
There was a problem hiding this comment.
That is great 🎉 to move forward here, we need to squash the commits
We should have 1 PR / 1 solution or fix / 1 commit
Could you please do that?
Also, because the PR title and emojis are used in our release notes
I will update this one accordingly, I hope that you do not mind
/ok-to-test
|
Could you also please rebase it with the master branch? |
f5d70fd to
b41f7b9
Compare
Yeah sure did it. |
yeah sure @camilamacedo86 I have updated the PR accordingly, Thanks for help! |
| Image string | ||
|
|
||
| // ImagePullPolicy defines the policy to pull the container images | ||
| ImagePullPolicy string |
There was a problem hiding this comment.
We do not need it right?
We just need update the manager to have the Image Policy by default
How would we pass this value?
There was a problem hiding this comment.
Updated the code to set default values.
| {{- if .ImagePullPolicy }} | ||
| imagePullPolicy: {{ .ImagePullPolicy }} | ||
| {{- end }} |
There was a problem hiding this comment.
| {{- if .ImagePullPolicy }} | |
| imagePullPolicy: {{ .ImagePullPolicy }} | |
| {{- end }} | |
| imagePullPolicy: "IfNotPresent" |
| Image string | ||
|
|
||
| // ImagePullPolicy defines the policy to pull the container images | ||
| ImagePullPolicy string |
There was a problem hiding this comment.
| ImagePullPolicy string |
b41f7b9 to
cfa7b7d
Compare
Signed-off-by: Adarsh Agrawal <adarsh.agrawal1@ibm.com>
cfa7b7d to
3e2e7b9
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adarshagrawal38, camilamacedo86 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Adding image pull policy tag to the helm template
Fixing issue: #4859