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
40
k8s/charts/miniflux/templates/configmap.yaml
Normal file
40
k8s/charts/miniflux/templates/configmap.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue