diff --git a/charts/flagsmith/Chart.yaml b/charts/flagsmith/Chart.yaml index b45cf67..01f1d3c 100644 --- a/charts/flagsmith/Chart.yaml +++ b/charts/flagsmith/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: flagsmith description: Flagsmith type: application -version: 0.52.0 +version: 0.53.0 appVersion: 2.134.1 dependencies: - name: postgresql diff --git a/charts/flagsmith/templates/extra-objects.yaml b/charts/flagsmith/templates/extra-objects.yaml new file mode 100644 index 0000000..fc9a76b --- /dev/null +++ b/charts/flagsmith/templates/extra-objects.yaml @@ -0,0 +1,8 @@ +{{ range .Values.extraObjects }} +--- +{{ if typeIs "string" . }} + {{- tpl . $ }} +{{- else }} + {{- tpl (toYaml .) $ }} +{{- end }} +{{ end }} diff --git a/charts/flagsmith/values.yaml b/charts/flagsmith/values.yaml index e99507e..54c7918 100644 --- a/charts/flagsmith/values.yaml +++ b/charts/flagsmith/values.yaml @@ -380,3 +380,18 @@ _destructiveTests: resources: requests: memory: 1Gi + +# -- Array of extra K8s manifests to deploy +## Note: Supports use of custom Helm templates +## Example: Deploying a CloudnativePG Postgres cluster for use with Flagmsith: +extraObjects: [] +# - | +# apiVersion: postgresql.cnpg.io/v1 +# kind: Cluster +# metadata: +# name: flagsmith +# namespace: {{ .Release.Namespace }} +# spec: +# instances: 3 +# storage: +# size: 10Gi \ No newline at end of file