Skip to content

Commit

Permalink
feat(kafka): add brokerNodeGroupInfo to atProvider
Browse files Browse the repository at this point in the history
Signed-off-by: Charel Baum (external expert on behalf of DB InfraGO AG) <[email protected]>
  • Loading branch information
Charel Baum (external expert on behalf of DB InfraGO AG) committed May 13, 2024
1 parent bddb183 commit cb4acb2
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/kafka/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ resources:
404:
code: NotFoundException
fields:
BrokerNodeGroupInfo:
is_read_only: true
from:
operation: DescribeCluster
path: ClusterInfo.BrokerNodeGroupInfo
ClusterPolicyVersion:
is_read_only: true
from:
Expand Down
2 changes: 2 additions & 0 deletions apis/kafka/v1alpha1/zz_cluster.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions apis/kafka/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions package/crds/kafka.aws.crossplane.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,90 @@ spec:
atProvider:
description: ClusterObservation defines the observed state of Cluster
properties:
brokerNodeGroupInfo:
description: Information about the brokers.
properties:
brokerAZDistribution:
description: The distribution of broker nodes across Availability
Zones. By default, broker nodes are distributed among the
Availability Zones of your Region. Currently, the only supported
value is DEFAULT. You can either specify this value explicitly
or leave it out.
type: string
clientSubnets:
items:
type: string
type: array
connectivityInfo:
description: Information about the broker access configuration.
properties:
publicAccess:
description: Broker public access control.
properties:
type_:
type: string
type: object
vpcConnectivity:
description: Broker VPC connectivity access control.
properties:
clientAuthentication:
properties:
sasl:
properties:
iam:
properties:
enabled:
type: boolean
type: object
scram:
properties:
enabled:
type: boolean
type: object
type: object
tls:
properties:
enabled:
type: boolean
type: object
type: object
type: object
type: object
instanceType:
type: string
securityGroups:
items:
type: string
type: array
storageInfo:
description: Contains information about storage volumes attached
to MSK broker nodes.
properties:
ebsStorageInfo:
description: Contains information about the EBS storage
volumes attached to Apache Kafka broker nodes.
properties:
provisionedThroughput:
description: Contains information about provisioned
throughput for EBS storage volumes attached to kafka
broker nodes.
properties:
enabled:
type: boolean
volumeThroughput:
format: int64
type: integer
type: object
volumeSize:
format: int64
type: integer
type: object
type: object
zoneIDs:
items:
type: string
type: array
type: object
clusterARN:
description: The Amazon Resource Name (ARN) of the cluster.
type: string
Expand Down
104 changes: 104 additions & 0 deletions pkg/controller/kafka/cluster/zz_conversions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb4acb2

Please sign in to comment.