Skip to content

Commit 84a93a7

Browse files
Merge pull request #63 from signadot/release-v0.17.0
Changes for release v0.17.0
2 parents 2cac002 + 61e0f77 commit 84a93a7

14 files changed

+3804
-24
lines changed

signadot/operator/Chart.yaml

+2-2
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.16.1"
9+
version: "0.17.0"
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.16.1"
15+
appVersion: "0.17.0"

signadot/operator/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,12 @@ style resources and are not needed in an installation which uses the new
112112
| `tunnel.proxy.imagePullPolicy` | Tunnel Proxy image pull policy | `IfNotPresent` |
113113
| `tunnel.auditor.image` | Tunnel Auditor image override | `envoyproxy/envoy:v1.26.1` |
114114
| `tunnel.auditor.imagePullPolicy` | Tunnel Auditor image pull policy | `IfNotPresent` |
115-
| `tunnel.auditor.init.image` | Tunnel Auditor init image override | `signadot/tunnel-auditor-init:vX.Y.Z` |
116-
| `tunnel.auditor.init.imagePullPolicy` | Tunnel Auditor init image pull policy | `IfNotPresent` |
115+
| `tunnel.auditor.init.image` | Tunnel Auditor Init image override | `signadot/tunnel-auditor-init:vX.Y.Z` |
116+
| `tunnel.auditor.init.imagePullPolicy` | Tunnel Auditor Init image pull policy | `IfNotPresent` |
117+
| `jobExecutorInit.image` | Job Executor Init container image override | `signadot/job-executor-init:vX.Y.Z` |
118+
| `jobExecutorInit.imagePullPolicy` | Job Executor Init container image pull policy | `IfNotPresent` |
119+
| `jobExecutorInit.imagePullSecret` | Job Executor Init container image pull secret | `""` |
120+
117121

118122
### Tunnel parameters
119123

