softplayer-apps/charts/shadowsocks-libev/values.yaml

54 lines
1.1 KiB
YAML
Raw Normal View History

2024-05-05 16:58:35 +00:00
---
workload:
2024-05-19 20:49:36 +00:00
# -- A kind of workload to run
2024-05-05 16:58:35 +00:00
kind: Deployment
2024-05-19 20:49:36 +00:00
# -- A list of containers to run within the workload
2024-05-05 16:58:35 +00:00
containers:
2024-05-19 20:49:36 +00:00
# -- Shadowsocks container description
2024-05-05 16:58:35 +00:00
shadowsocks:
2024-05-19 20:49:36 +00:00
image:
registry: docker.io
repository: shadowsocks/shadowsocks-libev
tag: v3.3.5
pullPolicy: Always
# -- Required to allow ipv4 forwarding
2024-05-05 16:58:35 +00:00
securityContext:
capabilities:
add:
- NET_ADMIN
ports:
- shadowsocks
envFrom:
- environemnt
- secrets
env:
environment:
sensitive: false
data:
METHOD: chacha20-ietf-poly1305
secrets:
sensitive: true
data:
2024-05-19 20:49:36 +00:00
# -- Provide a password that will be used to connect to shadowsocks
2024-05-05 16:58:35 +00:00
PASSWORD: test12345
2024-07-09 18:53:29 +00:00
traefik:
tcpRoutes:
shadowsocks:
entryPoints:
- shadowsocks
routes:
- match: HostSNI(`*`)
services:
- name: '{{ include "chart.fullname" $ }}'
port: 8388
nativeLB: true
2024-05-05 16:58:35 +00:00
service:
type: ClusterIP
ports:
shadowsocks:
port: 8388
targetPort: 8388
protocol: TCP