diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml index 9698a89b9..a352710f6 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml @@ -1,4 +1,10 @@ -{{ if .Values.catalog.mongodb }} +{{ $featureGates := .Values.featureGates }} +{{- if .Values.global }} + {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} +{{- end }} + +{{ if $featureGates.MongoDB }} + apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: