Skip to content

Commit b3bfd1f

Browse files
committed
Merge pull request #4 from LinuxForHealth/lee-main
update sample usage section with new postgresql values
2 parents 04fc277 + 438a688 commit b3bfd1f

File tree

3 files changed

+48
-22
lines changed

3 files changed

+48
-22
lines changed

charts/fhir-server/Chart.yaml

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: Helm chart for the LinuxForHealth FHIR Server
33
name: fhir-server
4-
version: 0.9.0
4+
version: 0.9.1
55
appVersion: 5.1.1
66
dependencies:
77
- name: postgresql
@@ -26,14 +26,4 @@ annotations:
2626
# When using the list of objects option the valid supported kinds are
2727
# added, changed, deprecated, removed, fixed, and security.
2828
- kind: changed
29-
description: bumped to LinuxForHealth version 5.1.1
30-
- kind: changed
31-
description: bumped to codecentric keycloak chart version 18.4.0
32-
- kind: changed
33-
description: bumped to bitnami postgresql chart version 11.9.13
34-
- kind: changed
35-
description: split db user creds in two; now uses separate admin user for schematool
36-
- kind: removed
37-
description: support for Db2 and all Db2-related values
38-
- kind: removed
39-
description: support for networking.k8s.io/v1/beta (kubernetes <1.19)
29+
description: README updates

charts/fhir-server/README.md

+23-5
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,35 @@ with a focus on performance and configurability.
99
This helm chart will help you install the LinuxForHealth FHIR Server in a Kubernetes environment and uses
1010
ConfigMaps and Secrets to support the wide range of configuration options available for the server.
1111

12+
This chart requires a minimum helm version of 3.7.0.
13+
1214
## Sample usage
1315

1416
```sh
1517
helm repo add linuxforhealth https://linuxforhealth.github.io/lfh-helm
16-
export POSTGRES_PASSWORD=$(openssl rand -hex 20)
17-
helm upgrade --install --render-subchart-notes fhir-server linuxforhealth/fhir-server --set postgresql.postgresqlPassword=${POSTGRES_PASSWORD} --set ingress.hostname=example.com --set 'ingress.tls[0].secretName=cluster-tls-secret'
18+
export POSTGRES_ADMIN_PASSWORD=$(openssl rand -hex 20)
19+
export POSTGRES_USER_PASSWORD=$(openssl rand -hex 20)
20+
helm upgrade --install --render-subchart-notes fhir-server linuxforhealth/fhir-server \
21+
--set postgresql.auth.postgresPassword=${POSTGRES_ADMIN_PASSWORD} \
22+
--set postgresql.auth.password=${POSTGRES_USER_PASSWORD} \
23+
--set ingress.hostname=example.com \
24+
--set 'ingress.tls[0].secretName=cluster-tls-secret'
1825
```
1926

20-
This will install the latest version if the LinuxForHealth FHIR Server using an included PostgreSQL database for persistence.
21-
Note that `postgresql.postgresqlPassword` must be set for all upgrades that use the embedded postgresql chart,
22-
otherwise [the postgresql password will be overwritten and lost](https://artifacthub.io/packages/helm/bitnami/postgresql#troubleshooting).
27+
This will install the latest version of the LinuxForHealth FHIR Server using an included PostgreSQL database for persistence.
28+
29+
Note that, to upgrade, either:
30+
31+
* `postgresql.auth.postgresPassword` and `postgresql.auth.password` must be set to these same values (`$POSTGRES_ADMIN_PASSWORD` and `$POSTGRES_USER_PASSWORD` respectively); or
32+
* `postgresql.auth.existingSecret` must be set to the name of the secret created from the initial installation.
33+
34+
Otherwise the passwords in the secret may become [out-of-sync](https://docs.bitnami.com/general/how-to/troubleshoot-helm-chart-issues/#credential-errors-while-upgrading-chart-releases)
35+
with the passwords in the persistent volume claim.
36+
37+
Often it is easiest to specify a [values override file](https://helm.sh/docs/chart_template_guide/values_files),
38+
as opposed to setting the values from the command line on each installation / upgrade.
39+
40+
### Transport Layer Security
2341

2442
By default, the LinuxForHealth FHIR Server will only serve HTTPS traffic.
2543
With the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx),

charts/fhir-server/README.md.gotmpl

+23-5
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,35 @@ with a focus on performance and configurability.
99
This helm chart will help you install the LinuxForHealth FHIR Server in a Kubernetes environment and uses
1010
ConfigMaps and Secrets to support the wide range of configuration options available for the server.
1111

12+
This chart requires a minimum helm version of 3.7.0.
13+
1214
## Sample usage
1315

1416
```sh
1517
helm repo add linuxforhealth https://linuxforhealth.github.io/lfh-helm
16-
export POSTGRES_PASSWORD=$(openssl rand -hex 20)
17-
helm upgrade --install --render-subchart-notes fhir-server linuxforhealth/fhir-server --set postgresql.postgresqlPassword=${POSTGRES_PASSWORD} --set ingress.hostname=example.com --set 'ingress.tls[0].secretName=cluster-tls-secret'
18+
export POSTGRES_ADMIN_PASSWORD=$(openssl rand -hex 20)
19+
export POSTGRES_USER_PASSWORD=$(openssl rand -hex 20)
20+
helm upgrade --install --render-subchart-notes fhir-server linuxforhealth/fhir-server \
21+
--set postgresql.auth.postgresPassword=${POSTGRES_ADMIN_PASSWORD} \
22+
--set postgresql.auth.password=${POSTGRES_USER_PASSWORD} \
23+
--set ingress.hostname=example.com \
24+
--set 'ingress.tls[0].secretName=cluster-tls-secret'
1825
```
1926

20-
This will install the latest version if the LinuxForHealth FHIR Server using an included PostgreSQL database for persistence.
21-
Note that `postgresql.postgresqlPassword` must be set for all upgrades that use the embedded postgresql chart,
22-
otherwise [the postgresql password will be overwritten and lost](https://artifacthub.io/packages/helm/bitnami/postgresql#troubleshooting).
27+
This will install the latest version of the LinuxForHealth FHIR Server using an included PostgreSQL database for persistence.
28+
29+
Note that, to upgrade, either:
30+
31+
* `postgresql.auth.postgresPassword` and `postgresql.auth.password` must be set to these same values (`$POSTGRES_ADMIN_PASSWORD` and `$POSTGRES_USER_PASSWORD` respectively); or
32+
* `postgresql.auth.existingSecret` must be set to the name of the secret created from the initial installation.
33+
34+
Otherwise the passwords in the secret may become [out-of-sync](https://docs.bitnami.com/general/how-to/troubleshoot-helm-chart-issues/#credential-errors-while-upgrading-chart-releases)
35+
with the passwords in the persistent volume claim.
36+
37+
Often it is easiest to specify a [values override file](https://helm.sh/docs/chart_template_guide/values_files),
38+
as opposed to setting the values from the command line on each installation / upgrade.
39+
40+
### Transport Layer Security
2341

2442
By default, the LinuxForHealth FHIR Server will only serve HTTPS traffic.
2543
With the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx),

0 commit comments

Comments
 (0)