mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-dev.git
synced 2025-08-29 20:12:42 +00:00
initial config based of jenkins-x/jenkins-x-boot-config with ref v1.0.82
This commit is contained in:
6
systems/velero-backups/Chart.yaml
Normal file
6
systems/velero-backups/Chart.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
description: Velero Backup Chart
|
||||
maintainers:
|
||||
- name: Team
|
||||
name: velero-backups
|
||||
version: "1"
|
6
systems/velero-backups/README.MD
Normal file
6
systems/velero-backups/README.MD
Normal file
@@ -0,0 +1,6 @@
|
||||
# velero
|
||||
|
||||
|App Metadata||
|
||||
|---|---|
|
||||
| **Version** | 1.1.0 |
|
||||
| **Chart Repository** | https://kubernetes-charts.storage.googleapis.com |
|
21
systems/velero-backups/templates/default-backup.yaml
Normal file
21
systems/velero-backups/templates/default-backup.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
{{- if .Values.velero.enabled }}
|
||||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: default-backup
|
||||
spec:
|
||||
schedule: {{ .Values.velero.schedule | quote }}
|
||||
template:
|
||||
excludedNamespaces: null
|
||||
excludedResources: null
|
||||
hooks:
|
||||
resources: null
|
||||
includeClusterResources: null
|
||||
includedNamespaces:
|
||||
- '*'
|
||||
includedResources: null
|
||||
labelSelector: null
|
||||
storageLocation: ""
|
||||
ttl: {{ .Values.velero.ttl }}
|
||||
volumeSnapshotLocations: null
|
||||
{{- end }}
|
12
systems/velero-backups/values.tmpl.yaml
Normal file
12
systems/velero-backups/values.tmpl.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
velero:
|
||||
{{- if and (hasKey .Requirements "velero") (hasKey .Requirements.velero "namespace") }}
|
||||
{{- if .Requirements.velero.namespace }}
|
||||
enabled: true
|
||||
schedule: {{ .Requirements.velero.schedule | default "0 * * * *" | quote }}
|
||||
ttl: {{ .Requirements.velero.ttl | default "720h0m0s" }}
|
||||
{{- else }}
|
||||
enabled: false
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
enabled: false
|
||||
{{- end }}
|
Reference in New Issue
Block a user