Explorar o código

Update timescaledb_pod.yml

Signed-off-by: sakshiarora13 <sakshi_arora1@dell.com>
sakshiarora13 %!s(int64=3) %!d(string=hai) anos
pai
achega
a62d534738
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      telemetry/roles/timescaledb/tasks/timescaledb_pod.yml

+ 7 - 0
telemetry/roles/timescaledb/tasks/timescaledb_pod.yml

@@ -43,6 +43,11 @@
                 persistentVolumeClaim:
                   claimName: "{{ pvc_name }}"
 
+              - name: timezone
+                hostPath:
+                  path: "{{ zoneinfo_dir + timezone }}"
+                  type: File
+
             containers:
               - name: timescale
                 image: timescale/timescaledb:latest-pg12
@@ -52,6 +57,8 @@
                     name: telemetry-reference-tools
                   - mountPath: /var/lib/postgresql/
                     name: timescaledb-pvc
+                  - mountPath: /etc/localtime
+                    name: timezone
                 workingDir: /go/src/github.com/telemetry-reference-tools
                 env:
                   - name: node.name