2022-08-28 23:41:44 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: ghcr.io/k8s-at-home/wireguard
|
|
|
|
tag: v1.0.20210914@sha256:4dd54954cbd06d92d8c8fc6b10871eb07a0c1869edfe7a15029f1a7d3178d432
|
2022-08-28 23:41:44 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
wg:
|
|
|
|
killswitch: false
|
|
|
|
excludedIP4networks: []
|
|
|
|
excludedIP6networks: []
|
|
|
|
# Leave empty if you going to use the paste your config bellow
|
|
|
|
configFileHostPath: ""
|
|
|
|
config:
|
|
|
|
enabled: false
|
|
|
|
# Your wg config here eg:
|
|
|
|
data: |
|
|
|
|
[Interface]
|
|
|
|
Address = 10.0.0.1/24
|
|
|
|
ListenPort = 51820
|
|
|
|
PrivateKey = PRIVATE_KEY
|
|
|
|
|
|
|
|
[Peer]
|
|
|
|
PublicKey = PUBLIC_KEY
|
2022-08-30 21:12:45 +00:00
|
|
|
AllowedIPs = 0.0.0.0/0
|
2022-08-28 23:41:44 +00:00
|
|
|
Endpoint = wg.example:51820
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2022-08-31 06:33:16 +00:00
|
|
|
port: 51821
|
2022-08-28 23:41:44 +00:00
|
|
|
targetPort: 51820
|
2023-04-11 10:07:17 +00:00
|
|
|
protocol: udp
|
2022-08-28 23:41:44 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: false
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: "wg-env-config"
|