Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#3576 from jingyih/managed_kafka
Browse files Browse the repository at this point in the history
test: add a CMEK test case for ManagedKafkaCluster
  • Loading branch information
google-oss-prow[bot] authored Feb 3, 2025
2 parents 7746dd1 + 52a7bde commit c036074
Show file tree
Hide file tree
Showing 11 changed files with 1,810 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: managedkafka.cnrm.cloud.google.com/v1alpha1
kind: ManagedKafkaCluster
metadata:
finalizers:
- cnrm.cloud.google.com/finalizer
- cnrm.cloud.google.com/deletion-defender
generation: 2
labels:
cnrm-test: "true"
name: managedkafkacluster-${uniqueId}
namespace: ${uniqueId}
spec:
capacityConfig:
memoryBytes: 4294967296
vcpuCount: 4
gcpConfig:
accessConfig:
networkConfigs:
- subnetworkRef:
name: computesubnetwork-${uniqueId}
kmsKeyRef:
name: kmscryptokey-${uniqueId}
location: us-central1
projectRef:
external: ${projectId}
rebalanceConfig:
mode: AUTO_REBALANCE_ON_SCALE_UP
status:
conditions:
- lastTransitionTime: "1970-01-01T00:00:00Z"
message: The resource is up to date
reason: UpToDate
status: "True"
type: Ready
externalRef: projects/${projectId}/locations/us-central1/clusters/managedkafkacluster-${uniqueId}
observedGeneration: 2
observedState:
createTime: "1970-01-01T00:00:00Z"
name: projects/${projectId}/locations/us-central1/clusters/managedkafkacluster-${uniqueId}
state: ACTIVE
updateTime: "1970-01-01T00:00:00Z"
Loading

0 comments on commit c036074

Please sign in to comment.