Skip to content

Commit 30a60dc

Browse files
authored
Merge pull request #34 from redpanda-data/rk/add-enabled-for-listener
Add enabled boolean flag for each external listener
2 parents c59a7af + ef06072 commit 30a60dc

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/go/k8s/api/redpanda/v1alpha1/redpanda_clusterspec_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ type Listeners struct {
703703

704704
// ExternalListener configures settings for the external listeners.
705705
type ExternalListener struct {
706+
Enabled *bool `json:"enabled,omitempty"`
706707
// Specifies the authentication method for the external listener. For example, 'mtls_identity' or `sasl`.
707708
AuthenticationMethod *string `json:"authenticationMethod,omitempty"`
708709
// Specifies the container port number for the external listener.

src/go/k8s/api/redpanda/v1alpha1/zz_generated.deepcopy.go

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

src/go/k8s/config/crd/bases/cluster.redpanda.com_redpandas.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,8 @@ spec:
686686
for the external listener. For example, 'mtls_identity'
687687
or `sasl`.
688688
type: string
689+
enabled:
690+
type: boolean
689691
port:
690692
description: Specifies the container port number
691693
for the external listener.
@@ -766,6 +768,8 @@ spec:
766768
for the external listener. For example, 'mtls_identity'
767769
or `sasl`.
768770
type: string
771+
enabled:
772+
type: boolean
769773
port:
770774
description: Specifies the container port number
771775
for the external listener.
@@ -854,6 +858,8 @@ spec:
854858
for the external listener. For example, 'mtls_identity'
855859
or `sasl`.
856860
type: string
861+
enabled:
862+
type: boolean
857863
port:
858864
description: Specifies the container port number
859865
for the external listener.
@@ -971,6 +977,8 @@ spec:
971977
for the external listener. For example, 'mtls_identity'
972978
or `sasl`.
973979
type: string
980+
enabled:
981+
type: boolean
974982
port:
975983
description: Specifies the container port number
976984
for the external listener.

0 commit comments

Comments
 (0)