mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/velero] add priority class helper (#18684)
* add priority class helper Signed-off-by: Brant Taylor <brant.taylor@lifeway.com> * add priority class helper Signed-off-by: Brant Taylor <brant.taylor@lifeway.com> * bump chart Signed-off-by: Brant Taylor <brant.taylor@lifeway.com> * bump chart version Signed-off-by: Brant Taylor <brant.taylor@lifeway.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
71d3a6b700
commit
7b0750d0a8
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.1.0
|
||||
description: A Helm chart for velero
|
||||
name: velero
|
||||
version: 2.3.2
|
||||
version: 2.3.3
|
||||
home: https://github.com/vmware-tanzu/velero
|
||||
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
|
||||
sources:
|
||||
|
||||
@@ -52,3 +52,25 @@ Create the name for the credentials secret.
|
||||
{{- include "velero.fullname" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the Velero priority class name.
|
||||
*/}}
|
||||
{{- define "velero.priorityClassName" -}}
|
||||
{{- if .Values.priorityClassName -}}
|
||||
{{- .Values.priorityClassName -}}
|
||||
{{- else -}}
|
||||
{{- include "velero.fullname" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the Restic priority class name.
|
||||
*/}}
|
||||
{{- define "velero.restic.priorityClassName" -}}
|
||||
{{- if .Values.restic.priorityClassName -}}
|
||||
{{- .Values.restic.priorityClassName -}}
|
||||
{{- else -}}
|
||||
{{- include "velero.fullname" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user