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

clickhouse-operator image is hard coded #370

Open
dvirp-dt opened this issue May 9, 2022 · 5 comments · Fixed by #371
Open

clickhouse-operator image is hard coded #370

dvirp-dt opened this issue May 9, 2022 · 5 comments · Fixed by #371
Labels
enhancement New feature or request

Comments

@dvirp-dt
Copy link

dvirp-dt commented May 9, 2022

Proposed change

Currently, clickhouse-operator image can't be replaced using values.yaml file, since the image tag and repository are hardcoded to the latest.

"image: altinity/clickhouse-operator:latest"

Alternative options

Use Helm templating to get the value from the values file like all other images.

Additional context

Using the latest tag also can cause an unplanned version upgrade in case a newer version will use the same tag.

@dvirp-dt dvirp-dt added the enhancement New feature or request label May 9, 2022
@guidoiaquinti
Copy link
Contributor

👋 Hi @dvirp-dt! Thank you for opening this issue.

This looks somehow similar to #342 (cc @navi86) where my main concern was about customising an upstream dependency instead of directly making the change there.

Good news is that the upstream repo is making progress into implementing a Helm chart 🎉 . I'm suggesting to make those options configurable there, then we can simply use the upstream chart as dependency (like we do for all our other services).

@guidoiaquinti
Copy link
Contributor

In the meantime, #371 will make the container image fixed so you should not experience unplanned version upgrade in case a newer version will use the same tag.

@dvirp-dt
Copy link
Author

Hey, @guidoiaquinti thanks for your reply.

How would you suggest editing this image in case we have to?
Deploying the chart into air-gapped environment isn't going to work without changing this image repository.

@guidoiaquinti
Copy link
Contributor

How would you suggest editing this image in case we have to?

In the meantime, if you can make the deployment process two steps, you could probably first render the templates in a temporary directory, edit the string and then apply them to k8s.

@dvirp-dt
Copy link
Author

There is big worring telling not to edit the chart, but I guess we have to in this case.

I'll keep tracking the development process of the operator chart.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants