Skip to content

Commit 1b61899

Browse files
authored
Merge pull request #20 from signadot/prepare-for-v0.7.12
Prepare for v0.7.12
2 parents 8c81e87 + fc3a0ed commit 1b61899

29 files changed

+1433
-1400
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
{{ if not .Values.disableAgent }}
2+
13
Please visit https://app.signadot.com to register this cluster and create a cluster token.
24

35
Then populate the cluster token in a Secret by running the following command
46
with "..." replaced by the token value.
57

68
kubectl -n signadot create secret generic cluster-agent --from-literal=token=...
79

10+
{{ end }}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# This file is generated. Do not edit.
2+
{{ if not .Values.disableAgent }}
3+
apiVersion: apps/v1
4+
kind: Deployment
5+
metadata:
6+
annotations:
7+
{{- range $key, $val := .Values.commonAnnotations }}
8+
{{ $key | quote }}: {{ $val | quote }}
9+
{{- end }}
10+
labels:
11+
{{- range $key, $val := .Values.commonLabels }}
12+
{{ $key | quote }}: {{ $val | quote }}
13+
{{- end }}
14+
name: agent
15+
namespace: signadot
16+
spec:
17+
replicas: 1
18+
selector:
19+
matchLabels:
20+
app: signadot-agent
21+
template:
22+
metadata:
23+
annotations:
24+
{{- range $key, $val := .Values.commonAnnotations }}
25+
{{ $key | quote }}: {{ $val | quote }}
26+
{{- end }}
27+
{{- range $key, $val := .Values.podAnnotations }}
28+
{{ $key | quote }}: {{ $val | quote }}
29+
{{- end }}
30+
labels:
31+
app: signadot-agent
32+
{{- range $key, $val := .Values.commonLabels }}
33+
{{ $key | quote }}: {{ $val | quote }}
34+
{{- end }}
35+
{{- range $key, $val := .Values.podLabels }}
36+
{{ $key | quote }}: {{ $val | quote }}
37+
{{- end }}
38+
spec:
39+
containers:
40+
- args:
41+
- --agent-token=$(AGENT_TOKEN)
42+
- --api-url=https://api.signadot.com
43+
- --tunnel-addr=tunnel.signadot.com:443
44+
env:
45+
- name: AGENT_TOKEN
46+
valueFrom:
47+
secretKeyRef:
48+
key: token
49+
name: cluster-agent
50+
image: signadot/workspaces-agent:v0.7.12
51+
imagePullPolicy: IfNotPresent
52+
livenessProbe:
53+
httpGet:
54+
path: /nullz
55+
port: 8088
56+
name: agent
57+
ports:
58+
- containerPort: 8088
59+
readinessProbe:
60+
httpGet:
61+
path: /healthz
62+
port: 8088
63+
serviceAccountName: agent
64+
{{ end }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is generated. Do not edit.
2+
{{ if not .Values.disableAgent }}
3+
apiVersion: v1
4+
kind: ServiceAccount
5+
metadata:
6+
annotations:
7+
{{- range $key, $val := .Values.commonAnnotations }}
8+
{{ $key | quote }}: {{ $val | quote }}
9+
{{- end }}
10+
labels:
11+
{{- range $key, $val := .Values.commonLabels }}
12+
{{ $key | quote }}: {{ $val | quote }}
13+
{{- end }}
14+
name: agent
15+
namespace: signadot
16+
{{ end }}

0 commit comments

Comments
 (0)