Skip to content

Commit 4c7c5a5

Browse files
authored
Merge pull request #66 from signadot/release-v0.19.0
PR for chart release for v0.19.0
2 parents e7aa806 + 05916f8 commit 4c7c5a5

20 files changed

+3639
-1075
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.18.0"
9+
version: "0.19.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.18.0"
15+
appVersion: "0.19.0"

signadot/operator/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ style resources and are not needed in an installation which uses the new
120120
| `jobExecutorProxy.image` | Job Executor Proxy container image override | `signadot/job-executor-proxy:vX.Y.Z` |
121121
| `jobExecutorProxy.imagePullPolicy` | Job Executor Proxy container image pull policy | `IfNotPresent` |
122122
| `jobExecutorProxy.imagePullSecret` | Job Executor Proxy container image pull secret | `""` |
123+
| `sandboxTrafficManager.enabled` | Whether to enable the sandbox traffic manager sidecar on forked workloads | `true` |
124+
| `sandboxTrafficManager.init.Image` | Sandbox traffic manager sidecar image override | `signadot/sandbox-traffic-manager:vX.Y.Z` |
125+
| `sandboxTrafficManager.init.ImagePullPolicy` | Sandbox traffic manager sidecar image pull policy | `IfNotPresent` |
126+
| `sandboxTrafficManager.init.ImagePullSecret` | Sandbox traffic manager sidecar image pull secret | `""` |
127+
| `sandboxTrafficManager.sidecar.Image` | Sandbox traffic manager sidecar image override | `signadot/sandbox-traffic-manager:vX.Y.Z` |
128+
| `sandboxTrafficManager.sidecar.ImagePullPolicy` | Sandbox traffic manager sidecar image pull policy | `IfNotPresent` |
129+
| `sandboxTrafficManager.sidecar.ImagePullSecret` | Sandbox traffic manager sidecar image pull secret | `""` |
123130

124131

125132
### Tunnel parameters

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.18.0{{- end }}{{- else -}}signadot/agent:v0.18.0{{- end }}{{- else -}}signadot/agent:v0.18.0{{- end }}
51+
image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v0.19.0{{- end }}{{- else -}}signadot/agent:v0.19.0{{- end }}{{- else -}}signadot/agent:v0.19.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/forkedworkloads.signadot.com-customresourcedefinition.yaml

