Skip to content

Conversation

gdubicki
Copy link

Please see also #76

@gdubicki gdubicki requested a review from a team as a code owner August 29, 2025 09:53
@powerhome-portal
Copy link

A change to documentation files was detected in your PR. Please visit this link to preview changes: https://portal-staging.powerapp.cloud/docs?filters[kind]=all&filters[user]=all&filters[namespaceFilter]=master

@gdubicki
Copy link
Author

gdubicki commented Sep 9, 2025

Hey @indiebrain, maybe you can take a look at this PR? 🙏😊

@gdubicki
Copy link
Author

Hi @rurkss, maybe you could take a look at this, please?

@indiebrain indiebrain self-assigned this Sep 15, 2025
@indiebrain
Copy link

@gdubicki , apologies. We've not yet seen much community engagement and this slipped through the cracks. We'll discuss internally about how to do a better job of being more timely with reviews.

Rest assured I've added this to the list of TODOs and we'll get a review here, soon.

@indiebrain
Copy link

In the meantime, mind adding some context to the PR description what exactly the requirements are the necessitate these changes?

We'll probably want to add some more specific contributing guides to this repo, but in general Power aims for context-rich review culture. Any additional details about what goals you're trying to reach, what specific problem(s) you need to solve, alternate approaches that were considered, outstanding questions, etc are extremely helpful for reviewers.

Some of the sources from which we draw inspiration:

Copy link

@indiebrain indiebrain 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 contribution!

If I'm reading between the lines, the goal of this PR is to make it possible to install the redis-operator via helm. Full disclosure, Power does NOT deploy our redis-operators via Helm. The release workflows we've adopted have neglected the Helm side of the world.

I'm not opposed to making this operator more accessible to those who prefer Helm, but please do use caution. I wouldn't be surprised if more work to get the helm resources in sync again is necessary.

Comment on lines -26 to -28
helm repo add redis-operator https://spotahome.github.io/redis-operator
helm repo update
helm install redis-operator redis-operator/redis-operator

Choose a reason for hiding this comment

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

The CI process uses the helm/chart-releaser-action1 to publish charts as a
self-contained helm chart repository using Github pages. While our fork does publish the charts to the gh-pages branch github pages remains disabled for this repository.

Let me see about getting that enabled and see if it moves the needle on the viability of installing from the repo.

Footnotes

  1. https://github.com/helm/chart-releaser-action

{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: (devel)
krane.shopify.io/instance-rollout-conditions: "true"

Choose a reason for hiding this comment

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

FWIW,

The CRDs are typically generated via kubebuilder. This particular annotation comes from kubebuilder annotations on the types in types.go.

To further complicate things, the code generator does not managed the helm chart's CRD. The contents here are usually copy-pasta'd from the resource /manifests, if I recall. I suspect that' hasn't been done for some time and the current state of the helm chart's CRD is likely woefully behind.

Copy link
Author

Choose a reason for hiding this comment

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

Oops. What can we do then? Could you update the CRDs in this PR perhaps?

@gdubicki
Copy link
Author

gdubicki commented Sep 15, 2025

In the meantime, mind adding some context to the PR description what exactly the requirements are the necessitate these changes?

We'll probably want to add some more specific contributing guides to this repo, but in general Power aims for context-rich review culture. Any additional details about what goals you're trying to reach, what specific problem(s) you need to solve, alternate approaches that were considered, outstanding questions, etc are extremely helpful for reviewers.

Some of the sources from which we draw inspiration:

Hey @indiebrain, thank you for looking into this PR!

Admittedly, I omitted the PR description, but the goal was to start using this code for our purposes, in GKE using Helm. These are the changes we chose to apply to fix issues that ocurred during the installation/first use plus improvements to docs and defaults that were not blocking us, but they make the experience better. There is more info in particular commit messages.

Update: the truth is that I didn’t put a lot of effort into this PR (yet) as I wasn’t sure if anyone will actually look at it. That’s the sad reality of so many open source projects! So this is just a dump of the commits we applied to our fork to Make It Work For Us ™️. But I’ll be happy to improve it if needed to get it merged and be actually useful for others too!

@gdubicki gdubicki changed the title Updates needed to start using this fork outside of Power Home Updates needed to start using this fork with Helm outside of Power Home Sep 15, 2025
@gdubicki gdubicki changed the title Updates needed to start using this fork with Helm outside of Power Home Updates needed to start using this fork with Helm Sep 15, 2025
after uninstalling the Chart with Helm

Thx @indiebrain!
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.

2 participants