freeleaps-ops/jobs/freeleaps-data-backup/helm-pkg/freeleaps-data-backup/templates/serviceaccount.yaml
Nicolas a470476c71 feat: add Freeleaps PVC backup job with ArgoCD deployment
- Add Python backup script with PST timezone support
- Create Helm Chart for flexible configuration
- Add ArgoCD Application for GitOps deployment
- Include comprehensive documentation and build scripts
- Support incremental snapshots for cost efficiency
- Process PVCs independently with error handling
- Add .gitignore to exclude Python cache files
2025-08-05 18:07:05 +08:00

17 lines
496 B
YAML

{{- if .Values.serviceAccount.enabled -}}
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount.name }}
namespace: {{ .Values.backup.namespace }}
labels:
app: {{ include "freeleaps-data-backup.name" . }}
component: backup
{{- include "freeleaps-data-backup.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}