From 5f24d9a57c4f277d8195a7484522a2d9d20037de Mon Sep 17 00:00:00 2001 From: Kostya Date: Sun, 26 Apr 2020 13:35:50 +0800 Subject: [PATCH] Cleanup --- charts/basic/Chart.yaml | 2 +- charts/basic/templates/cronjob.yaml | 41 ----------------------------- 2 files changed, 1 insertion(+), 42 deletions(-) diff --git a/charts/basic/Chart.yaml b/charts/basic/Chart.yaml index 74c277b..241eafc 100644 --- a/charts/basic/Chart.yaml +++ b/charts/basic/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: A Helm chart for Kubernetes name: basic -version: 0.0.4 +version: 0.0.5 diff --git a/charts/basic/templates/cronjob.yaml b/charts/basic/templates/cronjob.yaml index 487b08c..6df408a 100644 --- a/charts/basic/templates/cronjob.yaml +++ b/charts/basic/templates/cronjob.yaml @@ -31,38 +31,6 @@ spec: imagePullPolicy: {{ $.Values.image.pullPolicy }} command: {{- toYaml .command | trim | nindent 16 }} - # {{- if or ($.Values.app.env) (.env) }} - # env: - # - name: PROMETHEUS_EXPORTER_REQUEST_STATS - # value: "false" - # - name: PROMETHEUS_EXPORTER_PROCESS_STATS - # value: "false" - # {{- range $name, $value := $.Values.app.env }} - # - name: {{ $name | quote }} - # value: {{ $value | quote }} - # {{- end }} - # {{- range $name, $value := .env }} - # - name: {{ $name | quote }} - # value: {{ $value | quote }} - # {{- end }} - # {{- end }} - # {{- if or ($.Values.app.envFromSecrets) ($.Values.app.envFromConfigMaps) }} - # envFrom: - # {{- range $.Values.app.envFromConfigMaps }} - # - configMapRef: - # name: {{ . | quote }} - # {{- end }} - # {{- range $.Values.app.envFromSecrets }} - # - secretRef: - # name: {{ . | quote }} - # {{- end }} - # {{- end }} - # volumeMounts: - # {{- if $.Values.app.settingsYmlSecret.enabled }} - # - mountPath: {{ $.Values.app.home }}/config/{{ $.Values.app.settingsYmlSecret.key }} - # name: settings-yml-volume - # subPath: {{ $.Values.app.settingsYmlSecret.key }} - # {{- end }} {{- with .resources }} resources: {{- toYaml . | trim | nindent 16 }} @@ -72,15 +40,6 @@ spec: imagePullSecrets: {{- toYaml . | trim | nindent 12}} {{- end }} - # volumes: - # {{- if $.Values.app.settingsYmlSecret.enabled }} - # - name: settings-yml-volume - # secret: - # secretName: {{ $.Values.app.settingsYmlSecret.name | quote }} - # items: - # - key: {{ $.Values.app.settingsYmlSecret.key | quote }} - # path: {{ $.Values.app.settingsYmlSecret.key | quote }} - # {{- end }} {{- with $.Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 12 }}