8000 Generate operator helm chart by slamdev · Pull Request #1049 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content

Generate operator helm chart - #1049

Merged
Slach merged 7 commits into
Altinity:0.20.1from
slamdev:master
Dec 7, 2022
Merged

Slach merged 7 commits into
Altinity:0.20.1from
slamdev:master

Conversation

@slamdev
@slamdev slamdev commented Nov 13, 2022 •
Copy link
Copy Markdown
Contributor

AIM of this PR is to migrate altinity-clickhouse-operator chart to the official repo.

PR contains a lot of auto-generated files, so it makes sense to review commits individually.

Things yet to cover:

  • run ./dev/generate_helm_chart.sh after the script that generates deploy/operator/clickhouse-operator-install-bundle.yaml

Sample of the release pipeline: https://github.com/slamdev/clickhouse-operator/actions/runs/3455712508/jobs/5767926291

Chart archive is attached to a release: https://github.com/slamdev/clickhouse-operator/releases/tag/release-0.20.0

Autogenerated index.yaml: https://github.com/slamdev/clickhouse-operator/blob/gh-pages/index.yaml

Chart is available via github pages:

helm show chart altinity-clickhouse-operator --repo=https://slamdev.github.io/clickhouse-operator

apiVersion: v2
appVersion: 0.20.0
description: Helm chart to deploy [altinity-clickhouse-operator](https://github.com/Altinity/clickhouse-operator).  The
  ClickHouse Operator creates, configures and manages ClickHouse clusters running
  on Kubernetes.
home: https://github.com/Altinity/clickhouse-operator
icon: https://altinity.com/wp-content/uploads/2022/05/logo_horizontal_blue_white.svg
maintainers:
- email: info@altinity.com
  name: altinity
name: altinity-clickhouse-operator
type: application
version: 0.20.0

Prerequisite: create gh-pages branch and make sure it's empty.

Actions after the first chart release:

closes #1024 #941 #837 #620
partially solves #558

@slamdev
slamdev marked this pull request as ready for review November 13, 2022 14:59
@Slach
Slach self-requested a review November 16, 2022 10:32
@Slach
Slach changed the base branch from master to 0.20.1 November 16, 2022 10:35
@Slach Slach left a comment
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM
but small cosmetic comments

and main concern
if we generate grafana dashboards
could we add optional dependency to Chart.yaml for this use case

Comment thread .github/workflows/release_chart.yaml Resolved
@@ -0,0 +1,83 @@
{{/* vim: set filetype=mustache: */}}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

could we change it to go-template?

Comment thread deploy/helm/values.yaml Resolved
Comment thread deploy/helm/Chart.yaml Resolved
Comment thread deploy/helm/values.yaml Resolved
Comment thread deploy/helm/Chart.yaml Resolved
Comment thread dev/generate_helm_chart.sh Resolved
@Slach
Slach merged commit d5077c7 into Altinity:0.20.1 Dec 7, 2022
Slach added a commit that referenced this pull request Dec 7, 2022
…h call to go_build_all.sh

Signed-off-by: Slach <bloodjazman@gmail.com>
Slach added a commit that referenced this pull request Dec 12, 2022
Signed-off-by: Slach <bloodjazman@gmail.com>
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.

Helm generate issue

2 participants

0