cloudivisiondocs
cloudivision documentation

For the published chart, download and verify the assets from the v0.2.1 GitHub release. The commands on this page use a source checkout; see the current installation runbook for pinned release commands, CRD handling, and production hardening.

Install cloudivision into a namespace:

helm install cloudivision charts/cloudivision --namespace cloudivision --create-namespace

Render locally, including CRDs:

helm template cloudivision charts/cloudivision --include-crds

Runner image

The controller passes CLOU_DIVISION_RUNNER_IMAGE into BuildRun Jobs from:

runner:
  image:
    repository: runner
    tag: dev

Set global.imageRegistry or fully adjust each component image repository/tag.

API and web

The API defaults to development-only auth mode. In this mode requests are allowed as dev-user and responses include X-Cloudivision-Auth-Mode: development.

api:
  auth:
    mode: disabled
  metrics:
    enabled: true
  defaultNamespace: default
  cors:
    allowedOrigins:
      - http://localhost:4200

For OIDC, configure issuer/client settings and map identity provider groups to cloudivision roles. The mapping is rendered into a ConfigMap and mounted into the API pod.

api:
  auth:
    mode: oidc
    oidc:
      issuerUrl: https://issuer.example.com
      clientId: cloudivision
      audience: cloudivision
      jwksUrl: "" # optional; defaults to <issuerUrl>/.well-known/jwks.json
    groupMappings:
      - group: platform-admins
        role: admin
        scope: global
      - group: demo-developers
        role: developer
        scope: project
        project: demo-project

Supported roles are admin, project-admin, developer and viewer. The backend enforces permissions; the Angular UI only hides actions as a convenience.

The Angular UI reads runtime config from /assets/config.json. Set:

web:
  config:
    apiBaseUrl: https://cloudivision.example.com

Ingress

Ingress is disabled by default. Enable it with:

ingress:
  enabled: true
  className: nginx
  hosts:
    - host: cloudivision.example.com
      paths:
        - path: /
          pathType: Prefix
          service: web
        - path: /api
          pathType: Prefix
          service: api

Audit backend and database

PostgreSQL is optional. Runtime state for BuildRuns and Releases remains in Kubernetes CRD status. The chart is configured for external database URLs by default and does not vendor a PostgreSQL subchart yet.

Use log audit by default:

audit:
  backend: log
database:
  enabled: false

Use an external database secret:

audit:
  backend: postgres
database:
  externalUrlSecret:
    name: cloudivision-database
    key: database-url

Apply /internal/audit/migrations before setting audit.backend=postgres.

GitOps and Argo CD

Argo CD status reading is optional:

argocd:
  enabled: true

Tekton support is disabled by default and must be explicitly enabled:

tekton:
  enabled: true

Security defaults

The chart separates install/controller permissions from runtime API/web permissions. The controller uses a ClusterRole because it watches cloudivision CRDs and may create project namespaces. API and web are namespaced. Pods run non-root where possible, drop all capabilities, and do not mount docker.sock.

Start typing to search the documentation.