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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
|
{{ if eq .Values.istioVersion "1.3" }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: istios.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: Istio
plural: istios
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
enableNamespacesByDefault:
description: 'Determines Citadel default behavior if the ca.istio.io/env
or ca.istio.io/override labels are not found on a given namespace. For
example: consider a namespace called "target", which has neither
the "ca.istio.io/env" nor the "ca.istio.io/override" namespace
labels. To decide whether or not to generate secrets for service
accounts created in this "target" namespace, Citadel will defer
to this option. If the value of this option is "true" in this
case, secrets will be generated for the "target" namespace. If
the value of this option is "false" Citadel will not generate
secrets upon service account creation.'
type: boolean
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
clusterName:
description: Should be set to the name of the cluster this installation
will run in. This is required for sidecar injection to properly label
proxies
type: string
controlPlaneSecurityEnabled:
description: ControlPlaneSecurityEnabled control plane services are
communicating through mTLS
type: boolean
defaultConfigVisibility:
description: Set the default set of namespaces to which services, service
entries, virtual services, destination rules should be exported to
type: string
defaultPodDisruptionBudget:
description: Enable pod disruption budget for the control plane, which
is used to ensure Istio control plane components are gradually upgraded
or recovered
properties:
enabled:
type: boolean
type: object
defaultResources:
description: DefaultResources are applied for all Istio components by
default, can be overridden for each component
type: object
excludeIPRanges:
description: ExcludeIPRanges the range where not to capture egress traffic
type: string
galley:
description: Galley configuration options
properties:
affinity:
type: object
configValidation:
type: boolean
enabled:
type: boolean
image:
type: string
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
resources:
type: object
tolerations:
items:
type: object
type: array
type: object
gateways:
description: Gateways configuration options
properties:
egress:
properties:
affinity:
type: object
applicationPorts:
type: string
enabled:
type: boolean
loadBalancerIP:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
nodeSelector:
type: object
ports:
items:
type: object
type: array
replicaCount:
format: int32
type: integer
requestedNetworkView:
type: string
resources:
type: object
sds:
properties:
enabled:
type: boolean
image:
type: string
resources:
type: object
type: object
serviceAnnotations:
type: object
serviceLabels:
type: object
serviceType:
enum:
- ClusterIP
- NodePort
- LoadBalancer
type: string
tolerations:
items:
type: object
type: array
type: object
enabled:
type: boolean
ingress:
properties:
affinity:
type: object
applicationPorts:
type: string
enabled:
type: boolean
loadBalancerIP:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
nodeSelector:
type: object
ports:
items:
type: object
type: array
replicaCount:
format: int32
type: integer
requestedNetworkView:
type: string
resources:
type: object
sds:
properties:
enabled:
type: boolean
image:
type: string
resources:
type: object
type: object
serviceAnnotations:
type: object
serviceLabels:
type: object
serviceType:
enum:
- ClusterIP
- NodePort
- LoadBalancer
type: string
tolerations:
items:
type: object
type: array
type: object
type: object
imagePullPolicy:
description: ImagePullPolicy describes a policy for if/when to pull
a container image
enum:
- Always
- Never
- IfNotPresent
type: string
includeIPRanges:
description: IncludeIPRanges the range where to capture egress traffic
type: string
istioCoreDNS:
description: Istio CoreDNS provides DNS resolution for services in multi
mesh setups
properties:
affinity:
type: object
enabled:
type: boolean
image:
type: string
nodeSelector:
type: object
pluginImage:
type: string
replicaCount:
format: int32
type: integer
resources:
type: object
tolerations:
items:
type: object
type: array
type: object
localityLB:
description: Locality based load balancing distribution or failover
settings.
properties:
distribute:
description: 'Optional: only one of distribute or failover can be
set. Explicitly specify loadbalancing weight across different
zones and geographical locations. Refer to [Locality weighted
load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/load_balancing/locality_weight)
If empty, the locality weight is set according to the endpoints
number within it.'
items:
properties:
from:
description: Originating locality, '/' separated, e.g. 'region/zone'.
type: string
to:
description: Map of upstream localities to traffic distribution
weights. The sum of all weights should be == 100. Any locality
not assigned a weight will receive no traffic.
type: object
type: object
type: array
enabled:
description: If set to true, locality based load balancing will
be enabled
type: boolean
failover:
description: 'Optional: only failover or distribute can be set.
Explicitly specify the region traffic will land on when endpoints
in local region becomes unhealthy. Should be used together with
OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection
specified, this will not take effect.'
items:
properties:
from:
description: Originating region.
type: string
to:
description: Destination region the traffic will fail over
to when endpoints in the 'from' region becomes unhealthy.
type: string
type: object
type: array
type: object
meshExpansion:
description: If set to true, the pilot and citadel mtls will be exposed
on the ingress gateway also the remote istios will be connected through
gateways
type: boolean
meshID:
description: Mesh ID means Mesh Identifier. It should be unique within
the scope where meshes will interact with each other, but it is not
required to be globally/universally unique.
type: string
trustDomain:
description: The domain serves to identify the system with SPIFFE. (default "cluster.local")
type: string
mixer:
description: Mixer configuration options
properties:
affinity:
type: object
checksEnabled:
type: boolean
enabled:
type: boolean
image:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
multiClusterSupport:
description: Turn it on if you use mixer that supports multi cluster
telemetry
type: boolean
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
reportBatchMaxEntries:
description: Set reportBatchMaxEntries to 0 to use the default batching
behavior (i.e., every 100 requests). A positive value indicates
the number of requests that are batched before telemetry data
is sent to the mixer server
format: int32
type: integer
reportBatchMaxTime:
description: Set reportBatchMaxTime to 0 to use the default batching
behavior (i.e., every 1 second). A positive time value indicates
the maximum wait time since the last request will telemetry data
be batched before being sent to the mixer server
type: string
resources:
type: object
sessionAffinityEnabled:
description: Set whether to create a STRICT_DNS type cluster for
istio-telemetry.
type: boolean
stdioAdapterEnabled:
description: stdio is a debug adapter in Istio telemetry, it is
not recommended for production use
type: boolean
tolerations:
items:
type: object
type: array
type: object
mixerlessTelemetry:
description: Mixerless telemetry configuration
properties:
enabled:
description: If set to true, experimental Mixerless http telemetry
will be enabled
type: boolean
type: object
mtls:
description: MTLS enables or disables global mTLS
type: boolean
multiMesh:
description: Set to true to connect two or more meshes via their respective
ingressgateway services when workloads in each cluster cannot directly
talk to one another. All meshes should be using Istio mTLS and must
have a shared root CA for this model to work.
type: boolean
nodeAgent:
description: NodeAgent configuration options
properties:
affinity:
type: object
enabled:
type: boolean
image:
type: string
nodeSelector:
type: object
resources:
type: object
tolerations:
items:
type: object
type: array
type: object
outboundTrafficPolicy:
description: Set the default behavior of the sidecar for handling outbound
traffic from the application (ALLOW_ANY or REGISTRY_ONLY)
properties:
mode:
enum:
- ALLOW_ANY
- REGISTRY_ONLY
type: string
type: object
pilot:
description: Pilot configuration options
properties:
affinity:
type: object
enableProtocolSniffing:
type: boolean
enabled:
type: boolean
image:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
resources:
type: object
sidecar:
type: boolean
tolerations:
items:
type: object
type: array
traceSampling:
format: float
type: number
type: object
policy:
description: Policy configuration options
properties:
affinity:
type: object
checksEnabled:
type: boolean
enabled:
type: boolean
image:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
resources:
type: object
sessionAffinityEnabled:
description: Set whether to create a STRICT_DNS type cluster for
istio-telemetry.
type: boolean
tolerations:
items:
type: object
type: array
type: object
proxy:
description: Proxy configuration options
properties:
accessLogEncoding:
description: Configure the access log for sidecar to JSON or TEXT.
enum:
- JSON
- TEXT
type: string
accessLogFile:
description: 'Configures the access log for each sidecar. Options: ""
- disables access log "/dev/stdout" - enables access log'
enum:
- ""
- /dev/stdout
type: string
accessLogFormat:
description: 'Configure how and what fields are displayed in sidecar
access log. Setting to empty string will result in default log
format. If accessLogEncoding is TEXT, value will be used directly
as the log format example: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%
%PROTOCOL%\n" If AccessLogEncoding is JSON, value will be parsed
as map[string]string example: ''{"start_time": "%START_TIME%",
"req_method": "%REQ(:METHOD)%"}'''
type: string
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
coreDumpImage:
description: Image used to enable core dumps. This is only used,
when "EnableCoreDump" is set to true.
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
envoyAccessLogService:
properties:
enabled:
type: boolean
host:
type: string
port:
format: int32
type: integer
tcpKeepalive:
properties:
interval:
type: string
probes:
format: int32
type: integer
time:
type: string
type: object
tlsSettings:
properties:
caCertificates:
type: string
clientCertificate:
type: string
mode:
type: string
privateKey:
type: string
sni:
type: string
subjectAltNames:
items:
type: string
type: array
type: object
type: object
envoyMetricsService:
properties:
enabled:
type: boolean
host:
type: string
port:
format: int32
type: integer
type: object
envoyStatsD:
properties:
enabled:
type: boolean
host:
type: string
port:
format: int32
type: integer
type: object
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
protocolDetectionTimeout:
type: string
resources:
type: object
type: object
proxyInit:
description: Proxy Init configuration options
properties:
image:
type: string
type: object
sds:
description: If SDS is configured, mTLS certificates for the sidecars
will be distributed through the SecretDiscoveryService instead of
using K8S secrets to mount the certificates
properties:
customTokenDirectory:
type: string
enabled:
description: If set to true, mTLS certificates for the sidecars
will be distributed through the SecretDiscoveryService instead
of using K8S secrets to mount the certificates.
type: boolean
tokenAudience:
description: "The JWT token for SDS and the aud field of such JWT.
See RFC 7519, section 4.1.3. When a CSR is sent from Citadel Agent
to the CA (e.g. Citadel), this aud is to make sure the \tJWT is
intended for the CA."
type: string
udsPath:
description: Unix Domain Socket through which envoy communicates
with NodeAgent SDS to get key/cert for mTLS. Use secret-mount
files instead of SDS if set to empty.
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
telemetry:
description: Telemetry configuration options
properties:
affinity:
type: object
enabled:
type: boolean
image:
type: string
maxReplicas:
format: int32
type: integer
minReplicas:
format: int32
type: integer
nodeSelector:
type: object
replicaCount:
format: int32
type: integer
reportBatchMaxEntries:
description: Set reportBatchMaxEntries to 0 to use the default batching
behavior (i.e., every 100 requests). A positive value indicates
the number of requests that are batched before telemetry data
is sent to the mixer server
format: int32
type: integer
reportBatchMaxTime:
description: Set reportBatchMaxTime to 0 to use the default batching
behavior (i.e., every 1 second). A positive time value indicates
the maximum wait time since the last request will telemetry data
be batched before being sent to the mixer server
type: string
resources:
type: object
tolerations:
items:
type: object
type: array
type: object
tracing:
description: Configuration for each of the supported tracers
properties:
datadog:
properties:
address:
description: Host:Port for submitting traces to the Datadog
agent.
pattern: ^[^\:]+:[0-9]{1,5}$
type: string
type: object
enabled:
type: boolean
lightstep:
properties:
accessToken:
description: required for sending data to the pool
type: string
address:
description: the <host>:<port> of the satellite pool
pattern: ^[^\:]+:[0-9]{1,5}$
type: string
cacertPath:
description: the path to the file containing the cacert to use
when verifying TLS. If secure is true, this is required. If
a value is specified then a secret called "lightstep.cacert"
must be created in the destination namespace with the key
matching the base of the provided cacertPath and the value
being the cacert itself.
type: string
secure:
description: specifies whether data should be sent with TLS
type: boolean
type: object
stackdriver:
type: object
tracer:
enum:
- zipkin
- lightstep
- datadog
type: string
zipkin:
properties:
address:
description: Host:Port for reporting trace data in zipkin format.
If not specified, will default to zipkin service (port 9411)
in the same namespace as the other istio components.
pattern: ^[^\:]+:[0-9]{1,5}$
type: string
type: object
type: object
useMCP:
description: Use the Mesh Control Protocol (MCP) for configuring Mixer
and Pilot. Requires galley.
type: boolean
version:
description: Contains the intended Istio version
pattern: ^1.3
type: string
watchAdapterCRDs:
description: Whether or not to establish watches for adapter-specific
CRDs
type: boolean
watchOneNamespace:
description: Whether to restrict the applications namespace the controller
manages
type: boolean
required:
- version
- mtls
type: object
status:
type: object
version: v1beta1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
{{- end }}
|