Skip to content

Commit c1b0886

Browse files
committed
Add bundle manifests
1 parent 144cb8d commit c1b0886

14 files changed

+334
-24
lines changed

api/v1/zz_generated.deepcopy.go

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/manifests/ibm-websphere-liberty.clusterserviceversion.yaml

Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -564,31 +564,68 @@ spec:
564564
path: semeruCloudCompiler.enable
565565
x-descriptors:
566566
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
567-
- description: Specify the labels of namespaces that incoming traffic is allowed
568-
from.
569-
displayName: Namespace Labels
570-
path: networkPolicy.namespaceLabels
567+
- description: Disable the creation of the network policy ingress. Defaults
568+
to false.
569+
displayName: Disable Ingress
570+
path: networkPolicy.disableIngress
571571
x-descriptors:
572-
- urn:alm:descriptor:com.tectonic.ui:text
572+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
573573
- description: Number of desired pods for the Semeru Cloud Compiler. Defaults
574574
to 1.
575575
displayName: Replicas
576576
path: semeruCloudCompiler.replicas
577577
x-descriptors:
578578
- urn:alm:descriptor:com.tectonic.ui:podCount
579-
- description: Specify the labels of pod(s) that incoming traffic is allowed
580-
from.
581-
displayName: From Labels
582-
path: networkPolicy.fromLabels
579+
- description: Disable the creation of the network policy egress. Defaults to
580+
false.
581+
displayName: Disable Egress
582+
path: networkPolicy.disableEgress
583583
x-descriptors:
584-
- urn:alm:descriptor:com.tectonic.ui:text
584+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
585585
- description: Resource requests and limits for the Semeru Cloud Compiler. The
586586
CPU defaults to 100m with a limit of 2000m. The memory defaults to 800Mi,
587587
with a limit of 1200Mi.
588588
displayName: Resource Requirements
589589
path: semeruCloudCompiler.resources
590590
x-descriptors:
591591
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
592+
- description: Bypasses deny all egress rules to allow API server and DNS access.
593+
Defaults to false.
594+
displayName: Bypass Deny All Egress
595+
path: networkPolicy.bypassDenyAllEgress
596+
x-descriptors:
597+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
598+
- description: Deprecated. .spec.networkPolicy.fromNamespaceLabels should be
599+
used instead. If both are specified, .spec.networkPolicy.fromNamespaceLabels
600+
will override this.
601+
displayName: Namespace Labels
602+
path: networkPolicy.namespaceLabels
603+
x-descriptors:
604+
- urn:alm:descriptor:com.tectonic.ui:text
605+
- description: Specify the labels of namespaces that incoming traffic is allowed
606+
from.
607+
displayName: From Namespace Labels
608+
path: networkPolicy.fromNamespaceLabels
609+
x-descriptors:
610+
- urn:alm:descriptor:com.tectonic.ui:text
611+
- description: Specify the labels of pod(s) that incoming traffic is allowed
612+
from.
613+
displayName: From Labels
614+
path: networkPolicy.fromLabels
615+
x-descriptors:
616+
- urn:alm:descriptor:com.tectonic.ui:text
617+
- description: Specify the labels of namespaces that outgoing traffic is allowed
618+
to.
619+
displayName: To Namespace Labels
620+
path: networkPolicy.toNamespaceLabels
621+
x-descriptors:
622+
- urn:alm:descriptor:com.tectonic.ui:text
623+
- description: Specify the labels of pod(s) that outgoing traffic is allowed
624+
to.
625+
displayName: To Labels
626+
path: networkPolicy.toLabels
627+
x-descriptors:
628+
- urn:alm:descriptor:com.tectonic.ui:text
592629
- description: 'Product edition. Defaults to IBM WebSphere Application Server.
593630
Other options: IBM WebSphere Application Server Liberty Core, IBM WebSphere
594631
Application Server Network Deployment'
@@ -1085,6 +1122,14 @@ spec:
10851122
- list
10861123
- update
10871124
- watch
1125+
- apiGroups:
1126+
- ""
1127+
resources:
1128+
- endpoints
1129+
verbs:
1130+
- get
1131+
- list
1132+
- watch
10881133
- apiGroups:
10891134
- ""
10901135
resources:

