1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 2022 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.5.1-pg14
36 nameOverride: timescaledb
41 # Uid and gid to run the entrypoint of the container process (uid 70 is postgres user and gid 70 is postgres group)
47 # readOnlyRootFilesystem: true
53 # We usually recommend not to specify default resources and to leave this as a conscious
54 # choice for the user. This also increases chances charts run on environments with little
55 # resources, such as Minikube. If you do want to specify resources, uncomment the following
56 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
59 # Configure resource requests and limits
60 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
61 # Minimum memory for development is 2 CPU cores and 4GB memory
62 # Minimum memory for production is 4 CPU cores and 8GB memory
90 - name: tcp-timescaledb
96 ## A manually managed Persistent Volume and Claim
97 ## Requires persistence.enabled: true
98 ## If defined, PVC must be created manually before volume will be bound
100 volumeReclaimPolicy: Retain
102 ## database data Persistent Volume Storage Class
103 ## If defined, storageClassName: <storageClass>
104 ## If set to "-", storageClassName: "", which disables dynamic provisioning
105 ## If undefined (the default) or set to null, no storageClassName spec is
106 ## set, choosing the default provisioner. (gp2 on AWS, standard on
107 ## GKE, AWS & OpenStack)
108 accessMode: ReadWriteOnce
110 mountPath: /dockerdata-nfs
113 pgUserName: timescaledb
114 pgRootUserName: postgres
115 pgDatabase: timescaledb
120 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
121 login: '{{ .Values.config.pgRootUserName }}'
122 password: '{{ .Values.config.pgRootpassword }}'
125 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
126 login: '{{ .Values.config.pgUserName }}'
127 password: '{{ .Values.config.pgUserPassword }}'