cronjob-backup-jenkins

by joaquinito2051

Helm chartv1.0.0App 1.0

A Helm chart for Kubernetes

About this chart

Backup

backup helm chart

Helm install

$ helm upgrade -i --namespace cicd jenkins-backup ./

Helm uninstall

$ helm delete -n cicd jenkins-backup

Values| Key | Description | Example |

|---|:---|:---| | destUser | scp 유저 | taco | | destPassword | scp 비밀번호 | xxxxxxxxx | | destHost | scp 호스트 | 10.12.1.99 | | destDir | scp 경로 | ~/jenkins_back/ | | containers.sshpass.image.repository | sshpass image repository | pseudojo/docker-sshd-with-curl | containers.sshpass.image.tag | sshpass image tag | alpine3.12 | containers.sshpass.image.imagePullPolicy | sshpass image imagePullPolicy | IfNotPresent | containers.k8s.image.repository | k8s image repository | alpine/k8s | containers.k8s.image.tag | k8s image tag | 1.18.2 | containers.k8s.image.imagePullPolicy k8s image imagePullPolicy | IfNotPresent | job.schedule | cron schedule | "32 18 * * *" | job.successfulJobsHistoryLimit | specify how many completed jobs should be kept | 3 | job.failedJobsHistoryLimit | specify how many failed jobs should be kept | 3

Deploy cronjob-backup-jenkins with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cronjob-backup-jenkins 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 chartcronjob-backup-jenkins is pinned at v1.0.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