Skip to content

Commit c95a9a9

Browse files
authored
Merge pull request #94 from signadot/release-v1.1.0
Release v1.1.0
2 parents 1d901b7 + b42c256 commit c95a9a9

File tree

53 files changed

+632
-1645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+632
-1645
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: "1.0.0"
9+
version: "1.1.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: "1.0.0"
15+
appVersion: "1.1.0"

signadot/operator/README.md

Lines changed: 105 additions & 114 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{{ if not .Values.disableAgent }}
2-
2+
{{- if and (hasKey .Values "agent") (hasKey .Values.agent "clusterToken") }}
3+
Please visit https://app.signadot.com to verify that your cluster has been
4+
successfully registered.
5+
{{- else }}
36
Please visit https://app.signadot.com to register this cluster and create a cluster token.
47

58
Then populate the cluster token in a Secret by running the following command
69
with "..." replaced by the token value.
710

811
kubectl -n signadot create secret generic cluster-agent --from-literal=token=...
9-
12+
{{- end }}
1013
{{ end }}

signadot/operator/templates/_helpers.tpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ routing:
2626
{{- end}}
2727
iptablesMode: {{ if and (hasKey .Values "routing") (hasKey .Values.routing "iptablesMode") -}}{{ .Values.routing.iptablesMode }}{{- else -}}legacy{{- end }}
2828
customHeaders: {{ with .Values }}{{ with .routing }}{{ with .customHeaders }}{{ printf "\n" }}{{ toYaml . | indent 4}}{{- else -}}[]{{- end }}{{- else -}}[]{{- end }}{{- else -}}[]{{- end }}
29-
sandboxTrafficManager:
30-
enabled: {{ if and (hasKey .Values "sandboxTrafficManager") (hasKey .Values.sandboxTrafficManager "enabled") -}}{{ toString .Values.sandboxTrafficManager.enabled }}{{- else -}}true{{- end }}
3129
trafficCapture:
3230
enabled: {{ if and (hasKey .Values "trafficCapture") (hasKey .Values.trafficCapture "enabled") -}}{{ toString .Values.trafficCapture.enabled }}{{- else -}}true{{- end }}
3331
requestHeadersElide: {{ with .Values }}{{ with .trafficCapture }}{{ with .requestHeadersElide }}{{ printf "\n" }}{{ toYaml . | indent 4}}{{- else -}}[]{{- end }}{{- else -}}[]{{- end }}{{- else -}}[]{{- end }}

signadot/operator/templates/agent-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ spec:
7171
valueFrom:
7272
secretKeyRef:
7373
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 }}
74+
name: {{ with .Values }}{{ with .agent }}{{ with .tokenSecret }}{{ . }}{{- else -}}"cluster-agent"{{- end }}{{- else -}}"cluster-agent"{{- end }}{{- else -}}"cluster-agent"{{- end }}
75+
image: {{ with .Values }}{{ with .agent }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/agent:v1.1.0{{- end }}{{- else -}}signadot/agent:v1.1.0{{- end }}{{- else -}}signadot/agent:v1.1.0{{- end }}
7676
imagePullPolicy: {{ with .Values }}{{ with .agent }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
7777
livenessProbe:
7878
httpGet:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{- if and (hasKey .Values "agent") (hasKey .Values.agent "clusterToken")
2+
}}
3+
apiVersion: v1
4+
kind: Secret
5+
metadata:
6+
name: {{ with .Values }}{{ with .agent }}{{ with .tokenSecret }}{{ . }}{{- else -}}"cluster-agent"{{- end }}{{- else -}}"cluster-agent"{{- end }}{{- else -}}"cluster-agent"{{- end }}
7+
namespace: signadot
8+
data:
9+
token: {{ .Values.agent.clusterToken | b64enc | quote }}
10+
{{- end }}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ spec:
7272
- name
7373
type: object
7474
disableSandboxTrafficManager:
75+
description: 'DEPRECATED: this field is no longer needed.'
7576
type: boolean
7677
patches:
7778
description: List of patches to be applied to the baseline workload

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ metadata:
1313
name: io-context-server
1414
namespace: signadot
1515
spec:
16-
replicas: 1
16+
{{- with .Values }}{{- with .ioContextServer }}{{- with .replicas }}
17+
replicas: {{ . }}
18+
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
1719
selector:
1820
matchLabels:
1921
app: io-context-server
@@ -40,7 +42,7 @@ spec:
4042
- /app/io-context-server
4143
- -tls=secretns=signadot
4244
- -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.1.0{{- end }}{{- else -}}signadot/io-context-server:v1.1.0{{- end }}{{- else -}}signadot/io-context-server:v1.1.0{{- end }}
4446
imagePullPolicy: {{ with .Values }}{{ with .ioContextServer }}{{ with .imagePullPolicy }}{{ . | quote}}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}{{- else -}}IfNotPresent{{- end }}
4547
name: io-context-server
4648
ports:

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,20 @@ spec:
6161
as seen by the controller
6262
format: int64
6363
type: integer
64+
kind:
65+
type: string
66+
name:
67+
type: string
68+
namespace:
69+
type: string
6470
workloadID:
6571
description: WorkloadID is the UID of the underlying baseline
6672
workload.
6773
type: string
6874
required:
75+
- kind
76+
- name
77+
- namespace
6978
- workloadID
7079
type: object
7180
mappings:
@@ -94,13 +103,36 @@ spec:
94103
namespace:
95104
description: Namespace of this managed route
96105
type: string
106+
sandboxedWorkload:
107+
description: |-
108+
SandboxedWorkload is a reference to the sandboxed workload originator of
109+
this route
110+
properties:
111+
kind:
112+
enum:
113+
- ForkedWorkload
114+
- SignadotExternalWorkload
115+
- VirtualWorkload
116+
type: string
117+
name:
118+
type: string
119+
namespace:
120+
type: string
121+
sandboxName:
122+
type: string
123+
required:
124+
- kind
125+
- name
126+
- namespace
127+
type: object
97128
targetService:
98129
description: Route target
99130
type: string
100131
required:
101132
- baseline
102133
- mappings
103134
- namespace
135+
- sandboxedWorkload
104136
- targetService
105137
type: object
106138
routingKey:

signadot/operator/templates/routeserver-deployment.yaml

Lines changed: 1 addition & 1 deletion
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:v1.0.0{{- end }}{{- else -}}signadot/route-server:v1.0.0{{- end }}{{- else -}}signadot/route-server:v1.0.0{{- end }}
39+
- image: {{ with .Values }}{{ with .routeServer }}{{ with .image }}{{ . | quote}}{{- else -}}signadot/route-server:v1.1.0{{- end }}{{- else -}}signadot/route-server:v1.1.0{{- end }}{{- else -}}signadot/route-server:v1.1.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:

0 commit comments

Comments
 (0)