Skip to content
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

feat(helm): Helm chart changes for issue #113 and PR #114 #116

Closed

Conversation

g-linville
Copy link
Contributor

@g-linville g-linville commented Sep 21, 2021

Adds support for setting an image pull secret on the
NFS Server pods.

Signed-off-by: Grant Linville [email protected]

Pull Request template

Why is this PR required? What issue does it fix?:
This makes the needed Helm chart changes for issue #113 and PR #114.

What this PR does?:
This adds an environment variable to the Deployment that can be configured from the values file. The variable is a string that can be set to the name of an image pull secret to be used by NFS Server pods.

Does this PR require any upgrade changes?:
No.

If the changes in this PR are manually verified, list down the scenarios covered::
I used the helm template command to render out the chart, first leaving the nfsServer.imagePullSecret value unset and seeing that the environment variable was not rendered, and then setting the value and seeing that the environment variable was rendered.

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
This PR is a continuation of #114.

Checklist:

  • Fixes Support for an image pull secret in the NFS Server pods #113
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Does this PR change require updating NFS-Provisioner Chart? If yes, mention the Helm Chart PR #
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

…ve#114

Adds support for setting an image pull secret on the
NFS Server pods.

Signed-off-by: Grant Linville <[email protected]>
@mynktl mynktl added the release-activity PR needs to be considered for releaes activity, i.e chart release, changelog. label Sep 22, 2021
@mynktl mynktl requested a review from mittachaitu September 22, 2021 03:58
Copy link
Contributor

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!!

Can we also update the nfs-operator yaml with OPENEBS_IO_NFS_SERVER_IMAGE_PULL_SECRET env like added here as commented value? This will help for user using nfs-operator.yaml without looking around at docs

@@ -112,6 +112,7 @@ nfsStorageClass:

nfsServer:
useClusterIP: "true"
imagePullSecret: ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update the configuration in README.md and bump the chart version? Example of updating README.md and chart version

@g-linville g-linville closed this Sep 22, 2021
@g-linville g-linville deleted the 113-helm-changes branch September 22, 2021 14:15
@g-linville
Copy link
Contributor Author

g-linville commented Sep 22, 2021

Whoops, I was trying to rebase but did it wrong and deleted my branch, which I forgot would close this pull request. :( Sorry about that. I'll open a new one. @mittachaitu

@g-linville
Copy link
Contributor Author

Whoops, I was trying to rebase but did it wrong and deleted my branch, which I forgot would close this pull request. :( Sorry about that. I'll open a new one. @mittachaitu

@mittachaitu the new one is now #117.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/hold-merge release-activity PR needs to be considered for releaes activity, i.e chart release, changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for an image pull secret in the NFS Server pods
3 participants