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

bug: fix helm maintenance operator image #1302

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bug: fix helm maintenance operator image
Signed-off-by: Fred Rolland <[email protected]>
rollandf committed Jan 29, 2025
commit 2fefabeac10f6aeba95f7eb3f02eb5941cac48d5
Original file line number Diff line number Diff line change
@@ -17,7 +17,8 @@ Maintenance Operator Helm Chart
| operator.admissionController.enable | bool | `true` | enable admission controller of the operator |
| operator.affinity | object | `{"nodeAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"node-role.kubernetes.io/master","operator":"Exists"}]},"weight":1},{"preference":{"matchExpressions":[{"key":"node-role.kubernetes.io/control-plane","operator":"Exists"}]},"weight":1}]}}` | node affinity for the operator |
| operator.image.imagePullPolicy | string | `nil` | image pull policy for the operator image |
| operator.image.repository | string | `"ghcr.io/mellanox/maintenance-operator"` | repository to use for the operator image |
| operator.image.repository | string | `"ghcr.io/mellanox"` | repository to use for the operator image |
| operator.image.name | string | `"maintenance-operator"` | image name to use for the operator image |
| operator.image.tag | string | `nil` | image tag to use for the operator image |
| operator.nodeSelector | object | `{}` | node selector for the operator |
| operator.replicas | int | `1` | operator deployment number of repplicas |
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ spec:
fieldPath: metadata.namespace
- name: ENABLE_WEBHOOKS
value: {{ quote .Values.operator.admissionController.enable }}
image: {{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}
image: {{ .Values.operator.image.repository }}/{{ .Values.operator.image.name }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}
{{- if .Values.operator.image.imagePullPolicy }}
imagePullPolicy: {{ .Values.operator.image.imagePullPolicy }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
operator:
image:
# -- repository to use for the operator image
repository: ghcr.io/mellanox/maintenance-operator
repository: ghcr.io/mellanox
# -- image name to use for the operator image
name: maintenance-operator
# -- image tag to use for the operator image
tag: null
# -- image pull policy for the operator image