Skip to content

Commit f5e93d3

Browse files
committed
update password_hash guidance and defaults
1 parent 129a0ca commit f5e93d3

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

applications/wg-easy/charts/wg-easy/values.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
# Wireguard configuration
44
wireguard:
55
# If password is defined will set a password on the web interface
6-
# password: "testpass"
6+
# password must be a bcrypted hash - use
7+
# docker run ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD
8+
# to generate a hash - default is literally YOUR_PASSWORD
9+
password: '$2a$12$Zh4e0Lnbfhh3.EJTLKPApOCOZgjmaWm0eOMDI7YkoACKMjKPFs7.a'
710
# See https://github.com/WeeJeWel/wg-easy for configuration options
8-
host: "example.com"
9-
device: "eth0"
11+
host: example.com
12+
device: eth0
1013
port: 51820 # This is used in the postUp
1114
defaultAddress: 10.10.10.x
1215
defaultDns: 1.1.1.1
@@ -17,11 +20,11 @@ wireguard:
1720
templates:
1821
traefikRoutes:
1922
web-tls:
20-
hostName: "example.com"
23+
hostName: example.com
2124
serviceName: wg-easy
2225
servicePort: 51821
2326
web:
24-
hostName: "example.com"
27+
hostName: example.com
2528
serviceName: wg-easy
2629
servicePort: 51821
2730

@@ -93,7 +96,7 @@ secrets:
9396
webpass:
9497
enabled: true
9598
stringData:
96-
PASSWORD_HASH: '{{ dig "wireguard" "password" "$$2b$$12$$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW" .Values }}'
99+
PASSWORD_HASH: '{{ dig "wireguard" "password" "$2a$12$Zh4e0Lnbfhh3.EJTLKPApOCOZgjmaWm0eOMDI7YkoACKMjKPFs7.a" .Values }}'
97100
service:
98101
web:
99102
controller: wg-easy

0 commit comments

Comments
 (0)