1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
{{ if eq .Values.istioVersion 1.2 }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: remoteistios.istio.banzaicloud.io
labels:
controller-tools.k8s.io: "1.0"
app.kubernetes.io/name: {{ include "istio-operator.name" . }}
helm.sh/chart: {{ include "istio-operator.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: operator
spec:
additionalPrinterColumns:
- JSONPath: .status.Status
description: Status of the resource
name: Status
type: string
- JSONPath: .status.ErrorMessage
description: Error message
name: Error
type: string
- JSONPath: .status.GatewayAddress
description: Ingress gateways of the resource
name: Gateways
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: istio.banzaicloud.io
names:
kind: RemoteIstio
plural: remoteistios
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
autoInjectionNamespaces:
description: List of namespaces to label with sidecar auto injection
enabled
items:
type: string
type: array
citadel:
description: Citadel configuration options
properties:
affinity:
type: object
caSecretName:
type: string
enabled:
type: boolean
healthCheck:
description: Enable health checking on the Citadel CSR signing API.
https://istio.io/docs/tasks/security/health-check/
type: boolean
image:
type: string
maxWorkloadCertTTL:
description: Citadel uses a flag max-workload-cert-ttl to control
the maximum lifetime for Istio certificates issued to workloads.
The default value is 90 days. If workload-cert-ttl on Citadel
or node agent is greater than max-workload-cert-ttl, Citadel will
fail issuing the certificate.
type: string
nodeSelector:
type: object
resources:
type: object
tolerations:
items:
type: object
type: array
workloadCertTTL:
description: For the workloads running in Kubernetes, the lifetime
of their Istio certificates is controlled by the workload-cert-ttl
flag on Citadel. The default value is 90 days. This value should
be no greater than max-workload-cert-ttl of Citadel.
type: string
type: object
defaultResources:
description: DefaultResources are applied for all Istio components by
default, can be overridden for each component
type: object
enabledServices:
description: EnabledServices the Istio component services replicated
to remote side
items:
properties:
labelSelector:
type: string
name:
type: string
podIPs:
items:
type: string
type: array
ports:
items:
type: object
type: array
required:
- name
type: object
type: array
excludeIPRanges:
description: ExcludeIPRanges the range where not to capture egress traffic
type: string
includeIPRanges:
description: IncludeIPRanges the range where to capture egress traffic
type: string
proxy:
description: Proxy configuration options
properties:
componentLogLevel:
description: Per Component log level for proxy, applies to gateways
and sidecars. If a component level is not set, then the "LogLevel"
will be used. If left empty, "misc:error" is used.
type: string
dnsRefreshRate:
description: Configure the DNS refresh rate for Envoy cluster of
type STRICT_DNS This must be given it terms of seconds. For example,
300s is valid but 5m is invalid.
pattern: ^[0-9]{1,5}s$
type: string
enableCoreDump:
description: If set, newly injected sidecars will have core dumps
enabled.
type: boolean
image:
type: string
logLevel:
description: 'Log level for proxy, applies to gateways and sidecars.
If left empty, "warning" is used. Expected values are: trace|debug|info|warning|error|critical|off'
enum:
- trace
- debug
- info
- warning
- error
- critical
- "off"
type: string
privileged:
description: If set to true, istio-proxy container will have privileged
securityContext
type: boolean
resources:
type: object
type: object
proxyInit:
description: Proxy Init configuration options
properties:
image:
type: string
type: object
sidecarInjector:
description: SidecarInjector configuration options
properties:
affinity:
type: object
alwaysInjectSelector:
description: 'AlwaysInjectSelector: Forces the injection on pods
whose labels match this selector. It''s an array of label selectors,
that will be OR''ed, meaning we will iterate over it and stop
at the first match'
items:
type: object
type: array
autoInjectionPolicyEnabled:
description: This controls the 'policy' in the sidecar injector
type: boolean
enableNamespacesByDefault:
description: This controls whether the webhook looks for namespaces
for injection enabled or disabled
type: boolean
enabled:
type: boolean
image:
type: string
init:
properties:
resources:
type: object
type: object
initCNIConfiguration:
properties:
affinity:
type: object
binDir:
description: Must be the same as the environment’s --cni-bin-dir
setting (kubelet parameter)
type: string
confDir:
description: Must be the same as the environment’s --cni-conf-dir
setting (kubelet parameter)
type: string
enabled:
description: If true, the privileged initContainer istio-init
is not needed to perform the traffic redirect settings for
the istio-proxy
type: boolean
excludeNamespaces:
description: List of namespaces to exclude from Istio pod check
items:
type: string
type: array
image:
type: string
logLevel:
description: Logging level for CNI binary
type: string
type: object
neverInjectSelector:
description: 'NeverInjectSelector: Refuses the injection on pods
whose labels match this selector. It''s an array of label selectors,
that will be OR''ed, meaning we will iterate over it and stop
at the first match Takes precedence over AlwaysInjectSelector.'
items:
type: object
type: array
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
resources:
type: object
rewriteAppHTTPProbe:
description: If true, sidecar injector will rewrite PodSpec for
liveness health check to redirect request to sidecar. This makes
liveness check work even when mTLS is enabled.
type: boolean
tolerations:
items:
type: object
type: array
type: object
required:
- enabledServices
type: object
status:
type: object
version: v1beta1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
{{- end }}
|