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

View File

@@ -1,6 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
components:
- ../../components/local-region-selector.yaml
namespace: adguard
resources:
@@ -10,8 +13,3 @@ resources:
- base/adguard-namespace.yaml
# - base/adguard-pvc.yaml
- base/adguard-service.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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