Skip to content

Commit

Permalink
[XENOPS-1229] disable pvc creation for shared-file-system in case of …
Browse files Browse the repository at this point in the history
…community edition (#168)

* [XENOPS-1229] remove shared-file-store pvc

* [XENOPS-1229] remove shared-file-store pvc

* [XENOPS-1229] remove shared-file-store pvc
  • Loading branch information
gert-glassee authored Nov 26, 2024
1 parent 4f8f9b2 commit f049aae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
chronology things are added/fixed/changed and - where possible - links to the PRs involved.

### Changes
[v0.8.4]
* do not create a pvc for shared-file-store when enterprise=false

[v0.8.3]
* fixed a bug that caused the ingress annotations to miss necessary quotes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{{- $namespace := .Release.Namespace -}}
{{- if .Values.general.enterprise }}
{{- with .Values.persistentStorage.sharedFileStore }}
{{- if .enabled}}
{{- if .enabled }}
{{- $name := "shared-file-store" -}}
{{- $storageClassName := .storageClassName -}}
{{- $storage := .storage -}}
{{- $efsVolumeHandle := .efs.volumeHandle -}}
{{- include "hepers.volumeHelper" (list $namespace $name $storageClassName $storage $efsVolumeHandle) }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit f049aae

Please sign in to comment.