-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The GetName function is defined in ObjectMetadata. When this function is overwritten then wrong name is used and client Get is not working correctly.
- Loading branch information
1 parent
1d70212
commit e90ac4c
Showing
6 changed files
with
129 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/go/k8s/tests/e2e-v2/resource-topic-crud/05-assert-increase-topic-replication-factor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: cluster.redpanda.com/v1alpha1 | ||
kind: Topic | ||
metadata: | ||
name: test-topic | ||
status: | ||
conditions: | ||
- message: Topic reconciliation succeeded | ||
observedGeneration: 5 | ||
reason: Succeeded | ||
status: "True" | ||
type: Ready | ||
observedGeneration: 5 |
19 changes: 19 additions & 0 deletions
19
src/go/k8s/tests/e2e-v2/resource-topic-crud/05-overwrite-topic-name.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
apiVersion: cluster.redpanda.com/v1alpha1 | ||
kind: Topic | ||
metadata: | ||
name: test-topic | ||
spec: | ||
overwriteTopicName: topic_with_underscore | ||
interval: 4s | ||
partitions: 1 | ||
replicationFactor: 1 | ||
additionalConfig: | ||
segment.bytes: "16777666" | ||
kafkaApiSpec: | ||
brokers: | ||
- redpanda-0.redpanda.redpanda.svc.cluster.local.:9093 | ||
tls: | ||
caCertSecretRef: | ||
name: redpanda-default-cert | ||
key: ca.crt |
File renamed without changes.