workload.kind |
string |
"Deployment" |
A kind of workload to run |
workload.containers |
object |
{"shadowsocks":{"envFrom":["environemnt","secrets"],"image":{"pullPolicy":"Always","registry":"docker.io","repository":"shadowsocks/shadowsocks-libev","tag":null},"ports":["shadowsocks"],"securityContext":{"capabilities":{"add":["NET_ADMIN"]}}}} |
A list of containers to run within the workload |
workload.containers.shadowsocks |
object |
{"envFrom":["environemnt","secrets"],"image":{"pullPolicy":"Always","registry":"docker.io","repository":"shadowsocks/shadowsocks-libev","tag":null},"ports":["shadowsocks"],"securityContext":{"capabilities":{"add":["NET_ADMIN"]}}} |
Shadowsocks container description |
workload.containers.shadowsocks.securityContext |
object |
{"capabilities":{"add":["NET_ADMIN"]}} |
Required to allow ipv4 forwarding |
env.environment.sensitive |
bool |
false |
|
env.environment.data.METHOD |
string |
"chacha20-ietf-poly1305" |
|
env.secrets.sensitive |
bool |
true |
|
env.secrets.data.PASSWORD |
string |
"test12345" |
Provide a password that will be used to connect to shadowsocks |
service.type |
string |
"ClusterIP" |
|
service.ports.shadowsocks.port |
int |
8388 |
|
service.ports.shadowsocks.targetPort |
int |
8388 |
|
service.ports.shadowsocks.protocol |
string |
"TCP" |
|