- 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
40 lines
1.8 KiB
YAML
40 lines
1.8 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "miniflux.fullname" . }}-config
|
|
labels:
|
|
{{- include "miniflux.labels" . | nindent 4 }}
|
|
data:
|
|
{{- if .Values.miniflux.config.database.url }}
|
|
DATABASE_URL: {{ .Values.miniflux.config.database.url | quote }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.general.runMigrations }}
|
|
RUN_MIGRATIONS: {{ .Values.miniflux.config.general.runMigrations | quote }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.general.createAdmin }}
|
|
CREATE_ADMIN: {{ .Values.miniflux.config.general.createAdmin | quote }}
|
|
{{- end }}
|
|
WORKER_POOL_SIZE: {{ .Values.miniflux.config.general.workerPoolSize | quote }}
|
|
POLLING_FREQUENCY: {{ .Values.miniflux.config.general.pollingFrequency | quote }}
|
|
BATCH_SIZE: {{ .Values.miniflux.config.general.batchSize | quote }}
|
|
{{- if .Values.miniflux.config.oauth2.enabled }}
|
|
OAUTH2_PROVIDER: {{ .Values.miniflux.config.oauth2.provider | quote }}
|
|
{{- if .Values.miniflux.config.oauth2.redirectUrl }}
|
|
OAUTH2_REDIRECT_URL: {{ .Values.miniflux.config.oauth2.redirectUrl | quote }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.oauth2.oidcDiscoveryEndpoint }}
|
|
OAUTH2_OIDC_DISCOVERY_ENDPOINT: {{ .Values.miniflux.config.oauth2.oidcDiscoveryEndpoint | quote }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.oauth2.userCreation }}
|
|
OAUTH2_USER_CREATION: {{ .Values.miniflux.config.oauth2.userCreation | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.metrics.enabled }}
|
|
METRICS_COLLECTOR: {{ .Values.miniflux.config.metrics.enabled | quote }}
|
|
{{- if .Values.miniflux.config.metrics.allowedNetworks }}
|
|
METRICS_ALLOWED_NETWORKS: {{ .Values.miniflux.config.metrics.allowedNetworks | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .Values.miniflux.config.youtube.fetchWatchTime }}
|
|
FETCH_YOUTUBE_WATCH_TIME: {{ .Values.miniflux.config.youtube.fetchWatchTime | quote }}
|
|
{{- end }}
|