Move flood to other kustomization

This commit is contained in:
2025-08-02 14:06:38 +02:00
parent a07a43b52a
commit 8ac455c2a6
5 changed files with 21 additions and 10 deletions
@@ -2,13 +2,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: flood
label:
app.kubernetes.io/component: flood
spec:
template:
metadata:
label:
app.kubernetes.io/component: flood
spec:
securityContext:
fsGroup: 1001
@@ -29,7 +24,7 @@ spec:
- name: FLOOD_OPTION_TRPASS
value: ""
volumeMounts:
- name: flood-config
- name: config
mountPath: /data
- name: downloads
mountPath: /downloads
@@ -2,6 +2,8 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: flood
annotations:
cert-manager.io/cluster-issuer: letsencrypt
spec:
ingressClassName: cilium
rules:
@@ -15,3 +17,7 @@ spec:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- flood.sdg.moe
secretName: flood-cert
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/component: flood
resources:
- ./deploy.yaml
- ./ingress.yaml
- ./svc.yaml
@@ -8,6 +8,3 @@ spec:
- name: http
port: 80
targetPort: 3000
selector:
labels:
app.kubernetes.io/component: flood
+2 -1
View File
@@ -9,7 +9,8 @@ labels:
resources:
- ./deployment.yaml
- ./service.yaml
- ./ingress.yaml
- ./secrets.yaml
- ./pv-downloads.yaml
- ./pv-medias.yaml
- ./pv-config.yaml
- ./flood