Skip to the content.

cluster-mongo Cluster Chart : Mongo

Artifacthub

This helm chart is used to deploy MongoDB instances managed by the official mongodb operator.

This chart is part of the cluster-xxx startx helm chart series that doesn’t necessarily deploy pods but rather represent a cluster configuration state orchestrated by gitops tools like ArgoCD.

Requirements and guidelines

Read the startx helm-repository homepage for more information on how to use theses resources.

Deploy this helm chart on openshift

1. Connect to your Openshift cluster

oc login -t <token> <cluster-url>

2. Install the repository

helm repo add startx https://helm-repository.readthedocs.io/en/latest/repos/stable/

3. Get information about this chart

helm show chart startx/cluster-mongo

4. Install this chart

helm install cluster-mongo startx/cluster-mongo

Deploy this helm chart with ArgoCD

1. Create the project

cat <<EOF | oc apply -f -
kind: Application
apiVersion: argoproj.io/v1alpha1
metadata:
name: mongo-project
namespace: "openshift-gitops"
spec:
  destination:
    namespace: "mongo-demo"
    server: 'https://kubernetes.default.svc'
project: default
source:
    path: charts/cluster-mongo/
    repoURL: 'https://github.com/startxfr/helm-repository.git'
    targetRevision: "stable"
    helm:
    valueFiles:
    - values-demo.yaml
    parameters:
    - name: project.enabled
      value: "true"
EOF

2. Deploy the operator

cat <<EOF | oc apply -f -
kind: Application
apiVersion: argoproj.io/v1alpha1
metadata:
name: mongo-operator
namespace: "openshift-gitops"
spec:
  destination:
    namespace: "openshift-operators"
    server: 'https://kubernetes.default.svc'
project: default
source:
    path: charts/cluster-mongo/
    repoURL: 'https://github.com/startxfr/helm-repository.git'
    targetRevision: "stable"
    helm:
    valueFiles:
    - values-demo.yaml
    parameters:
    - name: operator.enabled
      value: "true"
EOF

2. Deploy a mongo instance

cat <<EOF | oc apply -f -
kind: Application
apiVersion: argoproj.io/v1alpha1
metadata:
name: mongo-instance
namespace: "openshift-gitops"
spec:
  destination:
    namespace: "mongo-demo"
    server: 'https://kubernetes.default.svc'
project: default
source:
    path: charts/cluster-mongo/
    repoURL: 'https://github.com/startxfr/helm-repository.git'
    targetRevision: "stable"
    helm:
    valueFiles:
    - values-demo.yaml
    parameters:
    - name: cluster.enabled
      value: "true"
    - name: loader.enabled
      value: "true"
EOF

Default values

Complete deployment of a project with the following characteristics :

!!! todo Complete this section

# base configuration running default configuration
helm install cluster-mongo startx/cluster-mongo

Others values availables

helm install cluster-mongo startx/cluster-mongo -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/cluster-mongo/values-startx.yaml

History

Release Date Description
16.19.15 2024-11-10 Init cluster-mongo skeleton from cluster-mongo
16.19.17 2024-11-11 Implement the MongoDB CRD and mongo loader
16.19.29 2024-11-11 Align all chart to the 16.19.29 release
16.19.59 2024-12-09 Align all chart to the 16.19.59 release
16.19.31 2024-12-10 Align all charts to 19.19.31
16.19.43 2025-02-27 publish stable update for the full repository
17.14.1 2025-02-28 Initial release for v17.x version
17.14.3 2025-02-28 Temporary release used to prepare dependencies changes
17.14.5 2025-02-28 Align all startx helm dependencies to release 17.14.1
17.14.11 2025-03-05 Adjust doc to material layout
17.14.19 2025-03-12 Align all chart to the 17.14.19 release
17.14.90 2025-04-30 Publish stable release for 4.17 version
18.11.3 2025-04-30 Prepare dependencies move to version 18.x
18.11.5 2025-04-30 move dependencies to version 18.11.1
18.11.7 2025-04-30 All dependencies linked to 18.x release
18.11.9 2025-05-01 Update mongo operator to version 1.33.0
18.11.19 2025-05-02 Intermediate alignement of all helm charts
18.11.21 2025-05-02 Update all basic chart dependencies to version 18.11.15
18.11.22 2025-05-02 Add noinfra values in all charts
18.11.24 2025-05-02 Align all to stable version
18.11.31 2025-05-03 update all dependencies to version 18.11.19
18.11.39 2025-05-05 Update icon with startx new theme
18.11.51 2025-05-06 publish stable update for the full repository
18.11.52 2025-05-07 publish stable update for the full repository
18.11.60 2025-05-14 Align all chart to a stable release for OCP 4.18