Add nodeSelector and tolerations to snapshot controller charts

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/342/head
Brad Davidson 2023-05-19 17:51:26 +00:00 committed by Brad Davidson
parent 3d00de38af
commit 96cb7c9153
6 changed files with 44 additions and 6 deletions

View File

@ -9,7 +9,26 @@
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
@@ -54,3 +54,6 @@
@@ -27,9 +27,16 @@
resources: {}
-nodeSelector: {}
+nodeSelector:
+ kubernetes.io/os: linux
-tolerations: []
+tolerations:
+- key: "node-role.kubernetes.io/control-plane"
+ operator: "Exists"
+ effect: "NoSchedule"
+- key: "node-role.kubernetes.io/etcd"
+ operator: "Exists"
+ effect: "NoExecute"
affinity: {}
@@ -54,3 +61,6 @@
# velero.io/csi-volumesnapshot-class: "true"
# driver: linstor.csi.linbit.com
# deletionPolicy: Delete

View File

@ -1,7 +1,7 @@
url: https://github.com/piraeusdatastore/helm-charts.git
subdirectory: charts/snapshot-controller
commit: 100f3d3c3513e14b423093cbb1a6f8fdd38fafd1 # snapshot-controller-1.7.2
packageVersion: 01
packageVersion: 02
additionalCharts:
- workingDir: charts-crd
crdOptions:

View File

@ -6,5 +6,5 @@
-name: snapshot-validation-webhook
+name: rke2-snapshot-validation-webhook
version: 1.7.1
appVersion: "v6.2.0"
appVersion: "v6.2.1"
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg

View File

@ -1,6 +1,6 @@
--- charts-original/templates/deployment.yaml
+++ charts/templates/deployment.yaml
@@ -29,7 +29,7 @@
@@ -32,7 +32,7 @@
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}

View File

@ -9,7 +9,26 @@
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
@@ -49,3 +49,6 @@
@@ -63,9 +63,16 @@
resources: {}
-nodeSelector: {}
+nodeSelector:
+ kubernetes.io/os: linux
-tolerations: []
+tolerations:
+- key: "node-role.kubernetes.io/control-plane"
+ operator: "Exists"
+ effect: "NoSchedule"
+- key: "node-role.kubernetes.io/etcd"
+ operator: "Exists"
+ effect: "NoExecute"
affinity: {}
@@ -75,3 +82,6 @@
rbac:
create: true

View File

@ -1,4 +1,4 @@
url: https://github.com/piraeusdatastore/helm-charts.git
subdirectory: charts/snapshot-validation-webhook
commit: bc135abc9dff8e96cdb9efea56328032391ec0d0 # snapshot-validation-webhook-1.7.1
packageVersion: 00
packageVersion: 01