Skip to content

simple-backup-operator Helm Chart ​

Kubernetes operator for managing BackupJob custom resources.

Installation ​

bash
helm install simple-backup-operator ./helm/simple-backup-operator

Configuration ​

ParameterDescriptionDefault
replicaCountNumber of operator replicas1
image.repositoryOperator image repositorysimple-backup-operator
image.tagOperator image taglatest
image.pullPolicyImage pull policyIfNotPresent
serviceAccount.createCreate service accounttrue
resources.limits.cpuCPU limit200m
resources.limits.memoryMemory limit256Mi
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request128Mi
watchNamespaceNamespace to watch (empty for all)""
operator.logLevelOperator log levelINFO

Development ​

The operator source code is in the operator/ directory.

Install dependencies with uv:

bash
cd helm/simple-backup-operator/operator
uv sync

Testing ​

See Helm Testing for comprehensive testing documentation.

Quick Start ​

Run all tests:

bash
cd helm/simple-backup-operator
make test-all

Run operator unit tests only:

bash
cd helm/simple-backup-operator
make test-operator

Run Helm chart tests only:

bash
cd helm/simple-backup-operator
make test-helm

Building the Operator Image ​

bash
cd helm/simple-backup-operator/operator
docker build -t simple-backup-operator:latest .

Example BackupJob ​

See operator/example-backupjob.yaml for custom resource examples.