-
Notifications
You must be signed in to change notification settings - Fork 334
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
Helm chart rework v2 #179
Helm chart rework v2 #179
Conversation
Hi @HaveFun83. 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. Instructions 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/test-infra repository. |
/assign @cofyc |
@cofyc any news here? |
@@ -1,10 +0,0 @@ | |||
common: |
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.
why this is removed?
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.
because:
removed namespace creation. As helm v2 will create one during install and on helm v3 the namespace must already created before install.
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.
got it
@@ -3,17 +3,21 @@ | |||
# |
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.
the format of the new values LGTM, but we should make the new chart backward compatible with old values yaml as possible as we can, e.g.
daemonset.name
override the name of DaemonSet if presentcommon.configMapName
overrides the name of ConfigMap if presentcommon. podSecurityPolicy
overrides therbac.pspEnabled
if present- etc.
then, people can use the old values file with the new chart and don't worry about any problems during upgrading.
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.
I can do this but it means duplication in the value / chart template files which is not a good approach in my eyes.
Please have look in the helm/Readme.md i added a section about upgrading.
During tests within vagrant i saw no issues during upgrading from old to new chart version.
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.
ok
/ok-to-test |
/lgtm Great work! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cofyc, HaveFun83 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 |
@cofyc big thanks for your support and review. |
…rk-v2 Helm chart rework v2
Did some refactoring on the helm chart to match the helm best practices
Please have a look. Feedback is welcome
Thanks
@cofyc sorry i opened a new pr as i messed up the old one