fixup! Improve helm chart allowing for lock of the worker image

This commit is contained in:
2025-01-13 14:19:24 +00:00
parent 5649c2863c
commit 7c634ba011
3 changed files with 21 additions and 25 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ description: |
type: application type: application
version: 0.5.47 version: 0.5.48
appVersion: "0.5.47" appVersion: "0.5.48"
home: https://github.com/lukaszraczylo/kubernetes-images-sync-operator home: https://github.com/lukaszraczylo/kubernetes-images-sync-operator
+4 -4
View File
@@ -30,9 +30,8 @@ spec:
fieldPath: spec.serviceAccountName fieldPath: spec.serviceAccountName
- name: KUBERNETES_CLUSTER_DOMAIN - name: KUBERNETES_CLUSTER_DOMAIN
value: {{ quote .Values.kubernetesClusterDomain }} value: {{ quote .Values.kubernetesClusterDomain }}
- name: WORKER_IMAGE image: {{ .Values.sa.manager.image.repository }}:{{ .Values.sa.manager.image.tag
value: {{ include "chart.workerImage" . }} | default .Chart.AppVersion }}
image: {{ .Values.images.operator.repository }}:{{ .Values.images.operator.tag | default .Chart.AppVersion }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
@@ -47,7 +46,8 @@ spec:
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
resources: {{- toYaml .Values.sa.manager.resources | nindent 10 }} resources: {{- toYaml .Values.sa.manager.resources | nindent 10 }}
securityContext: {{- toYaml .Values.sa.manager.containerSecurityContext | nindent 10 }} securityContext: {{- toYaml .Values.sa.manager.containerSecurityContext | nindent
10 }}
securityContext: {{- toYaml .Values.sa.podSecurityContext | nindent 8 }} securityContext: {{- toYaml .Values.sa.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "chart.fullname" . }}-sa serviceAccountName: {{ include "chart.fullname" . }}-sa
terminationGracePeriodSeconds: 10 terminationGracePeriodSeconds: 10
+3 -7
View File
@@ -1,11 +1,4 @@
kubernetesClusterDomain: cluster.local kubernetesClusterDomain: cluster.local
images:
operator:
repository: ghcr.io/lukaszraczylo/kubernetes-images-sync-operator
tag: 0.5.47
worker:
repository: ghcr.io/lukaszraczylo/kubernetes-images-sync-worker
tag: 0.5.47
sa: sa:
manager: manager:
args: args:
@@ -17,6 +10,9 @@ sa:
capabilities: capabilities:
drop: drop:
- ALL - ALL
image:
repository: ghcr.io/lukaszraczylo/kubernetes-images-sync-operator
tag: 0.5.48
resources: resources:
limits: limits:
cpu: 500m cpu: 500m