File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ dependencies:
22- name: postgresql
33 repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
44 version: 8.9.9
5- digest: sha256:526629d1646df6a72d4414adc89f3728f0e97e37a4e8ac65036c51e06361c7bb
6- generated: "2022-06-22T22:35:06.775527-05 :00"
5+ digest: sha256:9bf0731393755a97be066c786f40dd92f7a640137658a129a37c29cedd7d6560
6+ generated: "2023-02-27T22:24:29.970340243-07 :00"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencies:
3636- name : postgresql
3737 version : ~8.9
3838 repository : https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
39- condition : postgres .enabled
39+ condition : postgresql .enabled
4040
4141annotations :
4242 artifacthub.io/links : |
Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ The following table lists the configurable parameters of the Bety chart and thei
8686| ` betyPassword ` | Password value for bety.password | ` bety ` |
8787| ` betyDatabase ` | Name of the database for bety.database | ` bety ` |
8888
89+ ### OpenShift/Kubernetes parameters
90+
91+ | Parameter | Description | Default |
92+ | -----------------------------------| ----------------------------------------------------------| --------------------------------|
93+ | ` serviceAccountName ` | Add a serviceAccountName to the deployment | `` |
94+
8995### Ingress parameters
9096
9197| Parameter | Description | Default |
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ Environment variables for PostgreSQL
7474 value: { { include " betydb.postgresqlHost" . | quote } }
7575- name: PGPORT
7676 value: { { include " betydb.postgresqlPort" . | quote } }
77+ - name: PGDATABASE
78+ value: { { .Values.postgresql.postgresqlDatabase | default " postgres" | quote } }
7779- name: PGUSER
7880 value: { { .Values.postgresql.postgresqlUsername | default " postgres" | quote } }
7981- name: PGPASSWORD
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ spec:
100100 nodeSelector :
101101 {{- toYaml . | nindent 8 }}
102102 {{- end }}
103+ {{- with .Values.serviceAccountName }}
104+ serviceAccountName : {{ . }}
105+ {{- end }}
103106 {{- with .Values.affinity }}
104107 affinity :
105108 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change 1+ {{- if .Values.externalSecret }}
12apiVersion : v1
23kind : Secret
34metadata :
1112{{- end }}
1213 betyPassword : {{ .Values.betyPassword | b64enc | quote }}
1314 secretKey : {{ .Values.secretKey | b64enc | quote }}
15+ {{- end }}
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ betyDatabase: bety
3939# # changed users will not be able to login with their existing passwords.
4040secretKey : thisisnotasecret
4141
42+ # # Set to true if you will be managing the `betydb` secret with external secrets.
43+ # # The `betydb` secret includes `betyPassword`, `postgresqlPassword`,
44+ # # and `secretKey`.
45+ externalSecret : false
46+
4247# # dbtag is the tag of the database to load. Normally will use latest to
4348# # make sure latest tag is loaded, this might not work with an older database.
4449# # set this to "" to not load the database
@@ -107,6 +112,9 @@ postgresql:
107112 # # not saved in the database.
108113 postgresqlPassword : supersecret
109114
115+ # # postgresqlDatabase postgresql database to connect to load the database
116+ postgresqlDatabase : postgres
117+
110118 # need more space
111119 persistence :
112120 size : 20Gi
@@ -169,6 +177,10 @@ resources: {}
169177# # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
170178nodeSelector : {}
171179
180+ # # Service Account Name
181+ # # ref: https://kubernetes.io/docs/concepts/security/service-accounts/
182+ serviceAccountName : " "
183+
172184# # Tolerations
173185# # ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
174186tolerations : []
You can’t perform that action at this time.
0 commit comments