Skip to content

Commit

Permalink
adding gwc and df env var for gs-lb (#13)
Browse files Browse the repository at this point in the history
* adding gwc and df env var for gs-lb

* update versions of the chart
  • Loading branch information
jeanmi151 authored Nov 3, 2023
1 parent 52cd694 commit 7196b25
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geoserver-lb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: geoserver-lb
apiVersion: v2
description: A Helm chart for deploying geoserver loadbalanced
type: application
version: 0.4.2
version: 0.5.0
appVersion: "22.0.4"
60 changes: 60 additions & 0 deletions geoserver-lb/templates/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,66 @@ spec:
name: {{ .Values.database.geodata.auth.existingSecret }}
key: password
optional: false
- name: DF_PGHOST
valueFrom:
secretKeyRef:
name: {{ .Values.database.datafeeder.auth.existingSecret }}
key: host
optional: false
- name: DF_PGDATABASE
valueFrom:
secretKeyRef:
name: {{ .Values.database.datafeeder.auth.existingSecret }}
key: dbname
optional: false
- name: DF_PGPORT
valueFrom:
secretKeyRef:
name: {{ .Values.database.datafeeder.auth.existingSecret }}
key: port
optional: false
- name: DF_PGUSER
valueFrom:
secretKeyRef:
name: {{ .Values.database.datafeeder.auth.existingSecret }}
key: user
optional: false
- name: DF_PGPASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.database.datafeeder.auth.existingSecret }}
key: password
optional: false
- name: GWC_PGHOST
valueFrom:
secretKeyRef:
name: {{ .Values.database.gwc.auth.existingSecret }}
key: host
optional: false
- name: GWC_PGPORT
valueFrom:
secretKeyRef:
name: {{ .Values.database.gwc.auth.existingSecret }}
key: port
optional: false
- name: GWC_PGDATABASE
valueFrom:
secretKeyRef:
name: {{ .Values.database.gwc.auth.existingSecret }}
key: dbname
optional: false
- name: GWC_PGUSERNAME
valueFrom:
secretKeyRef:
name: {{ .Values.database.gwc.auth.existingSecret }}
key: user
optional: false
- name: GWC_PGPASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.database.gwc.auth.existingSecret }}
key: password
optional: false
{{- with .Values.geoserver.extra_environment }}
{{- . | toYaml | nindent 8 }}
{{- end }}
Expand Down
8 changes: 7 additions & 1 deletion geoserver-lb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ database:
existingSecret: mysecret
geodata:
auth:
existingSecret: mysecret
existingSecret: mysecret
datafeeder:
auth:
existingSecret: mysecret
gwc:
auth:
existingSecret: mysecret

0 comments on commit 7196b25

Please sign in to comment.