Compare commits
No commits in common. "b9e8bdea83139c32985f532ac53d5a3edd486ff0" and "fa773e82929f9d4e04137406cde8106b62851310" have entirely different histories.
b9e8bdea83
...
fa773e8292
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: adguard
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/adguard
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: adguard
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: dawarich
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/dawarich
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: dawarich
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: ghostfolio
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/ghostfolio
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: ghostfolio
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: immich
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/immich
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: immich
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mastodon
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/mastodon
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mastodon
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mealie
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/mealie
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mealie
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: netbird
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/netbird
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: netbird
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: paperless
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/paperless
|
|
||||||
targetRevision: master
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: paperless
|
|
@ -1,24 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: zitadel
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.halis.io/athens-school/zitadel
|
|
||||||
targetRevision: dev
|
|
||||||
path: manifests
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- PruneLast=true
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: zitadel
|
|
@ -3,21 +3,18 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
# MetalLB installation and configuration
|
# MetalLB installation and configuration
|
||||||
- github.com/metallb/metallb/config/native?ref=v0.14.9
|
- github.com/metallb/metallb/config/native?ref=v0.14.3
|
||||||
# Traefik CRD
|
# Traefik CRD
|
||||||
#- https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
#- https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
||||||
#- https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
#- https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
||||||
# Cert manager CRD
|
# Cert manager CRD
|
||||||
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.2/cert-manager.crds.yaml
|
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.crds.yaml
|
||||||
# Longhorn CRD
|
# Longhorn CRD
|
||||||
- https://raw.githubusercontent.com/longhorn/longhorn/v1.8.1/deploy/longhorn.yaml
|
- https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/deploy/longhorn.yaml
|
||||||
# SOPS secrets operator CRDs
|
# SOPS secrets operator CRDs
|
||||||
- https://raw.githubusercontent.com/isindir/sops-secrets-operator/master/config/crd/bases/isindir.github.com_sopssecrets.yaml
|
- https://raw.githubusercontent.com/isindir/sops-secrets-operator/master/config/crd/bases/isindir.github.com_sopssecrets.yaml
|
||||||
# Install CoudNativePG operator
|
# Install CoudNativePG operator
|
||||||
- https://github.com/cloudnative-pg/cloudnative-pg/raw/refs/heads/main/releases/cnpg-1.25.0.yaml
|
- https://github.com/cloudnative-pg/cloudnative-pg/raw/refs/heads/main/releases/cnpg-1.24.1.yaml
|
||||||
# Install Valkey operator
|
|
||||||
#- https://github.com/hyperspike/valkey-operator/releases/download/v0.0.57/install.yaml
|
|
||||||
#- ../../../valkey-operator
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: ./metallb-patch.yaml
|
- path: ./metallb-patch.yaml
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
apiVersion: longhorn.io/v1beta1
|
|
||||||
kind: RecurringJob
|
|
||||||
metadata:
|
|
||||||
name: daily-backup
|
|
||||||
namespace: longhorn-system
|
|
||||||
spec:
|
|
||||||
cron: "0 0 * * *"
|
|
||||||
task: backup
|
|
||||||
groups:
|
|
||||||
- standard-pvc
|
|
||||||
retain: 2
|
|
||||||
concurrency: 2
|
|
||||||
labels:
|
|
||||||
recurrence: daily
|
|
||||||
group: standard-pvc
|
|
@ -1,15 +0,0 @@
|
|||||||
apiVersion: longhorn.io/v1beta1
|
|
||||||
kind: RecurringJob
|
|
||||||
metadata:
|
|
||||||
name: hourly-snapshot
|
|
||||||
namespace: longhorn-system
|
|
||||||
spec:
|
|
||||||
cron: "0 * * * *"
|
|
||||||
task: snapshot
|
|
||||||
groups:
|
|
||||||
- standard-pvc
|
|
||||||
retain: 10
|
|
||||||
concurrency: 2
|
|
||||||
labels:
|
|
||||||
recurrence: hourly
|
|
||||||
group: standard-pvc
|
|
@ -3,9 +3,6 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
- daily-backup.yaml
|
- recurrent-backup.yaml
|
||||||
- weekly-backup.yaml
|
|
||||||
- monthly-backup.yaml
|
|
||||||
- hourly-snapshot.yaml
|
|
||||||
- secrets.yaml
|
- secrets.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
apiVersion: longhorn.io/v1beta1
|
|
||||||
kind: RecurringJob
|
|
||||||
metadata:
|
|
||||||
name: monthly-backup
|
|
||||||
namespace: longhorn-system
|
|
||||||
spec:
|
|
||||||
cron: "0 0 1 * *"
|
|
||||||
task: backup
|
|
||||||
groups:
|
|
||||||
- standard-pvc
|
|
||||||
retain: 2
|
|
||||||
concurrency: 2
|
|
||||||
labels:
|
|
||||||
recurrence: monthly
|
|
||||||
group: standard-pvc
|
|
@ -1,15 +0,0 @@
|
|||||||
apiVersion: longhorn.io/v1beta1
|
|
||||||
kind: RecurringJob
|
|
||||||
metadata:
|
|
||||||
name: weekly-backup
|
|
||||||
namespace: longhorn-system
|
|
||||||
spec:
|
|
||||||
cron: "0 0 * * 0"
|
|
||||||
task: backup
|
|
||||||
groups:
|
|
||||||
- standard-pvc
|
|
||||||
retain: 2
|
|
||||||
concurrency: 2
|
|
||||||
labels:
|
|
||||||
recurrence: weekly
|
|
||||||
group: standard-pvc
|
|
@ -8,6 +8,5 @@ data:
|
|||||||
ipaddress-pools:
|
ipaddress-pools:
|
||||||
- name: default
|
- name: default
|
||||||
addresses:
|
addresses:
|
||||||
- 10.10.0.0/24
|
|
||||||
- 10.20.0.0/24
|
- 10.20.0.0/24
|
||||||
- 51.15.80.73/32
|
- 51.15.80.73/32
|
||||||
|
@ -7,4 +7,3 @@ spec:
|
|||||||
addresses:
|
addresses:
|
||||||
- 51.15.80.73/32
|
- 51.15.80.73/32
|
||||||
- 10.10.0.0/24
|
- 10.10.0.0/24
|
||||||
- 10.20.0.0/24
|
|
||||||
|
35
minecraft/deployment.yaml
Normal file
35
minecraft/deployment.yaml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: minecraft
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: minecraft
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: minecraft
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: minecraft
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
ports:
|
||||||
|
- containerPort: 25565
|
||||||
|
protocol: TCP
|
||||||
|
env:
|
||||||
|
- name: EULA
|
||||||
|
value: "TRUE"
|
||||||
|
volumeMounts:
|
||||||
|
- name: minecraft-data
|
||||||
|
mountPath: /data/world
|
||||||
|
subPath: world
|
||||||
|
volumes:
|
||||||
|
- name: minecraft-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: minecraft-pvc
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: "archimedes"
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
13
minecraft/ingress.yaml
Normal file
13
minecraft/ingress.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRouteTCP
|
||||||
|
metadata:
|
||||||
|
name: minecrafttcp
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- minecrafttcp
|
||||||
|
|
||||||
|
routes:
|
||||||
|
- match: HostSNI(`*`)
|
||||||
|
services:
|
||||||
|
- name: minecraft-svc-tcp
|
||||||
|
port: 25565
|
11
minecraft/pvc.yaml
Normal file
11
minecraft/pvc.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: minecraft-pvc
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: flat-storage-class
|
12
minecraft/service.yaml
Normal file
12
minecraft/service.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: minecraft-svc-tcp
|
||||||
|
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 25565
|
||||||
|
selector:
|
||||||
|
app: minecraft
|
44
nginx/external/deploy.yaml
vendored
44
nginx/external/deploy.yaml
vendored
@ -351,30 +351,6 @@ spec:
|
|||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: https
|
targetPort: https
|
||||||
- name: netbird-one-udp
|
|
||||||
port: 3478
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: netbird-one-udp
|
|
||||||
- name: netbird-one-tcp
|
|
||||||
port: 3478
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: netbird-one-tcp
|
|
||||||
- name: netbird-two-udp
|
|
||||||
port: 5349
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: netbird-two-udp
|
|
||||||
- name: netbird-two-tcp
|
|
||||||
port: 5349
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: netbird-two-tcp
|
|
||||||
- name: netbird-rel-tcp
|
|
||||||
port: 33080
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: netbird-rel-tcp
|
|
||||||
- name: netbird-rel-udp
|
|
||||||
port: 33080
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: netbird-rel-udp
|
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
port: 10254
|
port: 10254
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
@ -468,8 +444,6 @@ spec:
|
|||||||
- --validating-webhook-certificate=/usr/local/certificates/cert
|
- --validating-webhook-certificate=/usr/local/certificates/cert
|
||||||
- --validating-webhook-key=/usr/local/certificates/key
|
- --validating-webhook-key=/usr/local/certificates/key
|
||||||
- --enable-metrics=true
|
- --enable-metrics=true
|
||||||
- --udp-services-configmap=$(POD_NAMESPACE)/nginx-external-ingress-udp-services
|
|
||||||
- --tcp-services-configmap=$(POD_NAMESPACE)/nginx-external-ingress-tcp-services
|
|
||||||
env:
|
env:
|
||||||
- name: POD_NAME
|
- name: POD_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -506,24 +480,6 @@ spec:
|
|||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
name: https
|
name: https
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 3478
|
|
||||||
name: netbird-one-udp
|
|
||||||
protocol: UDP
|
|
||||||
- containerPort: 3478
|
|
||||||
name: netbird-one-tcp
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 5349
|
|
||||||
name: netbird-two-udp
|
|
||||||
protocol: UDP
|
|
||||||
- containerPort: 5349
|
|
||||||
name: netbird-two-tcp
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 33080
|
|
||||||
name: netbird-rel-tcp
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 33080
|
|
||||||
name: netbird-rel-udp
|
|
||||||
protocol: UDP
|
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
name: webhook
|
name: webhook
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
4
nginx/external/kustomization.yaml
vendored
4
nginx/external/kustomization.yaml
vendored
@ -4,6 +4,4 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- deploy.yaml
|
- deploy.yaml
|
||||||
- loadbalancer.yaml
|
- loadbalancer.yaml
|
||||||
#- networkpolicy.yaml
|
- networkpolicy.yaml
|
||||||
- udp-services.yaml
|
|
||||||
- tcp-services.yaml
|
|
||||||
|
24
nginx/external/loadbalancer.yaml
vendored
24
nginx/external/loadbalancer.yaml
vendored
@ -17,29 +17,5 @@ spec:
|
|||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 443
|
targetPort: 443
|
||||||
- name: netbird-one-udp
|
|
||||||
port: 3478
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: 3478
|
|
||||||
- name: netbird-one-tcp
|
|
||||||
port: 3478
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 3478
|
|
||||||
- name: netbird-two-udp
|
|
||||||
port: 5349
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: 5349
|
|
||||||
- name: netbird-two-tcp
|
|
||||||
port: 5349
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 5349
|
|
||||||
- name: netbird-rel-udp
|
|
||||||
port: 33080
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: 33080
|
|
||||||
- name: netbird-rel-tcp
|
|
||||||
port: 33080
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 33080
|
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
|
10
nginx/external/networkpolicy.yaml
vendored
10
nginx/external/networkpolicy.yaml
vendored
@ -21,8 +21,8 @@ spec:
|
|||||||
- 54.224.0.0/11 # Random crawler
|
- 54.224.0.0/11 # Random crawler
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 1
|
port: 80
|
||||||
endPort: 65535
|
- protocol: TCP
|
||||||
- protocol: UDP
|
port: 443
|
||||||
port: 1
|
- protocol: TCP
|
||||||
endPort: 65535
|
port: 8443
|
||||||
|
9
nginx/external/tcp-services.yaml
vendored
9
nginx/external/tcp-services.yaml
vendored
@ -1,9 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: nginx-external-ingress-tcp-services
|
|
||||||
namespace: nginx-ingress
|
|
||||||
data:
|
|
||||||
"3478": "netbird/netbird-turn-svc:3478"
|
|
||||||
"5349": "netbird/netbird-turn-svc:5349"
|
|
||||||
"33080": "netbird/netbird-relay-svc:33080"
|
|
9
nginx/external/udp-services.yaml
vendored
9
nginx/external/udp-services.yaml
vendored
@ -1,9 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: nginx-external-ingress-udp-services
|
|
||||||
namespace: nginx-ingress
|
|
||||||
data:
|
|
||||||
"3478": "netbird/netbird-turn-svc:3478"
|
|
||||||
"5349": "netbird/netbird-turn-svc:5349"
|
|
||||||
"33080": "netbird/netbird-relay-svc:33080"
|
|
@ -341,14 +341,6 @@ spec:
|
|||||||
- IPv4
|
- IPv4
|
||||||
ipFamilyPolicy: SingleStack
|
ipFamilyPolicy: SingleStack
|
||||||
ports:
|
ports:
|
||||||
- name: dns-tcp
|
|
||||||
port: 53
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: dns-tcp
|
|
||||||
- name: dns-udp
|
|
||||||
port: 53
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: dns-udp
|
|
||||||
- appProtocol: http
|
- appProtocol: http
|
||||||
name: http
|
name: http
|
||||||
port: 80
|
port: 80
|
||||||
@ -452,8 +444,6 @@ spec:
|
|||||||
- --validating-webhook-certificate=/usr/local/certificates/cert
|
- --validating-webhook-certificate=/usr/local/certificates/cert
|
||||||
- --validating-webhook-key=/usr/local/certificates/key
|
- --validating-webhook-key=/usr/local/certificates/key
|
||||||
- --enable-metrics=true
|
- --enable-metrics=true
|
||||||
- --udp-services-configmap=$(POD_NAMESPACE)/nginx-internal-ingress-udp-services
|
|
||||||
- --tcp-services-configmap=$(POD_NAMESPACE)/nginx-internal-ingress-tcp-services
|
|
||||||
env:
|
env:
|
||||||
- name: POD_NAME
|
- name: POD_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -484,12 +474,6 @@ spec:
|
|||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
name: controller
|
name: controller
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 53
|
|
||||||
name: dns-tcp
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 53
|
|
||||||
name: dns-udp
|
|
||||||
protocol: UDP
|
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -3,7 +3,4 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- deploy.yaml
|
- deploy.yaml
|
||||||
- loadbalancer-local.yaml
|
- loadbalancer.yaml
|
||||||
- loadbalancer-vpn.yaml
|
|
||||||
- udp-services.yaml
|
|
||||||
- tcp-services.yaml
|
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: nginx-internal-ingress-controller-loadbalancer-local
|
|
||||||
namespace: nginx-ingress
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/component: controller-internal
|
|
||||||
app.kubernetes.io/instance: nginx-internal-ingress
|
|
||||||
app.kubernetes.io/name: nginx-internal-ingress
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 80
|
|
||||||
- name: https
|
|
||||||
port: 443
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 443
|
|
||||||
- name: dns-tcp
|
|
||||||
port: 53
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 53
|
|
||||||
- name: dns-udp
|
|
||||||
port: 53
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: 53
|
|
||||||
type: LoadBalancer
|
|
||||||
externalTrafficPolicy: Local
|
|
||||||
loadBalancerIP: 10.10.0.16
|
|
@ -1,30 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: nginx-internal-ingress-controller-loadbalancer-vpn
|
|
||||||
namespace: nginx-ingress
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/component: controller-internal
|
|
||||||
app.kubernetes.io/instance: nginx-internal-ingress
|
|
||||||
app.kubernetes.io/name: nginx-internal-ingress
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 80
|
|
||||||
- name: https
|
|
||||||
port: 443
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 443
|
|
||||||
- name: dns-tcp
|
|
||||||
port: 53
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 53
|
|
||||||
- name: dns-udp
|
|
||||||
port: 53
|
|
||||||
protocol: UDP
|
|
||||||
targetPort: 53
|
|
||||||
type: LoadBalancer
|
|
||||||
externalTrafficPolicy: Local
|
|
||||||
loadBalancerIP: 10.20.0.1
|
|
@ -1,7 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: nginx-internal-ingress-tcp-services
|
|
||||||
namespace: nginx-ingress
|
|
||||||
data:
|
|
||||||
"53": "adguard/adguard-svc:53"
|
|
@ -1,7 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: nginx-internal-ingress-udp-services
|
|
||||||
namespace: nginx-ingress
|
|
||||||
data:
|
|
||||||
"53": "adguard/adguard-svc:53"
|
|
Loading…
x
Reference in New Issue
Block a user