Skip to content

Commit bea9a28

Browse files
authored
Merge pull request #2 from LinuxForHealth/lee-main
add optional ingress.ingressClassName config
2 parents d0a67ec + be00574 commit bea9a28

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

charts/fhir-server/Chart.yaml

+4-4
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.8.1
4+
version: 0.8.2
55
appVersion: 5.0.0
66
dependencies:
77
- name: postgresql
@@ -25,7 +25,7 @@ annotations:
2525
artifacthub.io/changes: |
2626
# When using the list of objects option the valid supported kinds are
2727
# added, changed, deprecated, removed, fixed, and security.
28-
- kind: fixed
29-
description: schematool should use its own container resources config
28+
- kind: added
29+
description: optional ingress.ingressClassName config
3030
- kind: changed
31-
description: updated default requests and limits for schematool job
31+
description: added user and db secret checksums to deployment

charts/fhir-server/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
![Version: 0.8.1](https://img.shields.io/badge/Version-0.8.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square)
2+
![Version: 0.8.2](https://img.shields.io/badge/Version-0.8.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square)
33

44
# The LinuxForHealth FHIR Server Helm Chart
55

@@ -254,6 +254,7 @@ If a truststore Secret is specified, the default truststore file will be replace
254254
| ingress.annotations | object | `{}` | |
255255
| ingress.enabled | bool | `true` | |
256256
| ingress.hostname | string | `"{{ .Release.Name }}.example.com"` | The default cluster hostname, used for both ingress.rules.host and ingress.tls.hosts. If you have more than one, you'll need to set overrides for the rules and tls separately. |
257+
| ingress.ingressClassName | string | `nil` | The name of the Ingress Class associated with this ingress |
257258
| ingress.rules[0].host | string | `"{{ tpl $.Values.ingress.hostname $ }}"` | |
258259
| ingress.rules[0].paths[0].path | string | `"/"` | |
259260
| ingress.rules[0].paths[0].pathType | string | `"Prefix"` | |

charts/fhir-server/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
app.kubernetes.io/component: server
1919
annotations:
2020
checksum/config: {{ include (print $.Template.BasePath "/configMap.yaml") . | sha256sum }}
21+
checksum/secret: {{ include (print $.Template.BasePath "/fhir-db-secret.yaml") . | sha256sum }}
22+
checksum/secret: {{ include (print $.Template.BasePath "/fhir-user-secret.yaml") . | sha256sum }}
2123
spec:
2224
volumes:
2325
- name: fhir-server-config

charts/fhir-server/templates/ingress.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ metadata:
1313
{{- end }}
1414
{{- end }}
1515
spec:
16+
{{- if .Values.ingress.ingressClassName }}
17+
ingressClassName: {{ .Values.ingress.ingressClassName }}
18+
{{- end }}
1619
rules:
1720
{{- range .Values.ingress.rules }}
1821
- host: {{ tpl .host $ | quote }}

charts/fhir-server/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ objectStorage:
346346
batchIdEncryptionKey:
347347
ingress:
348348
enabled: true
349+
# -- The name of the Ingress Class associated with this ingress
350+
ingressClassName:
349351
annotations: {}
350352
# -- The default cluster hostname, used for both ingress.rules.host and ingress.tls.hosts.
351353
# If you have more than one, you'll need to set overrides for the rules and tls separately.

0 commit comments

Comments
 (0)