Add kubernetes deployment
All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 46s
All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 46s
This commit is contained in:
41
deployment/deploy.yaml
Normal file
41
deployment/deploy.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user