File tree Expand file tree Collapse file tree 7 files changed +20
-2
lines changed Expand file tree Collapse file tree 7 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
{ {- define " name-client" -} }
2
- { { printf " %s-client-%s " $.Chart.Name $.Release .Name | replace " +" " _" | trunc 63 | trimSuffix " -" } }
2
+ { { printf " %s-client" $.Chart.Name | replace " +" " _" | trunc 63 | trimSuffix " -" } }
3
3
{ {- end } }
4
4
5
5
{ {- define " name-server" -} }
6
- { { printf " %s-server-%s " $.Chart.Name $.Release .Name | replace " +" " _" | trunc 63 | trimSuffix " -" } }
6
+ { { printf " %s-server" $.Chart.Name | replace " +" " _" | trunc 63 | trimSuffix " -" } }
7
7
{ {- end } }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ apiVersion: v1
4
4
kind : ConfigMap
5
5
metadata :
6
6
name : {{ template "name-client" . }}-nginx
7
+ namespace : {{ $.Release.Namespace }}
7
8
data :
8
9
nginx.conf : |
9
10
worker_processes auto;
@@ -24,6 +25,7 @@ apiVersion: v1
24
25
kind : Secret
25
26
metadata :
26
27
name : {{ template "name-client" . }}-env
28
+ namespace : {{ $.Release.Namespace }}
27
29
stringData :
28
30
INVITE_TOKEN : {{ quote .Values.peering.psk }}
29
31
Original file line number Diff line number Diff line change 21
21
labels :
22
22
application : {{ template "name-client" . }}
23
23
spec :
24
+ {{- if .Values.docker.imagePullSecrets }}
25
+ imagePullSecrets :
26
+ {{- toYaml .Values.docker.imagePullSecrets | nindent 8 }}
27
+ {{- end }}
24
28
shareProcessNamespace : true
25
29
{{- if .Values.client.priorityClassName }}
26
30
priorityClassName : {{ .Values.client.priorityClassName }}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ apiVersion: v1
4
4
kind : ConfigMap
5
5
metadata :
6
6
name : {{ template "name-server" . }}-nginx
7
+ namespace : {{ $.Release.Namespace }}
7
8
data :
8
9
nginx.conf : |
9
10
worker_processes auto;
@@ -24,6 +25,7 @@ apiVersion: v1
24
25
kind : Secret
25
26
metadata :
26
27
name : {{ template "name-server" . }}-env
28
+ namespace : {{ $.Release.Namespace }}
27
29
stringData :
28
30
INVITE_TOKEN : {{ .Values.peering.psk | quote }}
29
31
Original file line number Diff line number Diff line change 22
22
labels :
23
23
application : {{ template "name-server" . }}
24
24
spec :
25
+ {{- if .Values.docker.imagePullSecrets }}
26
+ imagePullSecrets :
27
+ {{- toYaml .Values.docker.imagePullSecrets | nindent 8 }}
28
+ {{- end }}
25
29
shareProcessNamespace : true
26
30
{{- if .Values.server.priorityClassName }}
27
31
priorityClassName : {{ .Values.server.priorityClassName }}
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ metadata:
7
7
namespace : {{ $.Release.Namespace }}
8
8
labels :
9
9
application : {{ template "name-server" . }}
10
+ {{- if .Values.server.service.annotations }}
11
+ annotations :
12
+ {{- toYaml .Values.server.service.annotations | nindent 4 }}
13
+ {{- end }}
10
14
spec :
11
15
ports :
12
16
- name : data
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ server:
43
43
name : server
44
44
45
45
service :
46
+ annotations : null
46
47
type : LoadBalancer
47
48
48
49
priorityClassName : " "
@@ -91,6 +92,7 @@ docker:
91
92
wgVersion : latest # GHA
92
93
nginxImage : glothriel/wormhole-nginx
93
94
nginxVersion : latest # GHA
95
+ pullSecrets : null
94
96
95
97
peering :
96
98
psk : defaultPeeringKeyPleaseChangeMe
You can’t perform that action at this time.
0 commit comments