mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
* fix(helm): move rotationPolicy under privateKey for cert-manager compatibility * docs(helm): add reclaimPolicy Retain guidance for production database storage * fix(helm): prevent empty branding ConfigMap creation
26 lines
743 B
YAML
26 lines
743 B
YAML
{{- if and .Values.branding.enabled (or .Values.branding.files .Values.branding.binaryFiles) }}
|
|
---
|
|
# Branding ConfigMap
|
|
# Mounts custom branding assets (logos, CSS, etc.) into the application
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "sim.fullname" . }}-branding
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "sim.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: branding
|
|
{{- if .Values.branding.files }}
|
|
data:
|
|
{{- range $key, $value := .Values.branding.files }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .Values.branding.binaryFiles }}
|
|
binaryData:
|
|
{{- range $key, $value := .Values.branding.binaryFiles }}
|
|
{{ $key }}: {{ $value }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|