From 7fcc38947431fff35531e6bc129d215652fb8120 Mon Sep 17 00:00:00 2001 From: Rhea Danzey Date: Fri, 20 Sep 2024 13:31:21 -0500 Subject: [PATCH] Add configuration to use extra arguments with dendrite command Signed-off-by: Rhea Danzey --- helm/dendrite/templates/deployment.yaml | 3 +++ helm/dendrite/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/helm/dendrite/templates/deployment.yaml b/helm/dendrite/templates/deployment.yaml index 718f6457b..3952f4a7c 100644 --- a/helm/dendrite/templates/deployment.yaml +++ b/helm/dendrite/templates/deployment.yaml @@ -56,6 +56,9 @@ spec: args: - '--config' - '/etc/dendrite/dendrite.yaml' + {{- with .Values.extraArgs }} + {{- toYaml . | nindent 10 }} + {{- end }} ports: - name: http containerPort: 8008 diff --git a/helm/dendrite/values.yaml b/helm/dendrite/values.yaml index b68d9c182..02cd1aa13 100644 --- a/helm/dendrite/values.yaml +++ b/helm/dendrite/values.yaml @@ -77,6 +77,9 @@ persistence: # GKE, AWS & OpenStack) storageClass: +# -- Add additional arguments to the dendrite command +extraArgs: [] + # -- Add additional volumes to the Dendrite Pod extraVolumes: [] # ex.