-
Notifications
You must be signed in to change notification settings - Fork 571
/
Copy pathannotations.gen.go
1006 lines (921 loc) · 30.4 KB
/
annotations.gen.go
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
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// GENERATED FILE -- DO NOT EDIT
package annotation
type FeatureStatus int
const (
Alpha FeatureStatus = iota
Beta
Stable
)
func (s FeatureStatus) String() string {
switch s {
case Alpha:
return "Alpha"
case Beta:
return "Beta"
case Stable:
return "Stable"
}
return "Unknown"
}
type ResourceTypes int
const (
Unknown ResourceTypes = iota
Any
AuthorizationPolicy
Gateway
GatewayClass
Ingress
Namespace
Pod
Service
ServiceEntry
WorkloadEntry
)
func (r ResourceTypes) String() string {
switch r {
case 1:
return "Any"
case 2:
return "AuthorizationPolicy"
case 3:
return "Gateway"
case 4:
return "GatewayClass"
case 5:
return "Ingress"
case 6:
return "Namespace"
case 7:
return "Pod"
case 8:
return "Service"
case 9:
return "ServiceEntry"
case 10:
return "WorkloadEntry"
}
return "Unknown"
}
// Instance describes a single resource annotation
type Instance struct {
// The name of the annotation.
Name string
// Description of the annotation.
Description string
// FeatureStatus of this annotation.
FeatureStatus FeatureStatus
// Hide the existence of this annotation when outputting usage information.
Hidden bool
// Mark this annotation as deprecated when generating usage information.
Deprecated bool
// The types of resources this annotation applies to.
Resources []ResourceTypes
}
var (
AlphaCanonicalServiceAccounts = Instance {
Name: "alpha.istio.io/canonical-serviceaccounts",
Description: "Specifies the non-Kubernetes service accounts that are "+
"allowed to run this service.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: true,
Resources: []ResourceTypes{
Service,
},
}
AlphaKubernetesServiceAccounts = Instance {
Name: "alpha.istio.io/kubernetes-serviceaccounts",
Description: "Specifies the Kubernetes service accounts that are "+
"allowed to run this service on the VMs.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: true,
Resources: []ResourceTypes{
Service,
},
}
AmbientBypassInboundCapture = Instance {
Name: "ambient.istio.io/bypass-inbound-capture",
Description: `When specified on a "Pod" enrolled in ambient mesh, only outbound traffic will be captured.
This is intended to be used when enrolling a workload that only receives traffic from out-of-the-mesh clients, such as third party ingress controllers.
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
AmbientDnsCapture = Instance {
Name: "ambient.istio.io/dns-capture",
Description: `When specified on a "Pod" enrolled in ambient mesh, controls whether DNS traffic (TCP and UDP on port 53) will be captured and proxied in ambient.
Note that setting this to "false" will break some Istio features, such as ServiceEntries and egress waypoints, but may be desirable for workloads that interact poorly with DNS proxies.
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
AmbientRedirection = Instance {
Name: "ambient.istio.io/redirection",
Description: `Automatically configured by Istio to indicate a Pod was successfully enrolled in ambient mode.
This shows the actual state; to specify intent that a workload should be in ambient mode, see "istio.io/dataplane-mode".
User should not manually modify this annotation.`,
FeatureStatus: Beta,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
AmbientWaypointInboundBinding = Instance {
Name: "ambient.istio.io/waypoint-inbound-binding",
Description: `When set on a waypoint (either by its specific "Gateway", or for the entire collection on the "GatewayClass"),
indicates how traffic should be sent to the waypoint. If unset, traffic will be sent to the waypoint as HBONE directly.
This takes the format: "<protocol>" or "<protocol>/<port>".
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
GatewayClass,
Gateway,
},
}
GalleyAnalyzeSuppress = Instance {
Name: "galley.istio.io/analyze-suppress",
Description: "A comma separated list of configuration analysis message "+
"codes to suppress when Istio analyzers are run. For "+
"example, to suppress reporting of IST0103 "+
"(PodMissingProxy) and IST0108 (UnknownAnnotation) on a "+
"resource, apply the annotation "+
"'galley.istio.io/analyze-suppress=IST0108,IST0103'. If "+
"the value is '*', then all configuration analysis "+
"messages are suppressed.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Any,
},
}
GatewayControllerVersion = Instance {
Name: "gateway.istio.io/controller-version",
Description: "A version added to the Gateway by the controller "+
"specifying the `controller version`.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Any,
},
}
GatewayNameOverride = Instance {
Name: "gateway.istio.io/name-override",
Description: `Overrides the name of the generated "Deployment" and "Service" resource when using [Gateway auto-deployment](/docs/tasks/traffic-management/ingress/gateway-api/#automated-deployment)
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Gateway,
},
}
GatewayServiceAccount = Instance {
Name: "gateway.istio.io/service-account",
Description: `Overrides the name of the generated "ServiceAccount" resource when using [Gateway auto-deployment](/docs/tasks/traffic-management/ingress/gateway-api/#automated-deployment)
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Gateway,
},
}
InjectTemplates = Instance {
Name: "inject.istio.io/templates",
Description: "The name of the inject template(s) to use, as a comma "+
"separate list. See "+
"https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#custom-templates-experimental "+
"for more information.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
IoIstioAutoRegistrationGroup = Instance {
Name: "istio.io/autoRegistrationGroup",
Description: "On a WorkloadEntry stores the associated WorkloadGroup.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
WorkloadEntry,
},
}
IoIstioConnectedAt = Instance {
Name: "istio.io/connectedAt",
Description: "On a WorkloadEntry stores the time in nanoseconds when "+
"the associated workload connected to a Pilot instance.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
WorkloadEntry,
},
}
IoIstioDisconnectedAt = Instance {
Name: "istio.io/disconnectedAt",
Description: "On a WorkloadEntry stores the time in nanoseconds when "+
"the associated workload disconnected from a Pilot "+
"instance.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
WorkloadEntry,
},
}
IoIstioDryRun = Instance {
Name: "istio.io/dry-run",
Description: "Specifies whether or not the given resource is in dry-run "+
"mode. See "+
"https://istio.io/latest/docs/tasks/security/authorization/authz-dry-run/ "+
"for more information.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
AuthorizationPolicy,
},
}
IoIstioRerouteVirtualInterfaces = Instance {
Name: "istio.io/reroute-virtual-interfaces",
Description: `A comma separated list of virtual interfaces whose inbound traffic will be unconditionally treated as outbound. This allows workloads using virtualized networking (kubeVirt, VMs, docker-in-docker, etc) to function correctly with mesh traffic capture.
`,
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
IoIstioRev = Instance {
Name: "istio.io/rev",
Description: "Specifies a control plane revision to which a given proxy "+
"is connected. This annotation is added automatically, not "+
"set by a user. In contrary to the label istio.io/rev, it "+
"represents the actual revision, not the requested "+
"revision.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
IoIstioWorkloadController = Instance {
Name: "istio.io/workloadController",
Description: "On a WorkloadEntry should store the current/last pilot "+
"instance connected to the workload for XDS.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
WorkloadEntry,
},
}
IoKubernetesIngressClass = Instance {
Name: "kubernetes.io/ingress.class",
Description: "Annotation on an Ingress resources denoting the class of "+
"controllers responsible for it.",
FeatureStatus: Stable,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Ingress,
},
}
NetworkingExportTo = Instance {
Name: "networking.istio.io/exportTo",
Description: "Specifies the namespaces to which this service should be "+
"exported to. A value of `*` indicates it is reachable "+
"within the mesh. `.` indicates it is reachable within its "+
"namespace. '~' indicates it is hidden and exported to no "+
"namespaces. Additionally, a list of comma separated "+
"namespace names can be specified.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Service,
},
}
NetworkingServiceType = Instance {
Name: "networking.istio.io/service-type",
Description: `Overrides the type of the generated "Service" resource when using [Gateway auto-deployment](/docs/tasks/traffic-management/ingress/gateway-api/#automated-deployment)
`,
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Gateway,
},
}
NetworkingTrafficDistribution = Instance {
Name: "networking.istio.io/traffic-distribution",
Description: `Controls how traffic is distributed across the set of available endpoints.
At this time, this annotation only impacts routing done by Ztunnel.
Accepted values:
* "PreferClose": endpoints will be categorized by how "close" they are, consider network, region, zone, and subzone.
Traffic will be prioritized to the closest healthy endpoints.
For example, if I have a Service with "PreferClose" set, with endpoints in zones "us-west,us-west,us-east". When
sending traffic from a client in zone "us-west", all traffic will go to the two "us-west" backends.
If one those backends become unhealthy, all traffic will go to the remaining endpoint in "us-west".
If that backend becomes unhealthy, traffic will sent to "us-east".
`,
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Service,
ServiceEntry,
},
}
PrometheusMergeMetrics = Instance {
Name: "prometheus.istio.io/merge-metrics",
Description: "Specifies if application Prometheus metric will be merged "+
"with Envoy metrics for this workload.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
ProxyConfig = Instance {
Name: "proxy.istio.io/config",
Description: "Overrides for the proxy configuration for this specific "+
"proxy. Available options can be found at "+
"https://istio.io/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig.",
FeatureStatus: Beta,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
ProxyOverrides = Instance {
Name: "proxy.istio.io/overrides",
Description: "Used internally to indicate user-specified overrides in "+
"the proxy container of the pod during injection.",
FeatureStatus: Alpha,
Hidden: true,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatusReadinessApplicationPorts = Instance {
Name: "readiness.status.sidecar.istio.io/applicationPorts",
Description: "Specifies the list of ports exposed by the application "+
"container. Used by the Envoy sidecar readiness probe to "+
"determine that Envoy is configured and ready to receive "+
"traffic.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatusReadinessFailureThreshold = Instance {
Name: "readiness.status.sidecar.istio.io/failureThreshold",
Description: "Specifies the failure threshold for the Envoy sidecar "+
"readiness probe.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatusReadinessInitialDelaySeconds = Instance {
Name: "readiness.status.sidecar.istio.io/initialDelaySeconds",
Description: "Specifies the initial delay (in seconds) for the Envoy "+
"sidecar readiness probe.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatusReadinessPeriodSeconds = Instance {
Name: "readiness.status.sidecar.istio.io/periodSeconds",
Description: "Specifies the period (in seconds) for the Envoy sidecar "+
"readiness probe.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarAgentLogLevel = Instance {
Name: "sidecar.istio.io/agentLogLevel",
Description: "Specifies the log output level for pilot-agent.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarBootstrapOverride = Instance {
Name: "sidecar.istio.io/bootstrapOverride",
Description: "Specifies an alternative Envoy bootstrap configuration "+
"file.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarComponentLogLevel = Instance {
Name: "sidecar.istio.io/componentLogLevel",
Description: "Specifies the component log level for Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarDiscoveryAddress = Instance {
Name: "sidecar.istio.io/discoveryAddress",
Description: "Specifies the XDS discovery address to be used by the "+
"Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarExtraStatTags = Instance {
Name: "sidecar.istio.io/extraStatTags",
Description: "An additional list of tags to extract from the in-proxy "+
"Istio Wasm telemetry. Each additional tag needs to be "+
"present in this list.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarInject = Instance {
Name: "sidecar.istio.io/inject",
Description: "Specifies whether or not an Envoy sidecar should be "+
"automatically injected into the workload. This annotation "+
"has been deprecated in favor of the "+
"`sidecar.istio.io/inject` label documented "+
"[here](/docs/reference/config/labels/#SidecarInject).",
FeatureStatus: Beta,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarInterceptionMode = Instance {
Name: "sidecar.istio.io/interceptionMode",
Description: "Specifies the mode used to redirect inbound connections "+
"to Envoy (REDIRECT or TPROXY).",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarLogLevel = Instance {
Name: "sidecar.istio.io/logLevel",
Description: "Specifies the log level for Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarNativeSidecar = Instance {
Name: "sidecar.istio.io/nativeSidecar",
Description: "Specifies if the istio-proxy sidecar should be injected "+
"as a native sidecar or not. Takes precedence over the "+
"ENABLE_NATIVE_SIDECARS environment variable.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyCPU = Instance {
Name: "sidecar.istio.io/proxyCPU",
Description: "Specifies the requested CPU setting for the Envoy "+
"sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyCPULimit = Instance {
Name: "sidecar.istio.io/proxyCPULimit",
Description: "Specifies the CPU limit for the Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyImage = Instance {
Name: "sidecar.istio.io/proxyImage",
Description: "Specifies the Docker image to be used by the Envoy "+
"sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyImageType = Instance {
Name: "sidecar.istio.io/proxyImageType",
Description: "Specifies the Docker image type to be used by the Envoy "+
"sidecar. Istio publishes debug and distroless image types "+
"for every release tag.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyMemory = Instance {
Name: "sidecar.istio.io/proxyMemory",
Description: "Specifies the requested memory setting for the Envoy "+
"sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarProxyMemoryLimit = Instance {
Name: "sidecar.istio.io/proxyMemoryLimit",
Description: "Specifies the memory limit for the Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarRewriteAppHTTPProbers = Instance {
Name: "sidecar.istio.io/rewriteAppHTTPProbers",
Description: "Rewrite HTTP readiness and liveness probes to be "+
"redirected to the Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatsHistogramBuckets = Instance {
Name: "sidecar.istio.io/statsHistogramBuckets",
Description: "Specifies the custom histogram buckets with a prefix "+
"matcher to separate the Istio mesh metrics from the Envoy "+
"stats, e.g. "+
"`{`istiocustom`:[1,5,10,50,100,500,1000,5000,10000],`cluster.xds-grpc`:[1,5,10,25,50,100,250,500,1000,2500,5000,10000]}`. "+
"Default buckets are "+
"`[0.5,1,5,10,25,50,100,250,500,1000,2500,5000,10000,30000,60000,300000,600000,1800000,3600000]`.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatsInclusionPrefixes = Instance {
Name: "sidecar.istio.io/statsInclusionPrefixes",
Description: "Specifies the comma separated list of prefixes of the "+
"stats to be emitted by Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatsInclusionRegexps = Instance {
Name: "sidecar.istio.io/statsInclusionRegexps",
Description: "Specifies the comma separated list of regexes the stats "+
"should match to be emitted by Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatsInclusionSuffixes = Instance {
Name: "sidecar.istio.io/statsInclusionSuffixes",
Description: "Specifies the comma separated list of suffixes of the "+
"stats to be emitted by Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatus = Instance {
Name: "sidecar.istio.io/status",
Description: "Generated by Envoy sidecar injection that indicates the "+
"status of the operation. Includes a version hash of the "+
"executed template, as well as names of injected "+
"resources.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarUserVolume = Instance {
Name: "sidecar.istio.io/userVolume",
Description: "Specifies one or more user volumes (as a JSON array) to "+
"be added to the Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarUserVolumeMount = Instance {
Name: "sidecar.istio.io/userVolumeMount",
Description: "Specifies one or more user volume mounts (as a JSON "+
"array) to be added to the Envoy sidecar.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarStatusPort = Instance {
Name: "status.sidecar.istio.io/port",
Description: "Specifies the HTTP status Port for the Envoy sidecar. If "+
"zero, the sidecar will not provide status.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
TopologyControlPlaneClusters = Instance {
Name: "topology.istio.io/controlPlaneClusters",
Description: "A comma-separated list of clusters (or * for any) running "+
"istiod that should attempt leader election for a remote "+
"cluster thats system namespace includes this annotation. "+
"Istiod will not attempt to lead unannotated remote "+
"clusters.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Namespace,
},
}
TrafficIngressPublicAddress = Instance {
Name: "traffic.istio.io/ingress-public-address",
Description: "Specifies the public address that can connect to this "+
"service, enabling you to define an address different from "+
"the one provisioned by the load balancer. This is "+
"particularly useful when traffic is DNATed before "+
"reaching a private load balancer.",
FeatureStatus: Stable,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Service,
},
}
TrafficNodeSelector = Instance {
Name: "traffic.istio.io/nodeSelector",
Description: "This annotation is a set of node-labels "+
"(key1=value,key2=value). If the annotated Service is of "+
"type NodePort and is a multi-network gateway (see "+
"topology.istio.io/network), the addresses for selected "+
"nodes will be used for cross-network communication.",
FeatureStatus: Stable,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Service,
},
}
SidecarTrafficExcludeInboundPorts = Instance {
Name: "traffic.sidecar.istio.io/excludeInboundPorts",
Description: "A comma separated list of inbound ports to be excluded "+
"from redirection to Envoy. Only applies when all inbound "+
"traffic (i.e. '*') is being redirected.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficExcludeInterfaces = Instance {
Name: "traffic.sidecar.istio.io/excludeInterfaces",
Description: "A comma separated list of interfaces to be excluded from "+
"Istio traffic capture",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficExcludeOutboundIPRanges = Instance {
Name: "traffic.sidecar.istio.io/excludeOutboundIPRanges",
Description: "A comma separated list of IP ranges in CIDR form to be "+
"excluded from redirection. Only applies when all outbound "+
"traffic (i.e. '*') is being redirected.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficExcludeOutboundPorts = Instance {
Name: "traffic.sidecar.istio.io/excludeOutboundPorts",
Description: "A comma separated list of outbound ports to be excluded "+
"from redirection to Envoy.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficIncludeInboundPorts = Instance {
Name: "traffic.sidecar.istio.io/includeInboundPorts",
Description: "A comma separated list of inbound ports for which traffic "+
"is to be redirected to Envoy. The wildcard character '*' "+
"can be used to configure redirection for all ports. An "+
"empty list will disable all inbound redirection.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficIncludeOutboundIPRanges = Instance {
Name: "traffic.sidecar.istio.io/includeOutboundIPRanges",
Description: "A comma separated list of IP ranges in CIDR form to "+
"redirect to Envoy (optional). The wildcard character '*' "+
"can be used to redirect all outbound traffic. An empty "+
"list will disable all outbound redirection.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficIncludeOutboundPorts = Instance {
Name: "traffic.sidecar.istio.io/includeOutboundPorts",
Description: "A comma separated list of outbound ports for which "+
"traffic is to be redirected to Envoy, regardless of the "+
"destination IP.",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: false,
Resources: []ResourceTypes{
Pod,
},
}
SidecarTrafficKubevirtInterfaces = Instance {
Name: "traffic.sidecar.istio.io/kubevirtInterfaces",
Description: "A comma separated list of virtual interfaces whose "+
"inbound traffic (from VM) will be treated as outbound. "+
"Deprecated in favor of "+
"`istio.io/redirect-virtual-interfaces`",
FeatureStatus: Alpha,
Hidden: false,
Deprecated: true,
Resources: []ResourceTypes{
Pod,
},
}
)
func AllResourceAnnotations() []*Instance {
return []*Instance {
&AlphaCanonicalServiceAccounts,
&AlphaKubernetesServiceAccounts,
&AmbientBypassInboundCapture,
&AmbientDnsCapture,
&AmbientRedirection,
&AmbientWaypointInboundBinding,
&GalleyAnalyzeSuppress,
&GatewayControllerVersion,
&GatewayNameOverride,
&GatewayServiceAccount,
&InjectTemplates,
&IoIstioAutoRegistrationGroup,
&IoIstioConnectedAt,
&IoIstioDisconnectedAt,
&IoIstioDryRun,
&IoIstioRerouteVirtualInterfaces,
&IoIstioRev,
&IoIstioWorkloadController,
&IoKubernetesIngressClass,
&NetworkingExportTo,
&NetworkingServiceType,
&NetworkingTrafficDistribution,
&PrometheusMergeMetrics,
&ProxyConfig,
&ProxyOverrides,
&SidecarStatusReadinessApplicationPorts,
&SidecarStatusReadinessFailureThreshold,
&SidecarStatusReadinessInitialDelaySeconds,
&SidecarStatusReadinessPeriodSeconds,
&SidecarAgentLogLevel,
&SidecarBootstrapOverride,
&SidecarComponentLogLevel,
&SidecarDiscoveryAddress,
&SidecarExtraStatTags,
&SidecarInject,
&SidecarInterceptionMode,
&SidecarLogLevel,
&SidecarNativeSidecar,
&SidecarProxyCPU,
&SidecarProxyCPULimit,
&SidecarProxyImage,
&SidecarProxyImageType,
&SidecarProxyMemory,
&SidecarProxyMemoryLimit,
&SidecarRewriteAppHTTPProbers,
&SidecarStatsHistogramBuckets,
&SidecarStatsInclusionPrefixes,
&SidecarStatsInclusionRegexps,
&SidecarStatsInclusionSuffixes,
&SidecarStatus,
&SidecarUserVolume,
&SidecarUserVolumeMount,
&SidecarStatusPort,
&TopologyControlPlaneClusters,
&TrafficIngressPublicAddress,
&TrafficNodeSelector,
&SidecarTrafficExcludeInboundPorts,
&SidecarTrafficExcludeInterfaces,
&SidecarTrafficExcludeOutboundIPRanges,
&SidecarTrafficExcludeOutboundPorts,
&SidecarTrafficIncludeInboundPorts,
&SidecarTrafficIncludeOutboundIPRanges,
&SidecarTrafficIncludeOutboundPorts,
&SidecarTrafficKubevirtInterfaces,
}
}
func AllResourceTypes() []string {
return []string {
"Any",
"AuthorizationPolicy",
"Gateway",
"GatewayClass",
"Ingress",
"Namespace",