@@ -117,15 +117,12 @@ BundleList contains a list of Bundle
117
117
118
118
119
119
120
-
120
+ Deprecated: Use ChromeNavItem instead, has to be switched for the updated reconciliation, needs to exist to prevent breaking changes for the Fronted resources and legacy NavItems attribute
121
121
122
122
123
123
124
124
.Appears In:
125
125
****
126
- - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-bundlespec[$$BundleSpec$$]
127
- - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-computedbundle[$$ComputedBundle$$]
128
- - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-extranavitem[$$ExtraNavItem$$]
129
126
- xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendspec[$$FrontendSpec$$]
130
127
****
131
128
@@ -209,10 +206,51 @@ BundleSpec defines the desired state of Bundle
209
206
| *`appList`* __string array__ | | |
210
207
| *`envName`* __string__ | | |
211
208
| *`extraNavItems`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-extranavitem[$$ExtraNavItem$$] array__ | | |
212
- | *`customNav`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-bundlenavitem[$$BundleNavItem$$] array__ | | |
209
+ | *`customNav`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$] array__ | | |
210
+ |===
211
+
212
+
213
+
214
+
215
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem"]
216
+ ==== ChromeNavItem
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+ .Appears In:
225
+ ****
226
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-bundlespec[$$BundleSpec$$]
227
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$]
228
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-computedbundle[$$ComputedBundle$$]
229
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-extranavitem[$$ExtraNavItem$$]
230
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-navigationsegment[$$NavigationSegment$$]
231
+ ****
232
+
233
+ [cols="20a,50a,15a,15a", options="header"]
213
234
|===
235
+ | Field | Description | Default | Validation
236
+ | *`isHidden`* __boolean__ | | |
237
+ | *`expandable`* __boolean__ | | |
238
+ | *`href`* __string__ | | |
239
+ | *`appId`* __string__ | | |
240
+ | *`isExternal`* __boolean__ | | |
241
+ | *`title`* __string__ | | |
242
+ | *`groupId`* __string__ | | |
243
+ | *`id`* __string__ | | |
244
+ | *`product`* __string__ | | |
245
+ | *`notifier`* __string__ | | |
246
+ | *`icon`* __string__ | | |
247
+ | *`isBeta`* __boolean__ | | |
248
+ | *`navItems`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$] array__ | kubebuilder struggles validating recursive fields, it has to be helped a bit + | | Schemaless: {} +
214
249
250
+ | *`routes`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$] array__ | | | Schemaless: {} +
215
251
252
+ | *`permissions`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-permission[$$Permission$$] array__ | | |
253
+ |===
216
254
217
255
218
256
@@ -260,7 +298,7 @@ EmbeddedRoutes allow deeply nested navs to have support for routes
260
298
|===
261
299
| Field | Description | Default | Validation
262
300
| *`name`* __string__ | | |
263
- | *`navItem`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-bundlenavitem [$$BundleNavItem $$]__ | | |
301
+ | *`navItem`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem [$$ChromeNavItem $$]__ | | |
264
302
|===
265
303
266
304
@@ -406,6 +444,8 @@ FrontendEnvironmentSpec defines the desired state of FrontendEnvironment
406
444
| Field | Description | Default | Validation
407
445
| *`sso`* __string__ | Foo is an example field of FrontendEnvironment. Edit FrontendEnvironment_types.go to remove/update + | |
408
446
| *`ingressClass`* __string__ | Ingress class + | |
447
+ | *`ingressAnnotations`* __object (keys:string, values:string)__ | Ingress annotations +
448
+ These annotations will be applied to the ingress objects created by the frontend + | |
409
449
| *`hostname`* __string__ | Hostname + | |
410
450
| *`whitelist`* __string array__ | Whitelist CIDRs + | |
411
451
| *`monitoring`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-monitoringconfig[$$MonitoringConfig$$]__ | MonitorMode determines where a ServiceMonitor object will be placed +
@@ -422,6 +462,7 @@ do this in epehemeral environments but not in production + | |
422
462
| *`akamaiSecretName`* __string__ | The name of the secret we will use to get the akamai credentials + | |
423
463
| *`targetNamespaces`* __string array__ | List of namespaces that should receive a copy of the frontend configuration as a config map +
424
464
By configurations we mean the fed-modules.json, navigation files, etc. + | |
465
+ | *`serviceCategories`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategory[$$FrontendServiceCategory$$]__ | For the ChromeUI to render additional global components + | |
425
466
|===
426
467
427
468
@@ -470,6 +511,77 @@ FrontendList contains a list of Frontend
470
511
|===
471
512
472
513
514
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategory"]
515
+ ==== FrontendServiceCategory
516
+
517
+
518
+
519
+ FrontendServiceCategory defines the category to which service can inject ServiceTiles
520
+ Chroming UI will use this to render the service dropdown component
521
+
522
+
523
+
524
+ .Appears In:
525
+ ****
526
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendenvironmentspec[$$FrontendEnvironmentSpec$$]
527
+ ****
528
+
529
+ [cols="20a,50a,15a,15a", options="header"]
530
+ |===
531
+ | Field | Description | Default | Validation
532
+ | *`id`* __string__ | | |
533
+ | *`title`* __string__ | | |
534
+ | *`groups`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategorygroup[$$FrontendServiceCategoryGroup$$] array__ | | |
535
+ |===
536
+
537
+
538
+
539
+
540
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategorygroup"]
541
+ ==== FrontendServiceCategoryGroup
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+ .Appears In:
550
+ ****
551
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategory[$$FrontendServiceCategory$$]
552
+ ****
553
+
554
+ [cols="20a,50a,15a,15a", options="header"]
555
+ |===
556
+ | Field | Description | Default | Validation
557
+ | *`id`* __string__ | | |
558
+ | *`title`* __string__ | | |
559
+ |===
560
+
561
+
562
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategorygroupgenerated"]
563
+ ==== FrontendServiceCategoryGroupGenerated
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+ .Appears In:
572
+ ****
573
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategorygenerated[$$FrontendServiceCategoryGenerated$$]
574
+ ****
575
+
576
+ [cols="20a,50a,15a,15a", options="header"]
577
+ |===
578
+ | Field | Description | Default | Validation
579
+ | *`id`* __string__ | | |
580
+ | *`title`* __string__ | | |
581
+ | *`tiles`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-servicetile[$$ServiceTile$$]__ | | |
582
+ |===
583
+
584
+
473
585
[id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendspec"]
474
586
==== FrontendSpec
475
587
@@ -498,6 +610,7 @@ FrontendSpec defines the desired state of Frontend
498
610
| *`serviceMonitor`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-servicemonitorconfig[$$ServiceMonitorConfig$$]__ | | |
499
611
| *`module`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-fedmodule[$$FedModule$$]__ | | |
500
612
| *`navItems`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-bundlenavitem[$$BundleNavItem$$] array__ | | |
613
+ | *`navigationSegments`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-navigationsegment[$$NavigationSegment$$] array__ | navigation segments for the frontend + | |
501
614
| *`assetsPrefix`* __string__ | | |
502
615
| *`akamaiCacheBustDisable`* __boolean__ | Akamai cache bust opt-out + | |
503
616
| *`akamaiCacheBustPaths`* __string array__ | Files to cache bust + | |
@@ -611,8 +724,8 @@ FrontendSpec defines the desired state of Frontend
611
724
|===
612
725
613
726
614
- [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-permission "]
615
- ==== Permission
727
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-navigationsegment "]
728
+ ==== NavigationSegment
616
729
617
730
618
731
@@ -622,19 +735,39 @@ FrontendSpec defines the desired state of Frontend
622
735
623
736
.Appears In:
624
737
****
625
- - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-route[$$Route$$]
626
- - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-widgetconfig[$$WidgetConfig$$]
738
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendspec[$$FrontendSpec$$]
627
739
****
628
740
629
741
[cols="20a,50a,15a,15a", options="header"]
630
742
|===
631
743
| Field | Description | Default | Validation
632
- | *`method`* __string__ | | |
633
- | *`apps`* __string array__ | | |
634
- | *`args`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#json-v1-apiextensions-k8s-io[$$JSON$$]__ | | |
744
+ | *`sectionId`* __string__ | | |
745
+ | *`bundleId`* __string__ | Id of the bundle to which the segment should be injected + | |
746
+ | *`position`* __integer__ | A position of the segment within the bundle +
747
+ 0 is the first position +
748
+ The position "steps" should be at least 100 to make sure there is enough space in case some segments should be injected between existing ones + | |
749
+ | *`navItems`* __xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$]__ | | |
635
750
|===
636
751
637
752
753
+ [id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-permission"]
754
+ ==== Permission
755
+
756
+ _Underlying type:_ _xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-struct-method string -json-method- yaml-method- apps -string -json-apps-omitempty- yaml-apps-omitempty- args -k8s-io-apiextensions-apiserver-pkg-apis-apiextensions-v1-json -json-args-omitempty- yaml-args-omitempty-[$$struct{Method string "json:\"method\" yaml:\"method\""; Apps []string "json:\"apps,omitempty\" yaml:\"apps,omitempty\""; Args *k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON "json:\"args,omitempty\" yaml:\"args,omitempty\""}$$]_
757
+
758
+
759
+
760
+
761
+
762
+ .Appears In:
763
+ ****
764
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-chromenavitem[$$ChromeNavItem$$]
765
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-route[$$Route$$]
766
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-widgetconfig[$$WidgetConfig$$]
767
+ ****
768
+
769
+
770
+
638
771
[id="{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-route"]
639
772
==== Route
640
773
@@ -721,6 +854,7 @@ FrontendSpec defines the desired state of Frontend
721
854
722
855
.Appears In:
723
856
****
857
+ - xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendservicecategorygroupgenerated[$$FrontendServiceCategoryGroupGenerated$$]
724
858
- xref:{anchor_prefix}-6github.com-redhatinsights-frontend-operator-api-v1alpha1-frontendspec[$$FrontendSpec$$]
725
859
****
726
860
@@ -732,6 +866,7 @@ FrontendSpec defines the desired state of Frontend
732
866
| *`id`* __string__ | | |
733
867
| *`href`* __string__ | | |
734
868
| *`title`* __string__ | | |
869
+ | *`description`* __string__ | | |
735
870
| *`icon`* __string__ | | |
736
871
| *`isExternal`* __boolean__ | | |
737
872
|===
0 commit comments