Skip to content

Commit

Permalink
Add Kafka RestProxy APIs
Browse files Browse the repository at this point in the history
Signed-off-by: obaydullahmhs <[email protected]>
  • Loading branch information
obaydullahmhs committed Jul 18, 2024
1 parent bf2f0ae commit 0ab49fc
Show file tree
Hide file tree
Showing 18 changed files with 4,784 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apis/kafka/v1alpha1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,13 @@ const (
SchemaRegistryOperatorVolumeConfig = "registry-operator-config"
SchemaRegistryOperatorConfigPath = "/deployments/config"
)

// RestProxy constants

const (
RestProxyPrimaryPortName = "primary"
RestProxyPortName = "restproxy"
RestProxyRESTPort = 8082
RestProxyContainerName = "rest-proxy"
RestProxyConfigFileName = "karapace.config.json"
)
235 changes: 235 additions & 0 deletions apis/kafka/v1alpha1/openapi_generated.go

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

2 changes: 2 additions & 0 deletions apis/kafka/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ConnectorList{},
&SchemaRegistry{},
&SchemaRegistryList{},
&RestProxy{},
&RestProxyList{},
)

scheme.AddKnownTypes(SchemeGroupVersion,
Expand Down
Loading

0 comments on commit 0ab49fc

Please sign in to comment.