From 2d314326930f8a3d460a31814d7150878fa43d77 Mon Sep 17 00:00:00 2001 From: rohow Date: Sat, 14 Feb 2026 11:17:12 +0800 Subject: [PATCH] feat(helm): update rustdesk-server version to 0.0.7 and add pod annotations; modify node affinity settings --- apps/apps/rustdesk/helmchart.yaml | 4 +++- apps/infra/devops/velero/helmchart.yaml | 16 ++++++++++++++-- apps/kube/coredns/nodelocaldns.yaml | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/apps/rustdesk/helmchart.yaml b/apps/apps/rustdesk/helmchart.yaml index b7934ee..ef3c784 100644 --- a/apps/apps/rustdesk/helmchart.yaml +++ b/apps/apps/rustdesk/helmchart.yaml @@ -7,7 +7,7 @@ spec: repo: https://devcm-repo.github.io/helm-charts chart: rustdesk-server targetNamespace: apps - version: 0.0.5 + version: 0.0.7 valuesContent: |- nodeSelector: kubernetes.io/hostname: tcd @@ -16,6 +16,8 @@ spec: encryptedOnly: true mustLogin: true server: desk-server.dev.cm + podAnnotations: + backup.velero.io/backup-volumes: data extraEnvs: - name: TZ value: "Asia/Shanghai" diff --git a/apps/infra/devops/velero/helmchart.yaml b/apps/infra/devops/velero/helmchart.yaml index 01dc71b..dd71f60 100644 --- a/apps/infra/devops/velero/helmchart.yaml +++ b/apps/infra/devops/velero/helmchart.yaml @@ -68,6 +68,18 @@ spec: - mountPath: /target name: plugins nodeAgent: - nodeSelector: - backup.velero.io/enable: "true" + # 控制面板不启用 lb节点不启用 + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: NotIn + values: + - "true" + - key: svccontroller.k3s.cattle.io/enablelb + operator: NotIn + values: + - "true" diff --git a/apps/kube/coredns/nodelocaldns.yaml b/apps/kube/coredns/nodelocaldns.yaml index 8d4c88d..a7e9a76 100644 --- a/apps/kube/coredns/nodelocaldns.yaml +++ b/apps/kube/coredns/nodelocaldns.yaml @@ -120,7 +120,7 @@ spec: prometheus.io/port: "9253" prometheus.io/scrape: "true" spec: - # master节点不启用 + # 控制面板不启用 affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: