mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/velero] Add VELERO_NAMESPACE env variable (#16517)
* Add VELERO_NAMESPACE env variable This environment variable was added to Velero in https://github.com/heptio/velero/pull/1748 and will be required for v1.1.0 Signed-off-by: Nolan Brubaker <brubakern@vmware.com> * Move namespace variable out of conditional Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0a12a05702
commit
7ac49621ca
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.0.0
|
||||
description: A Helm chart for velero
|
||||
name: velero
|
||||
version: 2.1.1
|
||||
version: 2.1.2
|
||||
home: https://github.com/heptio/velero
|
||||
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
|
||||
sources:
|
||||
|
||||
@@ -92,6 +92,11 @@ spec:
|
||||
- name: VELERO_SCRATCH_DIR
|
||||
value: /scratch
|
||||
{{- end }}
|
||||
- name: VELERO_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.namespace
|
||||
{{- with .Values.configuration.extraEnvVars }}
|
||||
{{- range $key, $value := . }}
|
||||
- name: {{ default "none" $key }}
|
||||
|
||||
Reference in New Issue
Block a user