diff --git a/charts/influxdb3-clustered/Chart.yaml b/charts/influxdb3-clustered/Chart.yaml index efed53dd..da6d6a4b 100644 --- a/charts/influxdb3-clustered/Chart.yaml +++ b/charts/influxdb3-clustered/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 type: application -version: 0.1.7 -appVersion: " 20240925-1257864" +version: 0.1.8 +appVersion: "20240925-1257864" name: influxdb3-clustered description: InfluxDB 3.0 Clustered maintainers: diff --git a/charts/influxdb3-clustered/templates/app-instance.yml b/charts/influxdb3-clustered/templates/app-instance.yml index 24d726fa..6d2a92b2 100644 --- a/charts/influxdb3-clustered/templates/app-instance.yml +++ b/charts/influxdb3-clustered/templates/app-instance.yml @@ -1,3 +1,4 @@ +{{- define "app-instance.influxdb" -}} apiVersion: kubecfg.dev/v1alpha1 kind: AppInstance metadata: @@ -65,4 +66,19 @@ spec: {{- end}} {{- if .Values.featureFlags}} featureFlags: {{.Values.featureFlags | toYaml | nindent 6}} - {{- end}} \ No newline at end of file + {{- end}} +--- +{{- end }} + +{{- if .Values.kubitSingleNamespace}} +apiVersion: v1 +kind: ConfigMap +metadata: + name: app-instance + namespace: {{ .Values.NamspaceOverride | default .Release.Namespace }} +data: + app-instance: | + {{ include "app-instance.influxdb" . | fromYaml | toJson }} +{{- else }} +{{ include "app-instance.influxdb" . }} +{{- end }} diff --git a/charts/influxdb3-clustered/values.yaml b/charts/influxdb3-clustered/values.yaml index 6afd5817..9cd22a29 100644 --- a/charts/influxdb3-clustered/values.yaml +++ b/charts/influxdb3-clustered/values.yaml @@ -9,7 +9,7 @@ nameOverride: "" namespaceOverride: "" fullnameOverride: "" kubitSingleNamespace: false -operatorImageVersion: "v0.0.19" +operatorImageVersion: "v0.0.20" operatorImageOverride: "" # set to true if you have previously installed the kubit operator from another source