feat(helm): complete chart normalization with ConfigMap, HPA, and OCI migration
- Added debug mode, structured ConfigMap pattern, and README to all charts - Migrated all flat-structure charts to hierarchical values under chartname key - Fixed templates to use correct hierarchical paths - Renamed helm-rustical key to rustical, added HPA support - Fixed ingress YAML parsing (oxicloud), nested env vars (rustical) - Pushed all normalized charts to OCI registry as 1.0.0+ and updated ArgoCD apps
This commit is contained in:
parent
d0f40c0967
commit
1fd2bfef3d
71 changed files with 2150 additions and 965 deletions
37
k8s/charts/vaultwarden/templates/configmap.yaml
Normal file
37
k8s/charts/vaultwarden/templates/configmap.yaml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "vaultwarden.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "vaultwarden.labels" . | nindent 4 }}
|
||||
data:
|
||||
{{- if .Values.vaultwarden.config.database.url }}
|
||||
DATABASE_URL: {{ .Values.vaultwarden.config.database.url | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.enableWal }}
|
||||
DB_ENABLE_WAL: {{ .Values.vaultwarden.config.database.enableWal | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.connectionRetries }}
|
||||
DB_CONNECTION_RETRIES: {{ .Values.vaultwarden.config.database.connectionRetries | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.timeout }}
|
||||
DB_TIMEOUT: {{ .Values.vaultwarden.config.database.timeout | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.idleTimeout }}
|
||||
DB_IDLE_TIMEOUT: {{ .Values.vaultwarden.config.database.idleTimeout | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.minConns }}
|
||||
DB_MIN_CONNS: {{ .Values.vaultwarden.config.database.minConns | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.maxConns }}
|
||||
DB_MAX_CONNS: {{ .Values.vaultwarden.config.database.maxConns | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.database.connInit }}
|
||||
DB_CONN_INIT: {{ .Values.vaultwarden.config.database.connInit | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.webVault.enabled }}
|
||||
WEB_VAULT_ENABLED: {{ .Values.vaultwarden.config.webVault.enabled | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.vaultwarden.config.webVault.folder }}
|
||||
WEB_VAULT_FOLDER: {{ .Values.vaultwarden.config.webVault.folder | quote }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue