diff --git a/catalog/kubedb/active_versions.json b/catalog/kubedb/active_versions.json index 393b092c1..7360c0836 100644 --- a/catalog/kubedb/active_versions.json +++ b/catalog/kubedb/active_versions.json @@ -97,6 +97,7 @@ "1.5.22" ], "MongoDB": [ + "8.0.4", "8.0.3", "7.0.8", "7.0.5", diff --git a/catalog/kubedb/raw/mongodb/mongodb-8.0.4-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-8.0.4-official.yaml new file mode 100644 index 000000000..2c230524b --- /dev/null +++ b/catalog/kubedb/raw/mongodb/mongodb-8.0.4-official.yaml @@ -0,0 +1,41 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: 8.0.4 +spec: + archiver: + addon: + name: mongodb-addon + tasks: + fullBackup: + name: logical-backup + fullBackupRestore: + name: logical-backup-restore + manifestBackup: + name: manifest-backup + manifestRestore: + name: manifest-restore + volumeSnapshot: + name: volume-snapshot + walg: + image: ghcr.io/kubedb/wal-g:v2024.5.24_mongo + db: + image: ghcr.io/appscode-images/mongo:8.0.4 + distribution: Official + exporter: + image: ghcr.io/kubedb/mongodb_exporter:v0.40.0 + gitSyncer: + image: registry.k8s.io/git-sync/git-sync:v4.2.1 + initContainer: + image: ghcr.io/kubedb/mongodb-init:6.0-v10 + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: ghcr.io/kubedb/replication-mode-detector:v0.36.0 + securityContext: + runAsGroup: 999 + runAsUser: 999 + ui: + - name: mongo-ui + version: v2024.4.27 + version: 8.0.4 diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-8.0.4-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-8.0.4-official.yaml new file mode 100644 index 000000000..1d16bc17a --- /dev/null +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-8.0.4-official.yaml @@ -0,0 +1,51 @@ +{{ $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: + name: '8.0.4' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + archiver: + addon: + name: mongodb-addon + tasks: + fullBackup: + name: logical-backup + fullBackupRestore: + name: logical-backup-restore + manifestBackup: + name: manifest-backup + manifestRestore: + name: manifest-restore + volumeSnapshot: + name: volume-snapshot + walg: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2024.5.24_mongo' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:8.0.4' + distribution: Official + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.40.0' + gitSyncer: + image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.2.1' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:6.0-v10' + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.36.0' + securityContext: + runAsGroup: 999 + runAsUser: 999 + ui: + - name: mongo-ui + version: v2024.4.27 + version: 8.0.4 +{{ end }}