openshift-etcd-backup

by Adfinis

Helm chartv1.10.0App v1.9.8Verified publisher

Chart for openshift-etcd-backup solution

About this chart

openshift-etcd-backup

Chart for openshift-etcd-backup solution

Homepage: https://github.com/adfinis/openshift-etcd-backup

Maintainers

This chart is maintained by Adfinis.

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}
backup.dirnamestring"+etcd-backup-%FT%T%:z"Directory name of single backup
backup.expiretypestring"days"expiretype could be days (keep backups newer than backup.keepdays, count (keep a number of backups with backup.keepcount), never (do not expire backups, keep all of them)
backup.extraEnvobject{}Additional environment variables for the backup script
backup.keepcountstring"10"Count retention if expiretype set to count
backup.keepdaysstring"30"Retention period
backup.schedulestring"0 0 * * *"Backup schedule
backup.subdirstring"/"Sub directory path
backup.umaskstring"0027"Set umask during the backup
fullnameOverridestring""
image.pullPolicystring"Always"Image pull policy configuration
image.repositorystring"ghcr.io/adfinis/openshift-etcd-backup"Repository image to use
image.tagstring""Overrides the image tag whose default is the chart appVersion.
monitoring.additionalRulesstringnilProvide custom recording or alerting rules to be deployed into the cluster.
monitoring.enabledboolfalseDeploy PrometheusRule to be alerted in case of backup fails as decribed here. Be sure to to have monitoring for user defined projects enabled as described in the upstream documentation.
monitoring.rules.cronjobMonitorbooltrueDeploy PrometheusRule to check for cronjob fails.
nameOverridestring""
nodeSelector."node-role.kubernetes.io/master"string""The backup job should run on masters as etcd runs on them
persistence.hostPath.enabledbooltrueEnable hostPath
persistence.hostPath.pathstring"/mnt/etcd-backups"hostPath existing path on host
persistence.nfs.enabledboolfalseEnable nfs backend storage
persistence.nfs.pathstring"/etcd-backups"NFS server path
persistence.nfs.serverstring"example.com"NFS server name or IP
persistence.provisioning.capacitystring"10Gi"Define the storage size
persistence.provisioning.enabledboolfalseEnable provisioned backend storage with default or configured storageClass
persistence.provisioning.storageClassstring""
persistence.s3.accessKeystring"mysuperaccesskey"S3 access key
persistence.s3.bucketstring"etcd-backup"S3 bucket name
persistence.s3.caobject{"enabled":false}Inject OpenShift CA
persistence.s3.enabledboolfalseEnable S3 backend storage
persistence.s3.existingSecretstring""S3 use an existing Secret instead of creating one
persistence.s3.hoststring"https://minio.local:9000"S3 endpoint host
persistence.s3.namestring"etcd-backup"S3 endpoint name
persistence.s3.secretKeystring"mysupersecretkey"S3 secret key
podSecurityContextobject{}Configure SecurityContext of the pod started by the job
resourcesobject{}
securityContext.privilegedbooltrueRun pod as privileged
securityContext.runAsGroupint0Set group ID
securityContext.runAsUserint0Set user ID
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerations[0]object{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}Allow jobs running on masters

About this chart

Adfinis fights for a software world that is more open, where the quality is better and where software must be accessible to everyone. This chart is part of the action behind this commitment. Feel free to contact us if you have any questions.

License

This Helm chart is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.


Autogenerated from chart metadata using helm-docs

Deploy openshift-etcd-backup with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openshift-etcd-backup on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenshift-etcd-backup is pinned at v1.10.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply