1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
23 #################################################################
25 ##############################################################
26 image: timescale/timescaledb:2.1.1-pg13
36 nameOverride: timescaledb
40 podSecurityContext: {}
44 # Uid and gid to run the entrypoint of the container process (uid 70 is postgres user and gid 70 is postgres group)
50 # readOnlyRootFilesystem: true
54 # We usually recommend not to specify default resources and to leave this as a conscious
55 # choice for the user. This also increases chances charts run on environments with little
56 # resources, such as Minikube. If you do want to specify resources, uncomment the following
57 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
75 - name: tcp-timescaledb
81 ## A manually managed Persistent Volume and Claim
82 ## Requires persistence.enabled: true
83 ## If defined, PVC must be created manually before volume will be bound
85 volumeReclaimPolicy: Retain
87 ## database data Persistent Volume Storage Class
88 ## If defined, storageClassName: <storageClass>
89 ## If set to "-", storageClassName: "", which disables dynamic provisioning
90 ## If undefined (the default) or set to null, no storageClassName spec is
91 ## set, choosing the default provisioner. (gp2 on AWS, standard on
92 ## GKE, AWS & OpenStack)
93 accessMode: ReadWriteOnce
95 mountPath: /dockerdata-nfs
98 pgUserName: timescaledb
99 pgRootUserName: postgres
100 pgDatabase: timescaledb
105 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
106 login: '{{ .Values.config.pgRootUserName }}'
107 password: '{{ .Values.config.pgRootpassword }}'
110 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
111 login: '{{ .Values.config.pgUserName }}'
112 password: '{{ .Values.config.pgUserPassword }}'