Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Drop timezone db host volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed Oct 25, 2020
1 parent 5e07195 commit 1efa18d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
7 changes: 2 additions & 5 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ spec:
volumes:
- name: timezonedb
emptyDir: {}
{{- else }}
volumes:
- name: timezonedb
hostPath:
path: /usr/share/zoneinfo
{{- end }}
{{- if .Values.sidecar.enabled }}
initContainers:
Expand Down Expand Up @@ -58,10 +53,12 @@ spec:
memory: {{ .Values.resources.requests.memory }}
args:
- --log-level=info
{{- if .Values.sidecar.enabled }}
volumeMounts:
- name: timezonedb
mountPath: /usr/share/zoneinfo
readOnly: true
{{- end }}
{{- if .Values.sidecar.enabled }}
- name: updatetz
image: {{ printf "%s:%s" .Values.sidecar.image.repository .Values.sidecar.image.tag | quote }}
Expand Down
9 changes: 0 additions & 9 deletions deploy/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ spec:
serviceAccountName: cronjobber
securityContext:
fsGroup: 2 #daemon
volumes:
- name: timezonedb
hostPath:
path: /usr/share/zoneinfo
type: Directory
containers:
- name: cronjobber
image: quay.io/hiddeco/cronjobber:0.3.0
Expand All @@ -32,7 +27,3 @@ spec:
memory: 64Mi
args:
- --log-level=info
volumeMounts:
- name: timezonedb
mountPath: /usr/share/zoneinfo
readOnly: true

0 comments on commit 1efa18d

Please sign in to comment.