Skip to content

Commit

Permalink
revert replacement of storage key in config chart values for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zachariahmiller committed Dec 4, 2024
1 parent d75c29d commit 23bb948
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
8 changes: 4 additions & 4 deletions chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ spec:
- direction: Egress
selector:
app.kubernetes.io/name: mattermost-enterprise-edition
{{- if .Values.objectStorage.internal }}
remoteNamespace: {{ .Values.objectStorage.namespace | quote }}
{{- if .Values.storage.internal }}
remoteNamespace: {{ .Values.storage.namespace | quote }}
remoteSelector:
{{ .Values.objectStorage.selector | toYaml | nindent 10 }}
port: {{ .Values.objectStorage.port }}
{{ .Values.storage.selector | toYaml | nindent 10 }}
port: {{ .Values.storage.port }}
{{- else }}
remoteGenerated: Anywhere
{{- end }}
Expand Down
19 changes: 7 additions & 12 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
domain: "###ZARF_VAR_DOMAIN###"

objectStorage:
internal: true
selector:
app: minio
namespace: minio
port: 9000
secure: true
accessKey: ""
secretKey: ""
Expand Down Expand Up @@ -70,13 +65,13 @@ config:
# Additional environment variables for Mattermost
extraEnv: {}

# storage:
# # Set to false to use external storage
# internal: true
# selector:
# app: minio
# namespace: dev-minio
# port: 9000
storage:
# Set to false to use external storage
internal: true
selector:
app: minio
namespace: minio
port: 9000

# custom:
# # Notice no `remoteGenerated` field here on custom internal rule
Expand Down

0 comments on commit 23bb948

Please sign in to comment.