Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deploy/helm/wg-access-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ ingress:
|-----|------|---------|-------------|
| config | object | `{}` | inline wg-access-server config (config.yaml) |
| web.service.type | string | `"ClusterIP"` | |
| web.service.port | number | random | Port number if `web.service.type` is set to `NodePort` |
| wireguard.config.privateKey | string | "" | A wireguard private key. You can generate one using `$ wg genkey` |
| wireguard.service.type | string | `"ClusterIP"` | |
| wireguard.service.port | number | random | Port number if `wireguard.service.type` is set to `NodePort` |
| ingress.enabled | bool | `false` | |
| ingress.hosts | string | `nil` | |
| ingress.tls | list | `[]` | |
Expand Down
6 changes: 6 additions & 0 deletions deploy/helm/wg-access-server/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
{{- end }}
ports:
- port: 80
{{- if and (eq .Values.web.service.type "NodePort") ( .Values.web.service.port ) }}
nodePort: {{ .Values.web.service.port }}
{{- end }}
targetPort: 8000
protocol: TCP
name: http
Expand Down Expand Up @@ -48,6 +51,9 @@ spec:
{{- end }}
ports:
- port: 51820
{{- if and (eq .Values.wireguard.service.type "NodePort") ( .Values.wireguard.service.port ) }}
nodePort: {{ .Values.wireguard.service.port }}
{{- end }}
targetPort: 51820
protocol: UDP
name: wireguard
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/wg-access-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ web:
adminPassword: ""
service:
type: ClusterIP
# type: NodePort
# port: 32548

wireguard:
config:
privateKey: ""
service:
type: ClusterIP
# type: NodePort
# port: 30392

persistence:
enabled: false
Expand Down