Skip to content

Commit 618bc10

Browse files
authored
bug: fix helm maintenance operator image (Mellanox#1302)
2 parents 6e98075 + 2fefabe commit 618bc10

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

deployment/network-operator/charts/maintenance-operator-chart/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Maintenance Operator Helm Chart
1717
| operator.admissionController.enable | bool | `true` | enable admission controller of the operator |
1818
| 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 |
1919
| operator.image.imagePullPolicy | string | `nil` | image pull policy for the operator image |
20-
| operator.image.repository | string | `"ghcr.io/mellanox/maintenance-operator"` | repository to use for the operator image |
20+
| operator.image.repository | string | `"ghcr.io/mellanox"` | repository to use for the operator image |
21+
| operator.image.name | string | `"maintenance-operator"` | image name to use for the operator image |
2122
| operator.image.tag | string | `nil` | image tag to use for the operator image |
2223
| operator.nodeSelector | object | `{}` | node selector for the operator |
2324
| operator.replicas | int | `1` | operator deployment number of repplicas |

deployment/network-operator/charts/maintenance-operator-chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
fieldPath: metadata.namespace
4646
- name: ENABLE_WEBHOOKS
4747
value: {{ quote .Values.operator.admissionController.enable }}
48-
image: {{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}
48+
image: {{ .Values.operator.image.repository }}/{{ .Values.operator.image.name }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}
4949
{{- if .Values.operator.image.imagePullPolicy }}
5050
imagePullPolicy: {{ .Values.operator.image.imagePullPolicy }}
5151
{{- end }}

deployment/network-operator/charts/maintenance-operator-chart/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
operator:
22
image:
33
# -- repository to use for the operator image
4-
repository: ghcr.io/mellanox/maintenance-operator
4+
repository: ghcr.io/mellanox
5+
# -- image name to use for the operator image
6+
name: maintenance-operator
57
# -- image tag to use for the operator image
68
tag: null
79
# -- image pull policy for the operator image

0 commit comments

Comments
 (0)