From 59667ca809c8bea4ba6f9ceb28a2d0f1dab66121 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Mon, 18 Apr 2022 11:36:10 -0400 Subject: [PATCH] . --- charts/offlineimap/Chart.yaml | 2 +- charts/offlineimap/templates/common.yaml | 3 -- charts/offlineimap/templates/cronjob.yaml | 45 +---------------------- 3 files changed, 2 insertions(+), 48 deletions(-) diff --git a/charts/offlineimap/Chart.yaml b/charts/offlineimap/Chart.yaml index aed1e84..d9dd7a0 100644 --- a/charts/offlineimap/Chart.yaml +++ b/charts/offlineimap/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 description: Helm chart for offlineimap name: offlineimap type: application -version: 0.0.7 +version: 0.0.8 kubeVersion: ">=1.16.0-0" keywords: - offlineimap diff --git a/charts/offlineimap/templates/common.yaml b/charts/offlineimap/templates/common.yaml index 2163f2a..858fa95 100644 --- a/charts/offlineimap/templates/common.yaml +++ b/charts/offlineimap/templates/common.yaml @@ -8,6 +8,3 @@ {{- if .Values.secret -}} {{ include "common.secret" . | nindent 0 }} {{- end -}} - -{{- include "common.cronjob" . }} - diff --git a/charts/offlineimap/templates/cronjob.yaml b/charts/offlineimap/templates/cronjob.yaml index 08d0fdc..702c844 100644 --- a/charts/offlineimap/templates/cronjob.yaml +++ b/charts/offlineimap/templates/cronjob.yaml @@ -26,47 +26,4 @@ spec: containers: - name: {{ include "common.names.fullname" . }} image: {{ printf "%s:%s" .Values.image.repository (default .Chart.AppVersion .Values.image.tag) | quote }} - imagePullPolicy: {{ .Values.image.pullPolicy }} - # {{- with .Values.env }} - # env: - # {{- range $k, $v := . }} - # {{- $name := $k }} - # {{- $value := $v }} - # {{- if kindIs "int" $name }} - # {{- $name = required "environment variables as a list of maps require a name field" $value.name }} - # {{- end }} - # - name: {{ quote $name }} - # {{- if kindIs "map" $value -}} - # {{- if hasKey $value "value" }} - # {{- $value = $value.value -}} - # {{- else if hasKey $value "valueFrom" }} - # {{- toYaml $value | nindent 6 }} - # {{- else }} - # {{- dict "valueFrom" $value | toYaml | nindent 6 }} - # {{- end }} - # {{- end }} - # {{- if not (kindIs "map" $value) }} - # {{- if kindIs "string" $value }} - # {{- $value = tpl $value $ }} - # {{- end }} - # value: {{ quote $value }} - # {{- end }} - # {{- end }} - # {{- end }} - # envFrom: - # {{- with .Values.envFrom }} - # {{- toYaml . | nindent 4 }} - # {{- end }} - # {{- if .Values.secret }} - # - secretRef: - # name: {{ include "common.names.fullname" . }} - # {{- end }} - # {{- end }} - # {{- with (include "common.controller.volumeMounts" . | trim) }} - # volumeMounts: - # {{- nindent 4 . }} - # {{- end }} - # {{- with (include "common.controller.volumes" . | trim) }} - # volumes: - # {{- nindent 2 . }} - # {{- end }} + imagePullPolicy: {{ .Values.image.pullPolicy }} \ No newline at end of file