mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
93 lines
2.4 KiB
YAML
93 lines
2.4 KiB
YAML
# Default values for shadowsocks-rust.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
# This is the shadowsocks config which will be mount to /etc/shadowocks-rust.
|
|
# You can put arbitrary yaml here, and it will be translated to json before mounting.
|
|
servers:
|
|
- server: "::"
|
|
server_port: 8388
|
|
service_port: 80 # the k8s service port, default to server_port
|
|
password: mypassword
|
|
method: aes-256-gcm
|
|
fast_open: true
|
|
mode: tcp_and_udp
|
|
# plugin: v2ray-plugin
|
|
# plugin_opts: server;tls;host=github.com
|
|
|
|
# Whether to download v2ray and xray plugin.
|
|
downloadPlugins: false
|
|
|
|
# Name of the ConfigMap with config.json configuration for shadowsocks-rust.
|
|
configMapName: ""
|
|
|
|
service:
|
|
# Change to LoadBalancer if you are behind a cloud provider like aws, gce, or tke.
|
|
type: ClusterIP
|
|
# external-dns.alpha.kubernetes.io/hostname: socks.example.com
|
|
annotations: {}
|
|
|
|
# Bind shadowsocks port port to host, i.e., we can use host:port to access shawdowsocks server.
|
|
hostPort: false
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: ghcr.io/shadowsocks/ssserver-rust
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "latest"
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
{}
|
|
# fsGroup: 2000
|
|
|
|
securityContext:
|
|
{}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
resources:
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 20m
|
|
memory: 32Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|