Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyaplis committed Apr 26, 2020
1 parent f6092ca commit 5f24d9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
2 changes: 1 addition & 1 deletion charts/basic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
41 changes: 0 additions & 41 deletions charts/basic/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 5f24d9a

Please sign in to comment.