bundle/manifests/liberty.websphere.ibm.com_webspherelibertyapplications.yaml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3901,22 +3901,53 @@ spec:
39013901
networkPolicy:
39023902
description: Defines the network policy
39033903
properties:
3904+
bypassDenyAllEgress:
3905+
description: Bypasses deny all egress rules to allow API server
3906+
and DNS access. Defaults to false.
3907+
type: boolean
39043908
disable:
39053909
description: Disable the creation of the network policy. Defaults
39063910
to false.
39073911
type: boolean
3912+
disableEgress:
3913+
description: Disable the creation of the network policy egress.
3914+
Defaults to false.
3915+
type: boolean
3916+
disableIngress:
3917+
description: Disable the creation of the network policy ingress.
3918+
Defaults to false.
3919+
type: boolean
39083920
fromLabels:
39093921
additionalProperties:
39103922
type: string
39113923
description: Specify the labels of pod(s) that incoming traffic
39123924
is allowed from.
39133925
type: object
3914-
namespaceLabels:
3926+
fromNamespaceLabels:
39153927
additionalProperties:
39163928
type: string
39173929
description: Specify the labels of namespaces that incoming traffic
39183930
is allowed from.
39193931
type: object
3932+
namespaceLabels:
3933+
additionalProperties:
3934+
type: string
3935+
description: Deprecated. .spec.networkPolicy.fromNamespaceLabels
3936+
should be used instead. If both are specified, .spec.networkPolicy.fromNamespaceLabels
3937+
will override this.
3938+
type: object
3939+
toLabels:
3940+
additionalProperties:
3941+
type: string
3942+
description: Specify the labels of pod(s) that outgoing traffic
3943+
is allowed to.
3944+
type: object
3945+
toNamespaceLabels:
3946+
additionalProperties:
3947+
type: string
3948+
description: Specify the labels of namespaces that outgoing traffic
3949+
is allowed to.
3950+
type: object
39203951
type: object
39213952
probes:
39223953
description: Define health checks on application container to determine

config/crd/bases/liberty.websphere.ibm.com_webspherelibertyapplications.yaml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3897,22 +3897,53 @@ spec:
38973897
networkPolicy:
38983898
description: Defines the network policy
38993899
properties:
3900+
bypassDenyAllEgress:
3901+
description: Bypasses deny all egress rules to allow API server
3902+
and DNS access. Defaults to false.
3903+
type: boolean
39003904
disable:
39013905
description: Disable the creation of the network policy. Defaults
39023906
to false.
39033907
type: boolean
3908+
disableEgress:
3909+
description: Disable the creation of the network policy egress.
3910+
Defaults to false.
3911+
type: boolean
3912+
disableIngress:
3913+
description: Disable the creation of the network policy ingress.
3914+
Defaults to false.
3915+
type: boolean
39043916
fromLabels:
39053917
additionalProperties:
39063918
type: string
39073919
description: Specify the labels of pod(s) that incoming traffic
39083920
is allowed from.
39093921
type: object
3910-
namespaceLabels:
3922+
fromNamespaceLabels:
39113923
additionalProperties:
39123924
type: string
39133925
description: Specify the labels of namespaces that incoming traffic
39143926
is allowed from.
39153927
type: object
3928+
namespaceLabels:
3929+
additionalProperties:
3930+
type: string
3931+
description: Deprecated. .spec.networkPolicy.fromNamespaceLabels
3932+
should be used instead. If both are specified, .spec.networkPolicy.fromNamespaceLabels
3933+
will override this.
3934+
type: object
3935+
toLabels:
3936+
additionalProperties:
3937+
type: string
3938+
description: Specify the labels of pod(s) that outgoing traffic
3939+
is allowed to.
3940+
type: object
3941+
toNamespaceLabels:
3942+
additionalProperties:
3943+
type: string
3944+
description: Specify the labels of namespaces that outgoing traffic
3945+
is allowed to.
3946+
type: object
39163947
type: object
39173948
probes:
39183949
description: Define health checks on application container to determine