signadot/operator/templates/agent-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
secretKeyRef:
4949
key: token
5050
name: cluster-agent
51-
image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v0.16.1{{- end }}{{- else -}}signadot/agent:v0.16.1{{- end }}{{- else -}}signadot/agent:v0.16.1{{- end }}
51+
image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v0.17.0{{- end }}{{- else -}}signadot/agent:v0.17.0{{- end }}{{- else -}}signadot/agent:v0.17.0{{- end }}
5252
imagePullPolicy: {{ with .Values }}{{ with .agent }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
5353
livenessProbe:
5454
httpGet:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
- /app/io-context-server
4141
- -tls=secretns=signadot
4242
- -port=8443
43-
image: {{ with .Values }}{{ with .ioContextServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/io-context-server:v0.16.1{{- end }}{{- else -}}signadot/io-context-server:v0.16.1{{- end }}{{- else -}}signadot/io-context-server:v0.16.1{{- end }}
43+
image: {{ with .Values }}{{ with .ioContextServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/io-context-server:v0.17.0{{- end }}{{- else -}}signadot/io-context-server:v0.17.0{{- end }}{{- else -}}signadot/io-context-server:v0.17.0{{- end }}
4444
imagePullPolicy: {{ with .Values }}{{ with .ioContextServer }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
4545
name: io-context-server
4646
ports:

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

+3,424
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
# This file is generated. Do not edit.
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.13.0
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: jobs.signadot.com
15+
spec:
16+
group: signadot.com
17+
names:
18+
kind: Job
19+
listKind: JobList
20+
plural: jobs
21+
shortNames:
22+
- sdjb
23+
singular: job
24+
scope: Cluster
25+
versions:
26+
- name: v1
27+
schema:
28+
openAPIV3Schema:
29+
properties:
30+
apiVersion:
31+
description: 'APIVersion defines the versioned schema of this representation
32+
of an object. Servers should convert recognized schemas to the latest
33+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
34+
type: string
35+
kind:
36+
description: 'Kind is a string value representing the REST resource this
37+
object represents. Servers may infer this from the endpoint the client
38+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
39+
type: string
40+
metadata:
41+
type: object
42+
spec:
43+
properties:
44+
artifacts:
45+
description: List of artifacts to be kept after running the job.
46+
items:
47+
properties:
48+
meta:
49+
additionalProperties:
50+
type: string
51+
description: Metadata to be included in the discovered artifacts
52+
(retrievable from the artifacts API)
53+
type: object
54+
path:
55+
description: Path from where to look for artifacts after running
56+
the job.
57+
type: string
58+
required:
59+
- path
60+
type: object
61+
type: array
62+
x-kubernetes-validations:
63+
- message: Artifacts is immutable
64+
rule: self == oldSelf
65+
canceled:
66+
default: false
67+
description: Canceled specifies whether the current job should be
68+
canceled
69+
type: boolean
70+
content:
71+
description: Job content
72+
properties:
73+
command:
74+
description: A command to be executed. Only one of "Command" or
75+
"Script" should be defined.
76+
items:
77+
type: string
78+
type: array
79+
script:
80+
description: 'The script to be executed. It should explicitly
81+
declare its interpreter (e.g.: #!/bin/bash). Only one of "Command"
82+
or "Script" should be defined.'
83+
type: string
84+
type: object
85+
x-kubernetes-validations:
86+
- message: Content is immutable
87+
rule: self == oldSelf
88+
env:
89+
description: List of environment variables to set in the job.
90+
items:
91+
properties:
92+
name:
93+
description: Environmental variable name
94+
type: string
95+
value:
96+
description: Environmental variable value
97+
type: string
98+
required:
99+
- name
100+
type: object
101+
type: array
102+
x-kubernetes-validations:
103+
- message: Env is immutable
104+
rule: self == oldSelf
105+
routingContext:
106+
description: Routing context used for running the job (empty means
107+
running against the baseline)
108+
properties:
109+
routegroupName:
110+
description: RouteGroup name
111+
type: string
112+
sandboxName:
113+
description: Sandbox name (SDS object name)
114+
type: string
115+
type: object
116+
x-kubernetes-validations:
117+
- message: RoutingContext is immutable
118+
rule: self == oldSelf
119+
runnerGroup:
120+
description: Job runner group responsible for running this job
121+
properties:
122+
name:
123+
type: string
124+
namespace:
125+
type: string
126+
required:
127+
- name
128+
- namespace
129+
type: object
130+
x-kubernetes-validations:
131+
- message: RunnerGroup is immutable
132+
rule: self == oldSelf
133+
timeout:
134+
description: Timeout indicates an optional timeout to enforce on the
135+
Job. It applies only to the execution of the specified script (the
136+
upload of artifacts is not affected by this timeout). If it exceeds
137+
the associated RunnerGroup's timeout and that RunnerGroup does not
138+
allow increasing timeouts, the smallest timeout will be used.
139+
type: string
140+
x-kubernetes-validations:
141+
- message: Timeout is immutable
142+
rule: self == oldSelf
143+
required:
144+
- canceled
145+
- content
146+
- runnerGroup
147+
type: object
148+
status:
149+
properties:
150+
conditions:
151+
description: 'Conditions is a list of conditions that matches the
152+
conventions expected by kubectl, allowing our CRDs to work with:
153+
kubectl wait --for=condition=...'
154+
items:
155+
description: "StatusCondition is a condition struct that matches
156+
the conventions expected by kubectl, allowing our CRDs to work
157+
with: kubectl wait --for=condition=... \n StatusConditions must
158+
follow the following discipline in reconciliation: The operator
159+
MUST always populate all the condition types in a SignadotSandboxStatus
160+
struct, irrespective of whether the condition is known or not
161+
(see corev1.ConditionUnknown) so that access via a k8s client
162+
can determine whether the capability is supported in the operator."
163+
properties:
164+
lastTransitionTime:
165+
format: date-time
166+
type: string
167+
message:
168+
type: string
169+
reason:
170+
type: string
171+
status:
172+
type: string
173+
type:
174+
type: string
175+
required:
176+
- status
177+
- type
178+
type: object
179+
type: array
180+
observedAt:
181+
description: Time at which the job was reconciled
182+
format: date-time
183+
type: string
184+
observedGeneration:
185+
description: ObservedGeneration provides the Generation of the last
186+
Job seen by the controller.
187+
format: int64
188+
type: integer
189+
runner:
190+
description: Information about the job runner assigned to this job
191+
properties:
192+
runnerGroupVersion:
193+
description: RunnerGroupVersion indicates the job runner group
194+
version from the assigned pod (as specified in the JobRunnerGroupVersionLabel
195+
label)
196+
type: string
197+
runnerPod:
198+
description: RunnerPod is a reference to the pod assigned for
199+
running this job
200+
properties:
201+
name:
202+
type: string
203+
namespace:
204+
type: string
205+
required:
206+
- name
207+
- namespace
208+
type: object
209+
required:
210+
- runnerPod
211+
type: object
212+
state:
213+
description: State holds details about the job's current condition
214+
properties:
215+
running:
216+
description: Details about a running job
217+
properties:
218+
jobExecutionAddr:
219+
description: Address where is exposed the API of the job executor
220+
responsible for running this job
221+
type: string
222+
message:
223+
description: Message about the current phase of the job
224+
type: string
225+
phase:
226+
description: Phase describes the last known phase while running
227+
this job
228+
type: string
229+
reason:
230+
description: (brief) reason about the current phase of the
231+
job
232+
type: string
233+
startedAt:
234+
description: Time at which the job was last (re-)started
235+
format: date-time
236+
type: string
237+
type: object
238+
terminated:
239+
description: Details about a terminated job
240+
properties:
241+
canceled:
242+
description: Canceled specifies whether the execution was
243+
canceled or not
244+
type: boolean
245+
exitCode:
246+
description: Exit code obtained after running the specified
247+
script
248+
format: int32
249+
type: integer
250+
finishedAt:
251+
description: Time at which the execution of the job terminated
252+
format: date-time
253+
type: string
254+
message:
255+
description: Message regarding the termination of the job
256+
type: string
257+
reason:
258+
description: (brief) reason about the termination of the job
259+
type: string
260+
retryable:
261+
description: Retryable specifies whether makes sense to retry
262+
this job or not
263+
type: boolean
264+
startedAt:
265+
description: Time at which the execution of the job started
266+
format: date-time
267+
type: string
268+
success:
269+
description: Success specifies whether the execution was completed
270+
successfully or not.
271+
type: boolean
272+
timedOut:
273+
description: TimedOut specifies whether the execution was
274+
timed out or not
275+
type: boolean
276+
required:
277+
- canceled
278+
- success
279+
type: object
280+
waiting:
281+
description: Details about a waiting job
282+
properties:
283+
message:
284+
description: Message regarding why the job is not yet running.
285+
type: string
286+
reason:
287+
description: (brief) reason why the job is not yet running.
288+
type: string
289+
type: object
290+
type: object
291+
type: object
292+
type: object
293+
served: true
294+
storage: true
295+
subresources:
296+
status: {}

signadot/operator/templates/routeserver-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
{{- end }}
3737
spec:
3838
containers:
39-
- image: {{ with .Values }}{{ with .routeServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/route-server:v0.16.1{{- end }}{{- else -}}signadot/route-server:v0.16.1{{- end }}{{- else -}}signadot/route-server:v0.16.1{{- end }}
39+
- image: {{ with .Values }}{{ with .routeServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/route-server:v0.17.0{{- end }}{{- else -}}signadot/route-server:v0.17.0{{- end }}{{- else -}}signadot/route-server:v0.17.0{{- end }}
4040
imagePullPolicy: {{ with .Values }}{{ with .routeServer }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
4141
name: routeserver
4242
ports:

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

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ rules:
2626
- signadotroutegroups
2727
- routingconfigs
2828
- istioroutes
29+
- jobs
30+
- jobrunnergroups
2931
verbs:
3032
- get
3133
- list

0 commit comments

Comments
 (0)