blob: 72a4b6ffd0afe963950535a43be4738657a2beec [file] [log] [blame]
puthuparambil.adityaf71e3652021-08-18 13:57:24 +01001# ============LICENSE_START=======================================================
Bruno Sakoto8bdc1e22022-01-07 16:10:27 -05002# Copyright (c) 2021 2022 Bell Canada.
puthuparambil.adityaf71e3652021-08-18 13:57:24 +01003# ================================================================================
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##############################################################
Bruno Sakoto8bdc1e22022-01-07 16:10:27 -050026image: timescale/timescaledb:2.5.1-pg14
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010027
28pullPolicy: Always
29containerPorts: 5432
30
31imagePullSecrets: []
32nameOverride: ""
33fullnameOverride: ""
34
35serviceAccount:
36 nameOverride: timescaledb
37 roles:
38 - read
39
Bruno Sakotod0fa8cf2021-09-15 18:30:20 -040040securityContext:
41 # Uid and gid to run the entrypoint of the container process (uid 70 is postgres user and gid 70 is postgres group)
Renu Kumaribc6eede2021-10-08 13:03:10 -040042 user_id: 70
43 group_id: 70
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010044 # capabilities:
45 # drop:
46 # - ALL
47 # readOnlyRootFilesystem: true
48 # runAsNonRoot: true
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010049
Renu Kumaribc6eede2021-10-08 13:03:10 -040050flavor: small
51
52#resources: {}
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:'.
57#
58# Example:
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
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010063resources:
Renu Kumaribc6eede2021-10-08 13:03:10 -040064 small:
65 limits:
66 cpu: 100m
67 memory: 300Mi
68 requests:
69 cpu: 10m
70 memory: 90Mi
71 large:
72 limits:
73 cpu: 2
74 memory: 4Gi
75 requests:
76 cpu: 1
77 memory: 2Gi
78 unlimited: {}
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010079
80nodeSelector: {}
81
82tolerations: []
83
84affinity: {}
85
86service:
87 type: ClusterIP
88 name: timescaledb
89 ports:
90 - name: tcp-timescaledb
91 port: 5432
92
93persistence:
94 enabled: true
95
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
99 # existingClaim:
100 volumeReclaimPolicy: Retain
101
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
109 size: 1Gi
110 mountPath: /dockerdata-nfs
111
112config:
113 pgUserName: timescaledb
114 pgRootUserName: postgres
115 pgDatabase: timescaledb
116
117secrets:
118 - uid: root-creds
119 type: basicAuth
120 externalSecret: '{{ tpl (default "" .Values.config.pgRootPasswordExternalSecret) . }}'
121 login: '{{ .Values.config.pgRootUserName }}'
122 password: '{{ .Values.config.pgRootpassword }}'
123 - uid: user-creds
124 type: basicAuth
125 externalSecret: '{{ tpl (default "" .Values.config.pgUserExternalSecret) . }}'
126 login: '{{ .Values.config.pgUserName }}'
127 password: '{{ .Values.config.pgUserPassword }}'