nodeselector pathces

This commit is contained in:
Steffen Illium 2024-03-28 21:14:20 +01:00
parent 7393552809
commit cc860d1fc9
26 changed files with 187 additions and 7 deletions

View File

@ -34,6 +34,7 @@ spec:
volumeMounts:
- name: adguard-pvc
mountPath: /opt/adguardhome/work
resources: {}
volumes:
- name: adguard-pvc
persistentVolumeClaim:

View File

@ -10,3 +10,8 @@ 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

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

View File

@ -9,3 +9,8 @@ resources:
- base/gitea-deployment.yaml
- base/gitea-data-pvc.yaml
- base/gitea-namespace.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -12,4 +12,7 @@ resources:
patches:
- path: patches/dashboard-insecure-access.yaml
- path: patches/dashboard-insecure-service.yaml
- path: patches/dashboard-insecure-service.yaml
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -15,3 +15,8 @@ helmCharts:
repo: https://nextcloud.github.io/helm/
valuesFile: base/values.yaml
releaseName: lcl
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -10,3 +10,8 @@ resources:
- base/vaultwarden-namespace.yaml
- base/vaultwarden-secret-sealed.yaml
- base/vaultwarden-service.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -13,3 +13,6 @@ patches:
- path: patches/argocd-cmd-params-cm-patch.yaml
- path: patches/argocd-server-service.yaml
- path: patches/argocd-cm-patch.yaml
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -14,3 +14,8 @@ helmCharts:
releaseName: lcl
repo: https://traefik.github.io/charts
valuesFile: base/values.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -13,3 +13,8 @@ helmCharts:
repo: https://charts.longhorn.io
valuesFile: base/values.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

@ -20,3 +20,8 @@ helmCharts:
version: 1.0.2
repo: https://fabmade.github.io/cert-manager-webhook-ionos
# valuesFile: base/ionos-values.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)

View File

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

View File

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

View File

@ -1,9 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: website-deployment
labels:
app: website
name: website
spec:
replicas: 1
selector:
@ -14,9 +14,11 @@ spec:
labels:
app: website
spec:
nodeName: gatekeeper
containers:
- name: website
image: registry.steffenillium.de/website
ports:
- containerPort: 80
- image: ghcr.io/illiumst/website:latest
name: website
ports:
- containerPort: 80
protocol: TCP
resources: {}
restartPolicy: Always

View File

@ -0,0 +1,15 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: website-ingress
namespace: website
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`www.steffenillium.de`) || Host(`steffenillium.de`)
kind: Rule
services:
- name: website
port: 80

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: website

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: website
name: website
spec:
ports:
- name: "http"
port: 80
targetPort: 80
selector:
app: website

View File

@ -0,0 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: website
resources:
- base/website-deployment.yaml
- base/website-ingress.yaml
- base/website-namespace.yaml
- base/website-service.yaml
patches:
- path: patches/nodeselector.yaml
target:
kind: (StatefulSet|Deployment|Job)