Skip to content

Commit c68737e

Browse files
committed
helm changes for v0.19.2
1 parent 9cb1b78 commit c68737e

18 files changed

+226
-62
lines changed

signadot/operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: "0.19.1"
9+
version: "0.19.2"
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application. Versions are not expected to
1313
# follow Semantic Versioning. They should reflect the version the application is using.
1414
# It is recommended to use it with quotes.
15-
appVersion: "0.19.1"
15+
appVersion: "0.19.2"

signadot/operator/templates/agent-deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
selector:
2323
matchLabels:
2424
app: signadot-agent
25+
strategy:
26+
type: Recreate
2527
template:
2628
metadata:
2729
annotations:
@@ -72,5 +74,9 @@ spec:
7274
httpGet:
7375
path: /healthz
7476
port: 8088
77+
{{- with .Values }}{{- with .agent }}{{- with .resources }}
78+
resources:
79+
{{ toYaml . | indent 10 }}
80+
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
7581
serviceAccountName: agent
7682
{{ end }}

signadot/operator/templates/agent-metrics-service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This file is generated. Do not edit.
2+
{{ if not .Values.disableAgent }}
23
apiVersion: v1
34
kind: Service
45
metadata:
@@ -28,3 +29,4 @@ spec:
2829
selector:
2930
app: signadot-agent
3031
type: ClusterIP
32+
{{ end }}

signadot/operator/templates/allowed_namespaces.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,23 @@ subjects:
1717
name: signadot-controller-manager
1818
namespace: signadot
1919
{{ end }}
20+
{{ if not .Values.disableAgent }}
21+
# Bind the ClusterRole containing agent permissions to the agent's
22+
# ServiceAccount only in the specified namespaces.
23+
{{ range $namespace := $allowedNamespaces }}
24+
---
25+
apiVersion: rbac.authorization.k8s.io/v1
26+
kind: RoleBinding
27+
metadata:
28+
name: signadot-agent-namespaced
29+
namespace: {{ $namespace | quote }}
30+
roleRef:
31+
apiGroup: rbac.authorization.k8s.io
32+
kind: ClusterRole
33+
name: signadot-agent-namespaced
34+
subjects:
35+
- kind: ServiceAccount
36+
name: agent
37+
namespace: signadot
38+
{{ end }}
39+
{{ end }}

signadot/operator/templates/forkedworkloads.signadot.com-customresourcedefinition.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ spec:
7171
- kind
7272
- name
7373
type: object
74+
disableSandboxTrafficManager:
75+
type: boolean
7476
patches:
7577
description: List of patches to be applied to the baseline workload
7678
items:

signadot/operator/templates/io-context-server-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,8 @@ spec:
4545
name: io-context-server
4646
ports:
4747
- containerPort: 8443
48+
{{- with .Values }}{{- with .ioContextServer }}{{- with .resources }}
49+
resources:
50+
{{ toYaml . | indent 10 }}
51+
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
4852
serviceAccountName: io-context-server

signadot/operator/templates/jobs.signadot.com-customresourcedefinition.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,16 @@ spec:
151151
trafficManager:
152152
description: Traffic manager settings
153153
properties:
154+
enabled:
155+
description: Explicitly enable traffic manager in runner pods
156+
for this job.
157+
type: boolean
154158
injectRoutingKey:
155159
default: Disabled
156160
description: |-
157161
Enable the automatic insertion of routing key headers for HTTP and gRPC
158-
(H2C) traffic
162+
(H2C) traffic. The "auto" value will overwrite the value of the Enabled
163+
field, setting it to true.
159164
enum:
160165
- Disabled
161166
- Auto

signadot/operator/templates/routeserver-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ spec:
4848
name: http-legacy
4949
- containerPort: 9090
5050
name: http-metrics
51+
{{- with .Values }}{{- with .routeServer }}{{- with .resources }}
52+
resources:
53+
{{ toYaml . | indent 10 }}
54+
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
5155
serviceAccountName: routeserver

signadot/operator/templates/signadot-agent-clusterrole.yaml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -38,51 +38,9 @@ rules:
3838
- apiGroups:
3939
- ""
4040
resources:
41-
- pods
42-
- pods/log
43-
- services
4441
- namespaces
4542
verbs:
4643
- get
4744
- list
4845
- watch
49-
- apiGroups:
50-
- ""
51-
- events.k8s.io
52-
resources:
53-
- events
54-
verbs:
55-
- get
56-
- list
57-
- watch
58-
- create
59-
- update
60-
- delete
61-
- apiGroups:
62-
- apps
63-
resources:
64-
- deployments
65-
- replicasets
66-
verbs:
67-
- get
68-
- list
69-
- watch
70-
- apiGroups:
71-
- argoproj.io
72-
resources:
73-
- rollouts
74-
verbs:
75-
- get
76-
- list
77-
- watch
78-
- apiGroups:
79-
- ""
80-
resourceNames:
81-
- signadot-cluster-config
82-
resources:
83-
- configmaps
84-
verbs:
85-
- get
86-
- list
87-
- watch
8846
{{ end }}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This file is generated. Do not edit.
2+
{{ if not .Values.disableAgent }}
3+
apiVersion: rbac.authorization.k8s.io/v1
4+
kind: ClusterRole
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: signadot-agent-namespaced
15+
rules:
16+
- apiGroups:
17+
- ""
18+
resources:
19+
- pods
20+
- pods/log
21+
- services
22+
verbs:
23+
- get
24+
- list
25+
- watch
26+
- apiGroups:
27+
- ""
28+
- events.k8s.io
29+
resources:
30+
- events
31+
verbs:
32+
- get
33+
- list
34+
- watch
35+
- create
36+
- update
37+
- delete
38+
- apiGroups:
39+
- apps
40+
resources:
41+
- deployments
42+
- replicasets
43+
verbs:
44+
- get
45+
- list
46+
- watch
47+
- apiGroups:
48+
- argoproj.io
49+
resources:
50+
- rollouts
51+
verbs:
52+
- get
53+
- list
54+
- watch
55+
{{ end }}

0 commit comments

Comments
 (0)