Skip to content

Commit a89eded

Browse files
committed
fix postgresql password
1 parent ea38375 commit a89eded

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## 0.6.0
9+
10+
### Fixed
11+
- bitnami legacy postgresql image
12+
- could not find passsword for postgresql
13+
814
## 0.5.5
915

1016
### Fixed
@@ -40,4 +46,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4046

4147
## Added
4248
- initial release of the BETY helm chart.
43-
- build on bety 5.4.1
49+
- build on bety 5.4.1

Chart.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ name: betydb
66
icon: https://isda.ncsa.illinois.edu/~kooper/charts/images/betydb.png
77
home: https://www.betydb.org
88
description: >
9-
Web-interface to the Biofuel Ecophysiological Traits and Yields Database
9+
Web-interface to the Biofuel Ecophysiological Traits and Yields Database
1010
(used by PEcAn and TERRA REF)
1111
1212
# This is the chart version. This version number should be incremented each time you make changes
1313
# to the chart and its templates, including the app version.
1414
# Versions are expected to follow Semantic Versioning (https://semver.org/)
15-
version: 0.5.5
15+
version: 0.6.0
1616

1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
@@ -33,14 +33,15 @@ sources:
3333
# Dependencies for chart. Some of the dependencies are only installed if they
3434
# are enabled.
3535
dependencies:
36-
- name: postgresql
37-
version: ~11
38-
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
39-
condition: postgres.enabled
36+
- name: postgresql
37+
version: ~11
38+
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
39+
condition: postgres.enabled
4040

4141
annotations:
4242
artifacthub.io/links: |
4343
- name: Helm Chart
4444
url: https://github.com/pecanproject/bety-helm
4545
artifacthub.io/changes: |
46-
- use bitnami legacy postgresql image
46+
- bitnami legacy postgresql image
47+
- could not find passsword for postgresql

templates/_helpers.tpl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,9 @@ Environment variables for PostgreSQL
7979
- name: PGPASSWORD
8080
valueFrom:
8181
secretKeyRef:
82-
{{- if .Values.postgresql.enabled }}
83-
name: {{ .Release.Name }}-postgresql
84-
key: postgres-password
85-
{{- else }}
8682
name: {{ include "betydb.fullname" . }}
8783
key: postgresqlPassword
8884
{{- end }}
89-
{{- end }}
9085

9186
{{/*
9287
Environment variables for BetyDB

templates/secrets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
{{- include "betydb.labels" . | nindent 4 }}
77
type: Opaque
88
data:
9-
{{- if and (not .Values.postgresql.enabled) .Values.postgresql.postgresqlPassword }}
10-
postgresqlPassword: {{ .Values.postgresql.postgresqlPassword | b64enc | quote }}
9+
{{- if and (not .Values.postgresql.enabled) .Values.postgresql.auth.password }}
10+
postgresqlPassword: {{ .Values.postgresql.auth.password | b64enc | quote }}
1111
{{- end }}
1212
betyPassword: {{ .Values.betyPassword | b64enc | quote }}
1313
secretKey: {{ .Values.secretKey | b64enc | quote }}

0 commit comments

Comments
 (0)