moved node/pod-selector to components

This commit is contained in:
2024-04-04 08:00:25 +02:00
parent 7b983ceb14
commit 4f72173df7
23 changed files with 54 additions and 96 deletions

@ -3,6 +3,9 @@ kind: Kustomization
namespace: longhorn-system
components:
- ../../components/local-region-selector.yaml
resources:
- base/longhorn-ui-ingress.yaml
@ -12,12 +15,3 @@ helmCharts:
version: 1.6.0
repo: https://charts.longhorn.io
valuesFile: base/values.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)
- path: patches/podselector.yaml
target:
kind: Pod

@ -1,9 +0,0 @@
apiVersion: apps/v1
kind: not-important
metadata:
name: not-important
spec:
template:
spec:
nodeSelector:
region: local

@ -1,7 +0,0 @@
apiVersion: apps/v1
kind: not-important
metadata:
name: not-important
spec:
nodeSelector:
region: local