36 lines
707 B
YAML
36 lines
707 B
YAML
---
|
|
workload:
|
|
kind: Deployment
|
|
containers:
|
|
shadowsocks:
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- shadowsocks
|
|
envFrom:
|
|
- environemnt
|
|
- secrets
|
|
|
|
env:
|
|
environment:
|
|
sensitive: false
|
|
data:
|
|
METHOD: chacha20-ietf-poly1305
|
|
secrets:
|
|
sensitive: true
|
|
data:
|
|
# ---------------------------------------------------------------
|
|
# Please, do not forget to replace this PASSWORD
|
|
# ---------------------------------------------------------------
|
|
PASSWORD: test12345
|
|
|
|
service:
|
|
type: ClusterIP
|
|
ports:
|
|
shadowsocks:
|
|
port: 8388
|
|
targetPort: 8388
|
|
protocol: TCP
|