Skip to content

Commit

Permalink
Merge pull request #386 from stafot/feat/add-dns-config-support
Browse files Browse the repository at this point in the history
[velero] Add DNSConfig.
  • Loading branch information
ywk253100 authored Aug 10, 2022
2 parents b0c529a + 8c49a9b commit 00ff7d9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.9.0
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 2.30.2
version: 2.31.0
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
4 changes: 4 additions & 0 deletions charts/velero/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
Expand Down
6 changes: 5 additions & 1 deletion charts/velero/templates/restic-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,8 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.restic.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ affinity: {}
# Node selector to use for the Velero deployment. Optional.
nodeSelector: {}

# DNS configuration to use for the Velero deployment. Optional.
dnsConfig: {}

# Extra volumes for the Velero deployment. Optional.
extraVolumes: []

Expand Down Expand Up @@ -403,6 +406,9 @@ restic:
# Node selector to use for the Restic daemonset. Optional.
nodeSelector: {}

# DNS configuration to use for the Restic daemonset. Optional.
dnsConfig: {}

# Backup schedules to create.
# Eg:
# schedules:
Expand Down

0 comments on commit 00ff7d9

Please sign in to comment.