Skip to content

Commit

Permalink
Merge branch 'session-affinity'
Browse files Browse the repository at this point in the history
Closes #61
  • Loading branch information
awlx committed Jan 24, 2022
2 parents a0eb46e + 296e0b0 commit bc0ae6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/wg-access-server/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ metadata:
{{- end }}
spec:
type: {{ .Values.wireguard.service.type }}
sessionAffinity: ClientIP
sessionAffinity: {{ .Values.wireguard.service.sessionAffinity }}
{{- if .Values.wireguard.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.wireguard.service.externalTrafficPolicy }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/wg-access-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ wireguard:
config:
privateKey: ""
service:
sessionAffinity: ClientIP
type: ClusterIP

persistence:
Expand Down

0 comments on commit bc0ae6e

Please sign in to comment.