Skip to content

Commit 05e5c16

Browse files
committed
output listener refs
1 parent de4d6c7 commit 05e5c16

File tree

5 files changed

+349
-135
lines changed

5 files changed

+349
-135
lines changed

deploy/helm/hbase-operator/crds/crds.yaml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,6 @@ spec:
7373
hdfsConfigMapName:
7474
description: Name of the [discovery ConfigMap](https://docs.stackable.tech/home/nightly/concepts/service_discovery) for an HDFS cluster.
7575
type: string
76-
listenerClass:
77-
default: cluster-internal
78-
description: |-
79-
This field controls which type of Service the Operator creates for this HbaseCluster:
80-
81-
* cluster-internal: Use a ClusterIP service
82-
83-
* external-unstable: Use a NodePort service
84-
85-
This is a temporary solution with the goal to keep yaml manifests forward compatible. In the future, this setting will control which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) will be used to expose the service, and ListenerClass names will stay the same, allowing for a non-breaking change.
86-
enum:
87-
- cluster-internal
88-
- external-unstable
89-
type: string
9076
vectorAggregatorConfigMapName:
9177
description: Name of the Vector aggregator [discovery ConfigMap](https://docs.stackable.tech/home/nightly/concepts/service_discovery). It must contain the key `ADDRESS` with the address of the Vector aggregator. Follow the [logging tutorial](https://docs.stackable.tech/home/nightly/tutorials/logging-vector-aggregator) to learn how to configure log aggregation with Vector.
9278
nullable: true
@@ -210,6 +196,10 @@ spec:
210196
hbaseRootdir:
211197
nullable: true
212198
type: string
199+
listenerClass:
200+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
201+
nullable: true
202+
type: string
213203
logging:
214204
default:
215205
containers: {}
@@ -460,6 +450,10 @@ spec:
460450
hbaseRootdir:
461451
nullable: true
462452
type: string
453+
listenerClass:
454+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
455+
nullable: true
456+
type: string
463457
logging:
464458
default:
465459
containers: {}
@@ -691,6 +685,10 @@ spec:
691685
hbaseRootdir:
692686
nullable: true
693687
type: string
688+
listenerClass:
689+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
690+
nullable: true
691+
type: string
694692
logging:
695693
default:
696694
containers: {}
@@ -969,6 +967,10 @@ spec:
969967
hbaseRootdir:
970968
nullable: true
971969
type: string
970+
listenerClass:
971+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
972+
nullable: true
973+
type: string
972974
logging:
973975
default:
974976
containers: {}
@@ -1228,6 +1230,10 @@ spec:
12281230
hbaseRootdir:
12291231
nullable: true
12301232
type: string
1233+
listenerClass:
1234+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
1235+
nullable: true
1236+
type: string
12311237
logging:
12321238
default:
12331239
containers: {}
@@ -1478,6 +1484,10 @@ spec:
14781484
hbaseRootdir:
14791485
nullable: true
14801486
type: string
1487+
listenerClass:
1488+
description: This field controls which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) is used to expose this rolegroup. All roles should have a stable ListenerClass, such as `cluster-internal` or `external-stable`.
1489+
nullable: true
1490+
type: string
14811491
logging:
14821492
default:
14831493
containers: {}

deploy/helm/hbase-operator/templates/roles.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ rules:
7777
verbs:
7878
- create
7979
- patch
80+
- apiGroups:
81+
- listeners.stackable.tech
82+
resources:
83+
- listeners
84+
verbs:
85+
- get
8086
- apiGroups:
8187
- {{ include "operator.name" . }}.stackable.tech
8288
resources:

0 commit comments

Comments
 (0)