Skip to content

Commit cbbd077

Browse files
robobariok-wall
authored andcommitted
Update examples
Signed-off-by: Robert Young <robeyoun@redhat.com>
1 parent 09ff0f3 commit cbbd077

File tree

6 files changed

+48
-7
lines changed

6 files changed

+48
-7
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright Kroxylicious Authors.
3+
#
4+
# Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
5+
#
6+
7+
---
8+
kind: KafkaClusterRef
9+
apiVersion: kroxylicious.io/v1alpha1
10+
metadata:
11+
name: my-cluster
12+
namespace: my-proxy
13+
spec:
14+
bootstrapServers: my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092

kroxylicious-operator/examples/record-encryption/03.VirtualKafkaCluster.my-cluster.yaml renamed to kroxylicious-operator/examples/record-encryption/04.VirtualKafkaCluster.my-cluster.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ spec:
1414
proxyRef:
1515
name: simple
1616
targetCluster:
17-
bootstrapping:
18-
bootstrapAddress:
19-
my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092
17+
clusterRef:
18+
name: my-cluster
2019
filters:
2120
- group: filter.kroxylicious.io
2221
kind: KafkaProtocolFilter
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright Kroxylicious Authors.
3+
#
4+
# Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
5+
#
6+
7+
---
8+
kind: KafkaClusterRef
9+
apiVersion: kroxylicious.io/v1alpha1
10+
metadata:
11+
name: my-cluster
12+
namespace: my-proxy
13+
spec:
14+
bootstrapServers: my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092

kroxylicious-operator/examples/record-validation/03.VirtualKafkaCluster.my-cluster.yaml renamed to kroxylicious-operator/examples/record-validation/04.VirtualKafkaCluster.my-cluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ spec:
1414
proxyRef:
1515
name: simple
1616
targetCluster:
17-
bootstrapping:
18-
bootstrapAddress: my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092
17+
clusterRef:
18+
name: my-cluster
1919
filters:
2020
- group: filter.kroxylicious.io
2121
kind: RecordValidation
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright Kroxylicious Authors.
3+
#
4+
# Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
5+
#
6+
7+
---
8+
kind: KafkaClusterRef
9+
apiVersion: kroxylicious.io/v1alpha1
10+
metadata:
11+
name: my-cluster
12+
namespace: my-proxy
13+
spec:
14+
bootstrapServers: my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092

kroxylicious-operator/examples/simple/02.VirtualKafkaCluster.my-cluster.yaml renamed to kroxylicious-operator/examples/simple/03.VirtualKafkaCluster.my-cluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ spec:
1414
proxyRef:
1515
name: simple
1616
targetCluster:
17-
bootstrapping:
18-
bootstrapAddress: my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092
17+
clusterRef:
18+
name: my-cluster

0 commit comments

Comments
 (0)