+87-63
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.16.3
77
{{- range $key, $val := .Values.commonAnnotations }}
88
{{ $key | quote }}: {{ $val | quote }}
99
{{- end }}
@@ -28,14 +28,19 @@ spec:
2828
openAPIV3Schema:
2929
properties:
3030
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'
31+
description: |-
32+
APIVersion defines the versioned schema of this representation of an object.
33+
Servers should convert recognized schemas to the latest internal value, and
34+
may reject unrecognized values.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3436
type: string
3537
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'
38+
description: |-
39+
Kind is a string value representing the REST resource this object represents.
40+
Servers may infer this from the endpoint the client submits requests to.
41+
Cannot be updated.
42+
In CamelCase.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3944
type: string
4045
metadata:
4146
type: object
@@ -76,12 +81,15 @@ spec:
7681
description: JSON specifies the patch in JSON Patch format (RFC
7782
6902).
7883
items:
79-
description: "RawExtension is a wrapper around runtime.RawExtension.
80-
\n It exists so we can add the PreserveUnknownFields directive
81-
on the items in a []RawExtension list, rather than to the
82-
list itself. Adding PreserveUnknownFields to the list itself
83-
works in the latest patch releases of k8s v1.18+, but the
84-
fix was never backported to v1.17 or older: \n https://github.com/kubernetes/kubernetes/pull/94888"
84+
description: |-
85+
RawExtension is a wrapper around runtime.RawExtension.
86+
87+
It exists so we can add the PreserveUnknownFields directive on the items in
88+
a []RawExtension list, rather than to the list itself.
89+
Adding PreserveUnknownFields to the list itself works in the latest patch
90+
releases of k8s v1.18+, but the fix was never backported to v1.17 or older:
91+
92+
https://github.com/kubernetes/kubernetes/pull/94888
8593
type: object
8694
x-kubernetes-preserve-unknown-fields: true
8795
type: array
@@ -91,31 +99,38 @@ spec:
9199
type: object
92100
x-kubernetes-preserve-unknown-fields: true
93101
strategic:
94-
description: "Strategic specifies the patch in Kubernetes strategic
95-
merge patch format. \n See: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/"
102+
description: |-
103+
Strategic specifies the patch in Kubernetes strategic merge patch format.
104+
105+
See: https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/
96106
type: object
97107
x-kubernetes-preserve-unknown-fields: true
98108
template:
99-
description: "Template specifies whether to treat the patch
100-
content as a template. If enabled, variable substitution will
101-
be performed, allowing patches to refer to information that
102-
will only become available after the operator processes a
103-
sandbox spec, such as the names of Resource output objects.
104-
\n Default: false"
109+
description: |-
110+
Template specifies whether to treat the patch content as a template. If
111+
enabled, variable substitution will be performed, allowing patches to
112+
refer to information that will only become available after the operator
113+
processes a sandbox spec, such as the names of Resource output objects.
114+
115+
Default: false
105116
type: boolean
106117
type: object
107118
type: array
108119
preservedLabels:
109-
description: "PreservedLabels is a list of RE2 regular expressions
110-
to check against label keys on the original baseline Pod template.
111-
The expression can match any substring within the key, so use anchors
112-
if you want to require a full match. \n Normally, all baseline labels
113-
are stripped from the cloned Pod template to ensure it can't match
114-
any existing Services. Labels from the baseline Pod that match any
115-
of these regular expressions will be preserved on the cloned Pod
116-
instead. \n If preserving these labels would cause the cloned Pods
117-
to match a baseline Service, the sandbox controller will pause and
118-
report an error to avoid interference."
120+
description: |-
121+
PreservedLabels is a list of RE2 regular expressions to check against
122+
label keys on the original baseline Pod template. The expression can
123+
match any substring within the key, so use anchors if you want to require
124+
a full match.
125+
126+
Normally, all baseline labels are stripped from the cloned Pod template
127+
to ensure it can't match any existing Services. Labels from the baseline
128+
Pod that match any of these regular expressions will be preserved on the
129+
cloned Pod instead.
130+
131+
If preserving these labels would cause the cloned Pods to match a baseline
132+
Service, the sandbox controller will pause and report an error to avoid
133+
interference.
119134
items:
120135
type: string
121136
type: array
@@ -129,14 +144,15 @@ spec:
129144
by the requestor.
130145
type: string
131146
objectName:
132-
description: ObjectName is the name of the Resource object that
133-
will be created by the Sandbox controller.
147+
description: |-
148+
ObjectName is the name of the Resource object that will be created by the
149+
Sandbox controller.
134150
type: string
135151
outputKind:
136152
default: Secret
137-
description: OutputKind is the kind of object (ConfigMap or
138-
Secret) in which the plugin provisioner's output should be
139-
stored. The default is "Secret".
153+
description: |-
154+
OutputKind is the kind of object (ConfigMap or Secret) in which the
155+
plugin provisioner's output should be stored. The default is "Secret".
140156
enum:
141157
- Secret
142158
- ConfigMap
@@ -145,8 +161,9 @@ spec:
145161
- name
146162
- objectName
147163
type: object
148-
description: ResourceTemplateData is a map from resource name to the
149-
template data related to that resource.
164+
description: |-
165+
ResourceTemplateData is a map from resource name to the template data
166+
related to that resource.
150167
type: object
151168
required:
152169
- baseline
@@ -158,8 +175,9 @@ spec:
158175
description: Baseline provides information about the baseline workload
159176
properties:
160177
generation:
161-
description: Generation is the latest generation of the underlying
162-
baseline workload as seen by the controller
178+
description: |-
179+
Generation is the latest generation of the underlying baseline workload
180+
as seen by the controller
163181
format: int64
164182
type: integer
165183
workloadID:
@@ -170,18 +188,19 @@ spec:
170188
- workloadID
171189
type: object
172190
conditions:
173-
description: 'Conditions is a list of conditions that matches the
174-
conventions expected by kubectl, allowing our CRDs to work with:
175-
kubectl wait --for=condition=...'
191+
description: |-
192+
Conditions is a list of conditions that matches the conventions expected
193+
by kubectl, allowing our CRDs to work with: kubectl wait --for=condition=...
176194
items:
177-
description: "StatusCondition is a condition struct that matches
178-
the conventions expected by kubectl, allowing our CRDs to work
179-
with: kubectl wait --for=condition=... \n StatusConditions must
180-
follow the following discipline in reconciliation: The operator
181-
MUST always populate all the condition types in a SignadotSandboxStatus
182-
struct, irrespective of whether the condition is known or not
183-
(see corev1.ConditionUnknown) so that access via a k8s client
184-
can determine whether the capability is supported in the operator."
195+
description: |-
196+
StatusCondition is a condition struct that matches the conventions expected
197+
by kubectl, allowing our CRDs to work with: kubectl wait --for=condition=...
198+
199+
StatusConditions must follow the following discipline in reconciliation:
200+
The operator MUST always populate all the condition types in a
201+
SignadotSandboxStatus struct, irrespective of whether
202+
the condition is known or not (see corev1.ConditionUnknown) so that access via
203+
a k8s client can determine whether the capability is supported in the operator.
185204
properties:
186205
lastTransitionTime:
187206
format: date-time
@@ -227,17 +246,20 @@ spec:
227246
type: object
228247
type: object
229248
observedGeneration:
230-
description: ObservedGeneration provides the Generation of the last
231-
ForkedWorkload seen by the controller.
249+
description: |-
250+
ObservedGeneration provides the Generation of the last ForkedWorkload
251+
seen by the controller.
232252
format: int64
233253
type: integer
234254
routingConfig:
235-
description: This is routing information about the workload, exposed
236-
to the RoutingConfig controller.
255+
description: |-
256+
This is routing information about the workload, exposed to the
257+
RoutingConfig controller.
237258
properties:
238259
devMeshSidecarPresent:
239-
description: DevMeshSidecarPresent defines if the DevMesh sidecar
240-
is present in the baseline workload
260+
description: |-
261+
DevMeshSidecarPresent defines if the DevMesh sidecar is present in the
262+
baseline workload
241263
type: boolean
242264
services:
243265
description: Services provides the list of matching services for
@@ -248,8 +270,9 @@ spec:
248270
description: Name of the baseline service
249271
type: string
250272
missingPorts:
251-
description: List of ports in the baseline service which
252-
do not have a corresponding TargetPort in the workload.
273+
description: |-
274+
List of ports in the baseline service which do not
275+
have a corresponding TargetPort in the workload.
253276
items:
254277
format: int32
255278
type: integer
@@ -272,10 +295,11 @@ spec:
272295
type: object
273296
type: array
274297
to:
275-
description: Name of the service created for the forked
276-
or external workload An empty name means that no service
277-
was created because there were no ports in the baseline
278-
service which resolved to ports in the baseline workload.
298+
description: |-
299+
Name of the service created for the forked or external workload
300+
An empty name means that no service was created because there
301+
were no ports in the baseline service which resolved to ports
302+
in the baseline workload.
279303
type: string
280304
required:
281305
- from

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.18.0{{- end }}{{- else -}}signadot/io-context-server:v0.18.0{{- end }}{{- else -}}signadot/io-context-server:v0.18.0{{- end }}
43+
image: {{ with .Values }}{{ with .ioContextServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/io-context-server:v0.19.0{{- end }}{{- else -}}signadot/io-context-server:v0.19.0{{- end }}{{- else -}}signadot/io-context-server:v0.19.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:

0 commit comments

Comments
 (0)