@@ -6,7 +6,7 @@ metadata:
66 labels :
77 app : coturn-pgbouncer
88spec :
9- replicas : {{ .Values.coturn. pgbouncer.replicas }}
9+ replicas : {{ .Values.pgbouncer.replicas }}
1010 selector :
1111 matchLabels :
1212 app : coturn-pgbouncer
@@ -17,43 +17,43 @@ spec:
1717 spec :
1818 containers :
1919 - name : pgbouncer
20- mage : {{ .Values.coturn. pgbouncer.image.repository }}:{{ .Values.coturn .pgbouncer.image.tag }}
21- imagePullPolicy : {{ .Values.coturn. pgbouncer.image.pullPolicy }}
20+ mage : {{ .Values.pgbouncer.image.repository }}:{{ .Values.pgbouncer.image.tag }}
21+ imagePullPolicy : {{ .Values.pgbouncer.image.pullPolicy }}
2222 resources :
23- {{ toYaml .Values.coturn. pgbouncer.resources | nindent 10 }}
23+ {{ toYaml .Values.pgbouncer.resources | nindent 10 }}
2424 env :
2525 - name : PGBOUNCER_PORT
2626 value : " 5432"
2727 - name : POSTGRESQL_HOST
28- value : {{ .Values.coturn. postgres.host | quote }}
28+ value : {{ .Values.postgres.host | quote }}
2929 - name : PGBOUNCER_DATABASE
30- value : {{ .Values.coturn. postgres.dbname | quote }}
30+ value : {{ .Values.postgres.dbname | quote }}
3131 - name : POSTGRESQL_USERNAME
32- value : {{ .Values.coturn. postgres.user | quote }}
32+ value : {{ .Values.postgres.user | quote }}
3333 - name : POSTGRESQL_PASSWORD
34- value : {{ .Values.coturn. postgres.password | quote }}
34+ value : {{ .Values.postgres.password | quote }}
3535 - name : PGBOUNCER_AUTH_TYPE
36- value : {{ .Values.coturn. pgbouncer.authType | quote }}
36+ value : {{ .Values.pgbouncer.authType | quote }}
3737 - name : PGBOUNCER_MAX_CLIENT_CONN
38- value : {{ .Values.coturn. pgbouncer.maxClientConn | quote }}
38+ value : {{ .Values.pgbouncer.maxClientConn | quote }}
3939 - name : PGBOUNCER_DEFAULT_POOL_SIZE
40- value : {{ .Values.coturn. pgbouncer.poolSize | quote }}
40+ value : {{ .Values.pgbouncer.poolSize | quote }}
4141 - name : PGBOUNCER_POOL_MODE
42- value : {{ .Values.coturn. pgbouncer.poolMode | quote }}
42+ value : {{ .Values.pgbouncer.poolMode | quote }}
4343 ports :
4444 - containerPort : 5432
4545 name : pgbouncer
4646 protocol : TCP
47- {{- if .Values.coturn. pgbouncer.nodeSelector }}
47+ {{- if .Values.pgbouncer.nodeSelector }}
4848 nodeSelector :
49- {{ toYaml .Values.coturn. pgbouncer.nodeSelector | nindent 8 }}
49+ {{ toYaml .Values.pgbouncer.nodeSelector | nindent 8 }}
5050 {{- end }}
51- {{- if .Values.coturn. pgbouncer.tolerations }}
51+ {{- if .Values.pgbouncer.tolerations }}
5252 tolerations :
53- {{ toYaml .Values.coturn. pgbouncer.tolerations | nindent 8 }}
53+ {{ toYaml .Values.pgbouncer.tolerations | nindent 8 }}
5454 {{- end }}
55- {{- if .Values.coturn. pgbouncer.affinity }}
55+ {{- if .Values.pgbouncer.affinity }}
5656 affinity :
57- {{ toYaml .Values.coturn. pgbouncer.affinity | nindent 8 }}
57+ {{ toYaml .Values.pgbouncer.affinity | nindent 8 }}
5858 {{- end }}
5959 terminationGracePeriodSeconds : 10
0 commit comments