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

add helm charts to the repo #205

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Madhu-1
Copy link
Collaborator

@Madhu-1 Madhu-1 commented Feb 19, 2025

use the new helmify helm plugin to generate the helm charts for the repo

helm doc http://book.kubebuilder.io/plugins/available/helm-v1-alpha.html?highlight=helm#helm-plugin-helmv1-alpha

As above is still alpha version and missing the kustomization support and the above one is contributed based on the idea of helmify using helmify for now.

@Madhu-1 Madhu-1 force-pushed the add-helm-chart branch 8 times, most recently from 31e44aa to 4e77022 Compare February 19, 2025 11:39
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Feb 19, 2025

@subhamkrai can you please check if this is enough for helm charts integration

cc @nb-ohad @travisn

watchNamespace: ""
image:
repository: quay.io/cephcsi/ceph-csi-operator
tag: latest
Copy link
Member

Choose a reason for hiding this comment

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

We would need a version-specific tag published when a version is released.

Copy link
Member

Choose a reason for hiding this comment

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

And how will the csi operator be versioned?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@travisn Yes this is only for main branch, we need to adjust the script to change the tag based on the release version

Copy link
Contributor

Choose a reason for hiding this comment

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

@Madhu-1 JFYI #202

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@subhamkrai i will take care of it, Currently there is no way to automate it, i have to take care of it manually before releases.

Copy link
Contributor

Choose a reason for hiding this comment

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

okay, just wanted to raise here

- ALL
readOnlyRootFilesystem: true
image:
repository: gcr.io/kubebuilder/kube-rbac-proxy
Copy link
Member

Choose a reason for hiding this comment

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

Is this just for building, or does the helm chart install the rbac proxy container? I would expect the helm chart to only install the csi operator.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Today csi-operator container 2 containers one is rbac proxy and another is csi-operator manager, This is auto generated files(helm charts).

Copy link
Contributor

Choose a reason for hiding this comment

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

having 2 commits one for auot-generated files and one for actually changes will make easier to review wdyt?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@subhamkrai with this everything is autogenerated except makefile.

adding helmify to makefile to
generate the helm charts for operator

Signed-off-by: Madhu Rajanna <[email protected]>
adding github workflow to test operator
helm chart

Signed-off-by: Madhu Rajanna <[email protected]>
This changes contains the generated operator
helm charts.

Signed-off-by: Madhu Rajanna <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants