Skip to content

Commit bc605e7

Browse files
authored
Merge pull request #19 from slr71/main
CORE-2074: removed time zone data mounts from the deployment definition
2 parents 77b9d04 + 52499f2 commit bc605e7

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

k8s/data-usage-api.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ spec:
2626
topologyKey: kubernetes.io/hostname
2727
restartPolicy: Always
2828
volumes:
29-
- name: localtime
30-
hostPath:
31-
path: /etc/localtime
32-
- name: timezone
33-
configMap:
34-
name: timezone
35-
items:
36-
- key: timezone
37-
path: timezone
3829
- name: service-configs
3930
secret:
4031
secretName: service-configs
@@ -60,6 +51,11 @@ spec:
6051
memory: "256Mi"
6152
ephemeral-storage: "1Gi"
6253
env:
54+
- name: TZ
55+
valueFrom:
56+
configMapKeyRef:
57+
name: timezone
58+
key: timezone
6359
- name: OTEL_TRACES_EXPORTER
6460
valueFrom:
6561
secretKeyRef:
@@ -79,12 +75,6 @@ spec:
7975
- name: listen-port
8076
containerPort: 60000
8177
volumeMounts:
82-
- name: localtime
83-
mountPath: /etc/localtime
84-
readOnly: true
85-
- name: timezone
86-
mountPath: /etc/timezone
87-
subPath: timezone
8878
- name: service-configs
8979
mountPath: /etc/iplant/de
9080
readOnly: true

0 commit comments

Comments
 (0)