diff --git a/charts/ftl/Chart.yaml b/charts/ftl/Chart.yaml index 1c2e75a..5adc524 100644 --- a/charts/ftl/Chart.yaml +++ b/charts/ftl/Chart.yaml @@ -3,8 +3,8 @@ name: ftl description: | A Helm chart for Kubernetes that deploys FTL home: https://github.com/block/ftl -version: 0.450.3 -appVersion: 0.450.3 +version: 0.451.0 +appVersion: 0.451.0 dependencies: - name: postgresql version: 15.5.38 diff --git a/charts/ftl/templates/provisioner-config-map.yaml b/charts/ftl/templates/provisioner-config-map.yaml index 5f17442..f09e45d 100644 --- a/charts/ftl/templates/provisioner-config-map.yaml +++ b/charts/ftl/templates/provisioner-config-map.yaml @@ -7,6 +7,8 @@ metadata: data: config.toml: | plugins = [ - { id = "cloudformation", resources = ["postgres", "mysql", "sql-migration", "topic", "subscription"] }, + {{- range .Values.provisioner.config.plugins }} + { id = "{{ .id }}", resources = [{{ range $index, $resource := .resources }}{{ if $index }}, {{ end }}"{{ $resource }}"{{ end }}] }, + {{- end }} ] {{- end}} \ No newline at end of file diff --git a/charts/ftl/values.yaml b/charts/ftl/values.yaml index 07553c4..efa6cbe 100644 --- a/charts/ftl/values.yaml +++ b/charts/ftl/values.yaml @@ -78,7 +78,17 @@ provisioner: tag: null pullPolicy: null name: "ftl-provisioner" - + config: + plugins: + - id: "cloudformation" + resources: + - "postgres" + - "sql-migration" + - "topic" + - "subscription" + - id: "sandbox" + resources: + - "mysql" envFrom: null serviceAccountName: ftl-provisioner