Add kubernetes deployment
All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 46s

This commit is contained in:
2025-06-19 14:39:33 +02:00
parent 7184c92750
commit a240ad3e0c

41
deployment/deploy.yaml Normal file
View File

@ -0,0 +1,41 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: frpc-config
data:
frpc.toml: |
serverAddr = "gate.oppsee.de"
serverPort = 7000
[[proxies]]
name = "web"
type = "tcp"
localPort = 8085
remotePort = 8085
---
apiVersion: v1
kind: Pod
metadata:
name: weewoowebhook
spec:
containers:
- name: frpc
image: snowdreamtech/frpc
args: ["-c", "/etc/frp/frpc.toml"]
volumeMounts:
- name: frpc-config-volume
mountPath: /etc/frp
readOnly: true
- name: weewoowebhook
image: gitea.henriburau.de/ace966/weewoowebhook:latest
volumes:
- name: frpc-config-volume
configMap:
name: frpc-config
items:
- key: frpc.toml
path: frpc.toml