diff --git a/charts/lemmy/Chart.yaml b/charts/lemmy/Chart.yaml index e8dd339..9d81756 100644 --- a/charts/lemmy/Chart.yaml +++ b/charts/lemmy/Chart.yaml @@ -3,10 +3,10 @@ apiVersion: v2 name: lemmy description: A link aggregator and forum for the fediverse icon: https://join-lemmy.org/static/assets/images/lemmy.svg -appVersion: 0.18.4 +appVersion: 0.18.5 type: application -version: 0.4.4 +version: 0.4.5 maintainers: - name: Alexander Olofsson diff --git a/charts/lemmy/templates/secret-configuration.yaml b/charts/lemmy/templates/secret-configuration.yaml index 67339a0..a3d6c7e 100644 --- a/charts/lemmy/templates/secret-configuration.yaml +++ b/charts/lemmy/templates/secret-configuration.yaml @@ -50,4 +50,4 @@ data: {{- if not .Values.pictrs.existingSecret }} pictrs_apikey: {{ $pictrsApikey | b64enc }} {{- end }} - config.hjson: {{ $config | toPrettyJson | b64enc }} + config.hjson: {{ $config | merge (.Values.extraConfig | default dict) | toPrettyJson | b64enc }} diff --git a/charts/lemmy/values.yaml b/charts/lemmy/values.yaml index 6f70f79..471575a 100644 --- a/charts/lemmy/values.yaml +++ b/charts/lemmy/values.yaml @@ -31,6 +31,10 @@ config: ## Requires valid certificates, but is also required for federation support tls: true +## Extra configuration to merge into the main lemmy.hjson file +extraConfig: {} + # opentelemetry_url: http://otel:4137 + imagePullSecrets: [] nameOverride: "" fullnameOverride: ""