Update velero

This commit is contained in:
2024-02-09 21:56:31 +08:00
parent 7c1a5f6311
commit ac0fdfa8ce
63 changed files with 6115 additions and 529 deletions
+24
View File
@@ -0,0 +1,24 @@
{{- if and .Values.credentials.useSecret (not .Values.credentials.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "velero.secretName" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.secretAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "velero.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "velero.chart" . }}
type: Opaque
data:
{{- range $key, $value := .Values.credentials.secretContents }}
{{ $key }}: {{ $value | b64enc | quote }}
{{- end }}
{{- range $key, $value := .Values.credentials.extraEnvVars }}
{{ $key }}: {{ $value | b64enc | quote }}
{{- end }}
{{- end -}}