Skip to content

Commit

Permalink
use correct way to describe extra volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Mar 22, 2024
1 parent 462d5c9 commit 1cb6c6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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.5.1
version: 0.6.0
appVersion: "22.0.4"
11 changes: 4 additions & 7 deletions geoserver-lb/templates/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ spec:
- name: geoserver-geodata
persistentVolumeClaim:
claimName: georchestra-geoserver-geodata
{{- range .Values.geoserver.extra_volumes }}
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .claimName }}
{{- if .Values.geoserver.extra_volumes }}
{{ .Values.geoserver.extra_volumes | toYaml | nindent 6 }}
{{- end }}
{{- with .Values.geoserver.pull_secret }}
imagePullSecrets:
Expand Down Expand Up @@ -239,9 +237,8 @@ spec:
name: geoserver-webapp
- mountPath: /mnt/geoserver_tiles
name: geoserver-tiles
{{- range .Values.geoserver.extra_volumes }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
{{- if .Values.geoserver.extra_volumeMounts }}
{{ .Values.geoserver.extra_volumeMounts | toYaml | nindent 10 }}
{{- end }}
- name: geoserver-reload
image: {{ .Values.geoserver.reloader.docker_image }}
Expand Down

0 comments on commit 1cb6c6e

Please sign in to comment.