blob: 55acd9284743337eef825b76cb4bbb9e462fd26d [file] [log] [blame]
puthuparambil.adityaf71e3652021-08-18 13:57:24 +01001# ============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
7
8# http://www.apache.org/licenses/LICENSE-2.0
9
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.
15#
16# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19replicaCount: 1
20global:
21 persistence: {}
22
23#################################################################
24# Secrets.
25##############################################################
26image: timescale/timescaledb:2.1.1-pg13
27
28pullPolicy: Always
29containerPorts: 5432
30
31imagePullSecrets: []
32nameOverride: ""
33fullnameOverride: ""
34
35serviceAccount:
36 nameOverride: timescaledb
37 roles:
38 - read
39
40podSecurityContext: {}
41 # fsGroup: 2000
42
Bruno Sakotod0fa8cf2021-09-15 18:30:20 -040043securityContext:
44 # Uid and gid to run the entrypoint of the container process (uid 70 is postgres user and gid 70 is postgres group)
45 runAsUser: 70
46 runAsGroup: 70
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010047 # capabilities:
48 # drop:
49 # - ALL
50 # readOnlyRootFilesystem: true
51 # runAsNonRoot: true
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010052
53resources:
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:'.
58 limits:
59 cpu: 0.5
60 memory: 256Mi
61 requests:
62 cpu: 20m
63 memory: 256Mi
64
65nodeSelector: {}
66
67tolerations: []
68
69affinity: {}
70
71service:
72 type: ClusterIP
73 name: timescaledb
74 ports:
75 - name: tcp-timescaledb
76 port: 5432
77
78persistence:
79 enabled: true
80
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
84 # existingClaim:
85 volumeReclaimPolicy: Retain
86
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
94 size: 1Gi
95 mountPath: /dockerdata-nfs
96
97config:
98 pgUserName: timescaledb
99 pgRootUserName: postgres
100 pgDatabase: timescaledb
101
102secrets:
103 - uid: root-creds
104 type: basicAuth
105 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
106 login: '{{ .Values.config.pgRootUserName }}'
107 password: '{{ .Values.config.pgRootpassword }}'
108 - uid: user-creds
109 type: basicAuth
110 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
111 login: '{{ .Values.config.pgUserName }}'
112 password: '{{ .Values.config.pgUserPassword }}'
113