Cloudogu EcoSystem Docs
Software version

Installation via ArgoCD (

In addition to manually installing ecosystem-core using the Helm chart, ArgoCD can also be used as a GitOps tool for installation.

Requirements

  • Running Kubernetes cluster
  • kubectl CLI configured and connected to the cluster
  • Cluster admin rights

ArgoCD instance

If no ArgoCD instance is already running in the cluster, it can be installed as follows:

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

To access the ArgoCD dashboard, a separate ingress resource must be set up for port 443. Alternatively, temporary access can be set up via port forwarding, which makes the ArgoCD dashboard accessible via https://localhost:8080.

kubectl port-forward svc/argocd-server -n argocd 8080:443

The password created for the initial admin user needs to be read:

kubectl -n argocd get secret argocd-initial-admin-secret   -o jsonpath="{.data.password}" | base64 -d && echo

Secrets

In order for ArgoCD to access the Helm charts, a secret for the Cloudogu Helm registry is required. It can be deployed via kubectl as follows:

apiVersion: v1
kind: Secret
metadata:
  name: cloudogu-oci-registry-k8s
  namespace: argocd
  labels:
    argocd.argoproj.io/secret-type: repository
stringData:
  type: "helm"
  name: "Cloudogu-Registry"
  url: "registry.cloudogu.com/k8s"
  enableOCI: "true"
  username: "USERNAME"
  password: "TOKEN"

If the repository for the GitOps resources is private, a separate secret must be created for the repository:

apiVersion: v1
kind: Secret
metadata:
  name: scm-repo-secret
  namespace: argocd
  labels:
    # Tells Argo CD this secret defines a repository
    argocd.argoproj.io/secret-type: repository
type: Opaque
stringData:
  url: "<Link to repository>"
  username: "my_username"
  password: "API_TOKEN"

Deployment

The complete CES-MN can be deployed via ArgoCD using several so-called sync waves in the form of applications:

  • k8s-component-operator-crd (sync wave -1): installs the Component CRD as a prerequisite for the Component Operator
  • ecosystem-core (sync wave 0): installs the Component Operator with all necessary components and creates a default configuration
  • blueprint (sync wave 1): installs a blueprint with a user-specific configuration and all desired Dogus

In addition, further sync waves with priority -1 could be used to provide certificates or secrets in the cluster.

k8s-component-operator-crd

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: k8s-component-operator-crd
  namespace: argocd
  annotations:
    argocd.argoproj.io/sync-wave: "-1"
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: registry.cloudogu.com/k8s
    chart: k8s-component-operator-crd
    targetRevision: "1.10.0"
    path: "."                   # required for Helm OCI sources
  destination:
    server: https://kubernetes.default.svc
    namespace: ecosystem
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - PruneLast=true          # safer deletion

ecosystem-core

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: ecosystem-core
  namespace: argocd
  annotations:
    argocd.argoproj.io/sync-wave: "0"
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: registry.cloudogu.com/k8s
    chart: ecosystem-core
    targetRevision: "0.2.2"
    path: "."  # required for Helm OCI sources
    helm:
      valuesObject:
        skipPreconditionValidation: true
  destination:
    server: https://kubernetes.default.svc
    namespace: ecosystem
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - PruneLast=true          # safer deletion

blueprint

apiVersion: k8s.cloudogu.com/v2
kind: Blueprint
metadata:
  labels:
    app: ces
    app.kubernetes.io/name: k8s-blueprint-lib
  name: blueprint
  annotations:
    argocd.argoproj.io/sync-wave: "1"
    argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
  blueprint:
    dogus:
      - name: "official/ldap"
        version: "2.6.8-4"
      - name: "official/gotenberg"
        version: "8.18.0-1"
      - name: "official/jenkins"
        version: "2.492.3-4"
      - name: "official/cockpit"
        version: "2.3.0-3"
      - name: "official/mysql"
        version: "8.4.6-1"
      - name: "official/nexus"
        version: "3.75.0-4"
      - name: "official/plantuml"
        version: "2025.2-1"
      - name: "official/postfix"
        version: "3.10.2-2"
      - name: "official/postgresql"
        version: "14.17-1"
      - name: "official/redis"
        version: "6.2.17-2"
      - name: "official/redmine"
        version: "5.1.6-2"
      - name: "official/scm"
        version: "3.8.0-1"
      - name: "official/smeagol"
        version: "1.7.8-1"
      - name: "official/sonar"
        version: "25.1.0-3"
      - name: "official/swaggerui"
        version: "5.21.0-1"
      - name: "official/usermgt"
        version: "1.20.0-4"
      - name: "premium/admin"
        version: "2.13.2-1"
      - name: "premium/grafana"
        version: "11.5.2-1"
      - name: "official/cas"
        version: "7.2.6-3"

CES-MN

All of the above applications and the blueprint are deployed together via a higher-level application, which will be referred to as ces-mn in the following:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: "ces-mn"
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: https://example.local/repo/ces
    targetRevision: main               # branch, tag, or commit
    path: apps/ces-mn                  # folder with manifests
    directory:
      recurse: true                    # pick up nested folders
  destination:
    server: https://kubernetes.default.svc
    namespace: ecosystem
  syncPolicy:
    automated:
      prune: true                      # delete drifted resources
      selfHeal: true                   # fix out-of-band changes

All components of the application can be found in the repository repoURL in the branch/tag/commit targetRevision under the path path.

Last updated on 9/30/2025