mirror of
https://github.com/zoriya/snow.git
synced 2026-06-03 12:06:31 +00:00
Move flood to other kustomization
This commit is contained in:
@@ -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
|
||||
@@ -9,7 +9,8 @@ labels:
|
||||
resources:
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
- ./ingress.yaml
|
||||
- ./secrets.yaml
|
||||
- ./pv-downloads.yaml
|
||||
- ./pv-medias.yaml
|
||||
- ./pv-config.yaml
|
||||
- ./flood
|
||||
|
||||
Reference in New Issue
Block a user