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" . }}
|
name: {{ include "shadowsocks-rust.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "shadowsocks-rust.labels" . | nindent 4 }}
|
{{- include "shadowsocks-rust.labels" . | nindent 4 }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.service.annotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ configMapName: ""
|
|||||||
service:
|
service:
|
||||||
# Change to LoadBalancer if you are behind a cloud provider like aws, gce, or tke.
|
# Change to LoadBalancer if you are behind a cloud provider like aws, gce, or tke.
|
||||||
type: ClusterIP
|
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.
|
# Bind shadowsocks port port to host, i.e., we can use host:port to access shawdowsocks server.
|
||||||
hostPort: false
|
hostPort: false
|
||||||
|
|||||||
Reference in New Issue
Block a user