moved node/pod-selector to components
This commit is contained in:
@@ -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)
|
||||
@@ -1,9 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
||||
Reference in New Issue
Block a user