Skip to content

Commit

Permalink
Simplified opmet backend env variable configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
kasarit committed Nov 5, 2024
1 parent aa6bd32 commit dc63760
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/geoweb-opmet-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.6.0
version: 3.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/geoweb-opmet-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ The following table lists the configurable parameters of the Opmet backend chart

| Chart version | opmet version |
|---------------|---------------|
| 3.7.0 | 3.0.1 |
| 3.6.0 | 3.0.1 |
| 3.5.4 | 3.0.1 |
| 3.5.3 | 3.0.0 |
Expand Down
24 changes: 3 additions & 21 deletions charts/geoweb-opmet-backend/templates/opmet-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,6 @@ metadata:
{{- end }}
data:
VERSION: {{ default .Chart.AppVersion .Values.versions.opmet | quote }}
{{- if .Values.opmet.env.MESSAGECONVERTER_URL }}
MESSAGECONVERTER_URL: {{ .Values.opmet.env.MESSAGECONVERTER_URL | quote }}
{{- end }}
{{- if .Values.opmet.env.PUBLISHER_URL }}
PUBLISHER_URL: {{ .Values.opmet.env.PUBLISHER_URL | quote }}
{{- end }}
{{- if .Values.opmet.env.APPLICATION_ROOT_PATH }}
APPLICATION_ROOT_PATH: {{ .Values.opmet.env.APPLICATION_ROOT_PATH | quote }}
{{- end }}
{{- if .Values.opmet.env.OPMET_BACKEND_PORT_HTTP }}
OPMET_BACKEND_PORT_HTTP: {{ .Values.opmet.env.OPMET_BACKEND_PORT_HTTP | quote }}
{{- end }}
{{- if .Values.opmet.env.BACKEND_CONFIG }}
BACKEND_CONFIG: {{ .Values.opmet.env.BACKEND_CONFIG | quote }}
{{- end }}
{{- if .Values.opmet.env.SIGMET_CONFIG }}
SIGMET_CONFIG: {{ .Values.opmet.env.SIGMET_CONFIG | quote }}
{{- end }}
{{- if .Values.opmet.env.AIRMET_CONFIG }}
AIRMET_CONFIG: {{ .Values.opmet.env.AIRMET_CONFIG | quote }}
{{- end }}
{{- range $key, $value := .Values.opmet.env }}
{{ $key | upper }}: {{ $value | quote }}
{{- end }}

0 comments on commit dc63760

Please sign in to comment.