config/manifests/bases/ibm-websphere-liberty.clusterserviceversion.yaml

Lines changed: 47 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -506,31 +506,68 @@ spec:
506506
path: semeruCloudCompiler.enable
507507
x-descriptors:
508508
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
509-
- description: Specify the labels of namespaces that incoming traffic is allowed
510-
from.
511-
displayName: Namespace Labels
512-
path: networkPolicy.namespaceLabels
509+
- description: Disable the creation of the network policy ingress. Defaults
510+
to false.
511+
displayName: Disable Ingress
512+
path: networkPolicy.disableIngress
513513
x-descriptors:
514-
- urn:alm:descriptor:com.tectonic.ui:text
514+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
515515
- description: Number of desired pods for the Semeru Cloud Compiler. Defaults
516516
to 1.
517517
displayName: Replicas
518518
path: semeruCloudCompiler.replicas
519519
x-descriptors:
520520
- urn:alm:descriptor:com.tectonic.ui:podCount
521-
- description: Specify the labels of pod(s) that incoming traffic is allowed
522-
from.
523-
displayName: From Labels
524-
path: networkPolicy.fromLabels
521+
- description: Disable the creation of the network policy egress. Defaults to
522+
false.
523+
displayName: Disable Egress
524+
path: networkPolicy.disableEgress
525525
x-descriptors:
526-
- urn:alm:descriptor:com.tectonic.ui:text
526+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
527527
- description: Resource requests and limits for the Semeru Cloud Compiler. The
528528
CPU defaults to 100m with a limit of 2000m. The memory defaults to 800Mi,
529529
with a limit of 1200Mi.
530530
displayName: Resource Requirements
531531
path: semeruCloudCompiler.resources
532532
x-descriptors:
533533
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
534+
- description: Bypasses deny all egress rules to allow API server and DNS access.
535+
Defaults to false.
536+
displayName: Bypass Deny All Egress
537+
path: networkPolicy.bypassDenyAllEgress
538+
x-descriptors:
539+
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
540+
- description: Deprecated. .spec.networkPolicy.fromNamespaceLabels should be
541+
used instead. If both are specified, .spec.networkPolicy.fromNamespaceLabels
542+
will override this.
543+
displayName: Namespace Labels
544+
path: networkPolicy.namespaceLabels
545+
x-descriptors:
546+
- urn:alm:descriptor:com.tectonic.ui:text
547+
- description: Specify the labels of namespaces that incoming traffic is allowed
548+
from.
549+
displayName: From Namespace Labels
550+
path: networkPolicy.fromNamespaceLabels
551+
x-descriptors:
552+
- urn:alm:descriptor:com.tectonic.ui:text
553+
- description: Specify the labels of pod(s) that incoming traffic is allowed
554+
from.
555+
displayName: From Labels
556+
path: networkPolicy.fromLabels
557+
x-descriptors:
558+
- urn:alm:descriptor:com.tectonic.ui:text
559+
- description: Specify the labels of namespaces that outgoing traffic is allowed
560+
to.
561+
displayName: To Namespace Labels
562+
path: networkPolicy.toNamespaceLabels
563+
x-descriptors:
564+
- urn:alm:descriptor:com.tectonic.ui:text
565+
- description: Specify the labels of pod(s) that outgoing traffic is allowed
566+
to.
567+
displayName: To Labels
568+
path: networkPolicy.toLabels
569+
x-descriptors:
570+
- urn:alm:descriptor:com.tectonic.ui:text
534571
- description: 'Product edition. Defaults to IBM WebSphere Application Server.
535572
Other options: IBM WebSphere Application Server Liberty Core, IBM WebSphere
536573
Application Server Network Deployment'

config/rbac/role.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ rules:
7373
- list
7474
- update
7575
- watch
76+
- apiGroups:
77+
- ""
78+
resources:
79+
- endpoints
80+
verbs:
81+
- get
82+
- list
83+
- watch
7684
- apiGroups:
7785
- ""
7886
resources:

0 commit comments

Comments
 (0)