You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: signadot/operator/templates/agent-deployment.yaml
+27-12Lines changed: 27 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,14 @@ spec:
27
27
template:
28
28
metadata:
29
29
annotations:
30
+
cluster-config-checksum: '{{ include (print $.Template.BasePath "/cluster-config-configmap.yaml")
31
+
. | sha256sum }}'
30
32
{{- range $key, $val := .Values.commonAnnotations }}
31
33
{{ $key | quote }}: {{ $val | quote }}
32
34
{{- end }}
33
35
{{- range $key, $val := .Values.podAnnotations }}
34
36
{{ $key | quote }}: {{ $val | quote }}
35
37
{{- end }}
36
-
cluster-config-checksum: '{{ include (print $.Template.BasePath "/signadot-cluster-config-configmap.yaml")
37
-
. | sha256sum }}'
38
38
{{- if $linkerdEnabled }}
39
39
{{- if and (hasKey .Values.linkerd "operator") (hasKey .Values.linkerd.operator "podAnnotations") (.Values.linkerd.operator.podAnnotations)}}
40
40
{{- range $key, $val := .Values.linkerd.operator.podAnnotations }}
@@ -63,16 +63,7 @@ spec:
63
63
{{- end }}
64
64
spec:
65
65
containers:
66
-
- args:
67
-
- --api-url=https://api.signadot.com
68
-
- --tunnel-addr=tunnel.signadot.com:443
69
-
env:
70
-
- name: AGENT_TOKEN
71
-
valueFrom:
72
-
secretKeyRef:
73
-
key: token
74
-
name: cluster-agent
75
-
image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v1.0.0{{- end }}{{- else -}}signadot/agent:v1.0.0{{- end }}{{- else -}}signadot/agent:v1.0.0{{- end }}
66
+
- image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v1.2.0{{- end }}{{- else -}}signadot/agent:v1.2.0{{- end }}{{- else -}}signadot/agent:v1.2.0{{- end }}
76
67
imagePullPolicy: {{ with .Values }}{{ with .agent }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
77
68
livenessProbe:
78
69
httpGet:
@@ -89,5 +80,29 @@ spec:
89
80
resources:
90
81
{{ toYaml . | indent 10 }}
91
82
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- if and (hasKey .Values "controlPlane") (hasKey .Values.controlPlane "clusterToken")
2
+
}}
3
+
apiVersion: v1
4
+
kind: Secret
5
+
metadata:
6
+
name: {{ with .Values }}{{ with .controlPlane }}{{ with .tokenSecret }}{{ . }}{{- else -}}"cluster-token"{{- end }}{{- else -}}"cluster-token"{{- end }}{{- else -}}"cluster-token"{{- end }}
Copy file name to clipboardExpand all lines: signadot/operator/templates/io-context-server-deployment.yaml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ metadata:
13
13
name: io-context-server
14
14
namespace: signadot
15
15
spec:
16
-
replicas: 1
16
+
{{- with .Values }}{{- with .ioContextServer }}{{- with .replicas }}
17
+
replicas: {{ . }}
18
+
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
17
19
selector:
18
20
matchLabels:
19
21
app: io-context-server
@@ -40,7 +42,7 @@ spec:
40
42
- /app/io-context-server
41
43
- -tls=secretns=signadot
42
44
- -port=8443
43
-
image: {{ with .Values }}{{ with .ioContextServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/io-context-server:v1.0.0{{- end }}{{- else -}}signadot/io-context-server:v1.0.0{{- end }}{{- else -}}signadot/io-context-server:v1.0.0{{- end }}
45
+
image: {{ with .Values }}{{ with .ioContextServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/io-context-server:v1.2.0{{- end }}{{- else -}}signadot/io-context-server:v1.2.0{{- end }}{{- else -}}signadot/io-context-server:v1.2.0{{- end }}
44
46
imagePullPolicy: {{ with .Values }}{{ with .ioContextServer }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
0 commit comments