mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Helm: add service annotations
This commit is contained in:
@@ -4,6 +4,10 @@ metadata:
|
||||
name: {{ include "shadowsocks-rust.fullname" . }}
|
||||
labels:
|
||||
{{- include "shadowsocks-rust.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.service.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -24,6 +24,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user