-
Notifications
You must be signed in to change notification settings - Fork 5
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 chart #22
Add helm chart #22
Conversation
adrianchiris
commented
Sep 1, 2024
•
edited
Loading
edited
- add helm chart
- add automation and release workflow for helm chart
3bd4809
to
990649a
Compare
Pull Request Test Coverage Report for Build 10665553447Details
💛 - Coveralls |
3b8fd47
to
e6a6039
Compare
GITHUB_TAG: ${{ github.ref_name }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPO_OWNER: ${{ github.repository_owner }} | ||
run: make chart-push-release |
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.
nit: no new line at the end
|
||
GOLANGCI_LINT = $(LOCALBIN)/golangci-lint | ||
GOLANGCI_LINT_VERSION ?= v1.59.1 | ||
golangci-lint: |
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.
missing .PHONY
entry for golangci-lint
.PHONY: yq | ||
yq: $(YQ) ## Download yq locally if necessary. | ||
$(YQ): | $(LOCALBIN) | ||
@curl -fsSL -o $(YQ) https://github.com/mikefarah/yq/releases/download/$(YQ_VERSION)/yq_linux_amd64 && chmod +x $(YQ) |
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.
Here we always download x86 binary. Do we want to download the binary that matches the arch of the build host?
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 dont think its needed. its intended to be run in GH runner.
control-plane: {{ .Release.Name }}-controller-manager | ||
{{- include "maintenance-operator.selectorLabels" . | nindent 4 }} | ||
ports: | ||
{{- .Values.metricsService.ports | toYaml | nindent 2 }} |
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.
No new line at the end + mixing of spaces and tabs?
app.kubernetes.io/part-of: maintenance-operator | ||
{{- include "maintenance-operator.labels" . | nindent 4 }} | ||
spec: | ||
logLevel: info |
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.
nit: no new line at the end
control-plane: {{ .Release.Name }}-controller-manager | ||
{{- include "maintenance-operator.selectorLabels" . | nindent 4 }} | ||
ports: | ||
{{- .Values.webhookService.ports | toYaml | nindent 2 }} |
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.
tabs/spaces mixing
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 think we should automatically update CRDs in the helm chart's dir with make manifests
. WDYT?
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.
makes sense.
also i will add some additional values for operator config CR in the templates.
e6a6039
to
3a347b4
Compare
Signed-off-by: adrianc <[email protected]>
push helm chart as oci image to ghcr on release (tag) Signed-off-by: adrianc <[email protected]>
3a347b4
to
68e169a
Compare