Skip to content

Commit d38d434

Browse files
committed
* rewrite images for wg-easy chart
* add additionalImages for image in preflight in wg-easy * update HelmChart values mapping to match with bjw-s common chart values
1 parent 0fd6be0 commit d38d434

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

applications/wg-easy/charts/wg-easy/replicated/helmChart-wg-easy.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,24 @@ spec:
1616
- --wait
1717

1818
values:
19-
wg-easy:
20-
services:
21-
vpn:
22-
# TODO: Template for stand alone KOTS install?
23-
#type: NodePort
24-
ports:
25-
udp:
26-
nodePort: repl{{ ConfigOption `vpn-port` | ParseInt }}
27-
wireguard:
28-
password: repl{{ ConfigOption `password` }}
29-
host: repl{{ ConfigOption `domain` }}
30-
port: repl{{ ConfigOption `vpn-port` | ParseInt }}
19+
service:
20+
vpn:
21+
ports:
22+
udp:
23+
port: repl{{ ConfigOption `vpn-port` | ParseInt }}
24+
wireguard:
25+
password: repl{{ ConfigOption `password` }}
26+
host: repl{{ ConfigOption `domain` }}
27+
port: repl{{ ConfigOption `vpn-port` | ParseInt }}
3128
templates:
3229
traefikRoutes:
3330
web-tls:
3431
hostName: repl{{ ConfigOption `domain` }}
32+
controllers:
33+
wg-easy:
34+
containers:
35+
wg-container:
36+
image:
37+
repository: '{{repl HasLocalRegistry | ternary LocalRegistryHost "ghcr.io" }}/{{repl HasLocalRegistry | ternary LocalRegistryNamespace "wg-easy" }}/wg-easy'
3538
namespace: wg-easy
3639
builder: {}

applications/wg-easy/replicated/application.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ spec:
88
icon: https://www.logo.wine/a/logo/WireGuard/WireGuard-Icon-Logo.wine.svg
99
#releaseNotes: These are our release notes
1010
allowRollback: true
11-
#additionalImages:
12-
# - jenkins/jenkins:lts
11+
additionalImages:
12+
- debian:buster-slim
1313
#additionalNamespaces should be populated by the Task file
1414
#ports:
1515
# - serviceName: wg-easy/web

0 commit comments

Comments
 (0)