Skip to content

Commit 6ecf90f

Browse files
committed
Publish Package Metadata for redpanda@2.1.0
1 parent 4c81e6f commit 6ecf90f

2 files changed

Lines changed: 230 additions & 4 deletions

File tree

themes/default/content/registry/packages/redpanda/_index.md

Lines changed: 227 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# WARNING: this file was fetched from https://djoiyj6oj2oxz.cloudfront.net/docs/registry.opentofu.org/redpanda-data/redpanda/2.0.0/index.md
2+
# WARNING: this file was fetched from https://djoiyj6oj2oxz.cloudfront.net/docs/registry.opentofu.org/redpanda-data/redpanda/2.1.0/index.md
33
# Do not edit by hand unless you're certain you know what you are doing!
44
# *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! ***
55
title: Redpanda Provider
@@ -494,6 +494,28 @@ const productSchema = new redpanda.Schema("product_schema", {
494494
writeRegistry,
495495
],
496496
});
497+
const protobufRoundtrip = new redpanda.Schema("protobuf_roundtrip", {
498+
clusterId: testCluster.id,
499+
subject: `${topicName}-protobuf-value`,
500+
schemaType: "PROTOBUF",
501+
schema: protobufSchemaDefinition,
502+
references: [],
503+
allowDeletion: true,
504+
}, {
505+
dependsOn: [
506+
clusterAdmin,
507+
schemaRegistryAdmin,
508+
clusterAction,
509+
topicAccess,
510+
providerBootstrapSubject,
511+
providerBootstrapRegistry,
512+
allTestTopic,
513+
describeRegistry,
514+
alterConfigsRegistry,
515+
readRegistry,
516+
writeRegistry,
517+
],
518+
});
497519
const developer = new redpanda.Role("developer", {
498520
name: roleName,
499521
clusterApiUrl: testCluster.clusterApiUrl,
@@ -842,6 +864,26 @@ product_schema = redpanda.Schema("product_schema",
842864
read_registry,
843865
write_registry,
844866
]))
867+
protobuf_roundtrip = redpanda.Schema("protobuf_roundtrip",
868+
cluster_id=test_cluster.id,
869+
subject=f"{topic_name}-protobuf-value",
870+
schema_type="PROTOBUF",
871+
schema=protobuf_schema_definition,
872+
references=[],
873+
allow_deletion=True,
874+
opts = pulumi.ResourceOptions(depends_on=[
875+
cluster_admin,
876+
schema_registry_admin,
877+
cluster_action,
878+
topic_access,
879+
provider_bootstrap_subject,
880+
provider_bootstrap_registry,
881+
all_test_topic,
882+
describe_registry,
883+
alter_configs_registry,
884+
read_registry,
885+
write_registry,
886+
]))
845887
developer = redpanda.Role("developer",
846888
name=role_name,
847889
cluster_api_url=test_cluster.cluster_api_url,
@@ -1284,6 +1326,32 @@ return await Deployment.RunAsync(() =>
12841326
},
12851327
});
12861328

1329+
var protobufRoundtrip = new Redpanda.Schema("protobuf_roundtrip", new()
1330+
{
1331+
ClusterId = testCluster.Id,
1332+
Subject = $"{topicName}-protobuf-value",
1333+
SchemaType = "PROTOBUF",
1334+
Schema = protobufSchemaDefinition,
1335+
References = new[] {},
1336+
AllowDeletion = true,
1337+
}, new CustomResourceOptions
1338+
{
1339+
DependsOn =
1340+
{
1341+
clusterAdmin,
1342+
schemaRegistryAdmin,
1343+
clusterAction,
1344+
topicAccess,
1345+
providerBootstrapSubject,
1346+
providerBootstrapRegistry,
1347+
allTestTopic,
1348+
describeRegistry,
1349+
alterConfigsRegistry,
1350+
readRegistry,
1351+
writeRegistry,
1352+
},
1353+
});
1354+
12871355
var developer = new Redpanda.Role("developer", new()
12881356
{
12891357
Name = roleName,
@@ -1773,6 +1841,29 @@ func main() {
17731841
if err != nil {
17741842
return err
17751843
}
1844+
_, err = redpanda.NewSchema(ctx, "protobuf_roundtrip", &redpanda.SchemaArgs{
1845+
ClusterId: testCluster.ID(),
1846+
Subject: pulumi.Sprintf("%v-protobuf-value", topicName),
1847+
SchemaType: pulumi.String("PROTOBUF"),
1848+
Schema: pulumi.Any(protobufSchemaDefinition),
1849+
References: redpanda.SchemaReferenceArray{},
1850+
AllowDeletion: pulumi.Bool(true),
1851+
}, pulumi.DependsOn([]pulumi.Resource{
1852+
clusterAdmin,
1853+
schemaRegistryAdmin,
1854+
clusterAction,
1855+
topicAccess,
1856+
providerBootstrapSubject,
1857+
providerBootstrapRegistry,
1858+
allTestTopic,
1859+
describeRegistry,
1860+
alterConfigsRegistry,
1861+
readRegistry,
1862+
writeRegistry,
1863+
}))
1864+
if err != nil {
1865+
return err
1866+
}
17761867
developer, err := redpanda.NewRole(ctx, "developer", &redpanda.RoleArgs{
17771868
Name: pulumi.Any(roleName),
17781869
ClusterApiUrl: testCluster.ClusterApiUrl,
@@ -2237,6 +2328,28 @@ public class App {
22372328
writeRegistry)
22382329
.build());
22392330

2331+
var protobufRoundtrip = new Schema("protobufRoundtrip", SchemaArgs.builder()
2332+
.clusterId(testCluster.id())
2333+
.subject(String.format("%s-protobuf-value", topicName))
2334+
.schemaType("PROTOBUF")
2335+
.schema(protobufSchemaDefinition)
2336+
.references()
2337+
.allowDeletion(true)
2338+
.build(), CustomResourceOptions.builder()
2339+
.dependsOn(
2340+
clusterAdmin,
2341+
schemaRegistryAdmin,
2342+
clusterAction,
2343+
topicAccess,
2344+
providerBootstrapSubject,
2345+
providerBootstrapRegistry,
2346+
allTestTopic,
2347+
describeRegistry,
2348+
alterConfigsRegistry,
2349+
readRegistry,
2350+
writeRegistry)
2351+
.build());
2352+
22402353
var developer = new Role("developer", RoleArgs.builder()
22412354
.name(roleName)
22422355
.clusterApiUrl(testCluster.clusterApiUrl())
@@ -2613,6 +2726,28 @@ const productSchema = new redpanda.Schema("product_schema", {
26132726
writeRegistry,
26142727
],
26152728
});
2729+
const protobufRoundtrip = new redpanda.Schema("protobuf_roundtrip", {
2730+
clusterId: testCluster.id,
2731+
subject: `${topicName}-protobuf-value`,
2732+
schemaType: "PROTOBUF",
2733+
schema: protobufSchemaDefinition,
2734+
references: [],
2735+
allowDeletion: true,
2736+
}, {
2737+
dependsOn: [
2738+
clusterAdmin,
2739+
schemaRegistryAdmin,
2740+
clusterAction,
2741+
topicAccess,
2742+
providerBootstrapSubject,
2743+
providerBootstrapRegistry,
2744+
allTestTopic,
2745+
describeRegistry,
2746+
alterConfigsRegistry,
2747+
readRegistry,
2748+
writeRegistry,
2749+
],
2750+
});
26162751
const developer = new redpanda.Role("developer", {
26172752
name: roleName,
26182753
clusterApiUrl: testCluster.clusterApiUrl,
@@ -2970,6 +3105,26 @@ product_schema = redpanda.Schema("product_schema",
29703105
read_registry,
29713106
write_registry,
29723107
]))
3108+
protobuf_roundtrip = redpanda.Schema("protobuf_roundtrip",
3109+
cluster_id=test_cluster.id,
3110+
subject=f"{topic_name}-protobuf-value",
3111+
schema_type="PROTOBUF",
3112+
schema=protobuf_schema_definition,
3113+
references=[],
3114+
allow_deletion=True,
3115+
opts = pulumi.ResourceOptions(depends_on=[
3116+
cluster_admin,
3117+
schema_registry_admin,
3118+
cluster_action,
3119+
topic_access,
3120+
provider_bootstrap_subject,
3121+
provider_bootstrap_registry,
3122+
all_test_topic,
3123+
describe_registry,
3124+
alter_configs_registry,
3125+
read_registry,
3126+
write_registry,
3127+
]))
29733128
developer = redpanda.Role("developer",
29743129
name=role_name,
29753130
cluster_api_url=test_cluster.cluster_api_url,
@@ -3419,6 +3574,32 @@ return await Deployment.RunAsync(() =>
34193574
},
34203575
});
34213576

3577+
var protobufRoundtrip = new Redpanda.Schema("protobuf_roundtrip", new()
3578+
{
3579+
ClusterId = testCluster.Id,
3580+
Subject = $"{topicName}-protobuf-value",
3581+
SchemaType = "PROTOBUF",
3582+
Schema = protobufSchemaDefinition,
3583+
References = new[] {},
3584+
AllowDeletion = true,
3585+
}, new CustomResourceOptions
3586+
{
3587+
DependsOn =
3588+
{
3589+
clusterAdmin,
3590+
schemaRegistryAdmin,
3591+
clusterAction,
3592+
topicAccess,
3593+
providerBootstrapSubject,
3594+
providerBootstrapRegistry,
3595+
allTestTopic,
3596+
describeRegistry,
3597+
alterConfigsRegistry,
3598+
readRegistry,
3599+
writeRegistry,
3600+
},
3601+
});
3602+
34223603
var developer = new Redpanda.Role("developer", new()
34233604
{
34243605
Name = roleName,
@@ -3915,6 +4096,29 @@ func main() {
39154096
if err != nil {
39164097
return err
39174098
}
4099+
_, err = redpanda.NewSchema(ctx, "protobuf_roundtrip", &redpanda.SchemaArgs{
4100+
ClusterId: testCluster.ID(),
4101+
Subject: pulumi.Sprintf("%v-protobuf-value", topicName),
4102+
SchemaType: pulumi.String("PROTOBUF"),
4103+
Schema: pulumi.Any(protobufSchemaDefinition),
4104+
References: redpanda.SchemaReferenceArray{},
4105+
AllowDeletion: pulumi.Bool(true),
4106+
}, pulumi.DependsOn([]pulumi.Resource{
4107+
clusterAdmin,
4108+
schemaRegistryAdmin,
4109+
clusterAction,
4110+
topicAccess,
4111+
providerBootstrapSubject,
4112+
providerBootstrapRegistry,
4113+
allTestTopic,
4114+
describeRegistry,
4115+
alterConfigsRegistry,
4116+
readRegistry,
4117+
writeRegistry,
4118+
}))
4119+
if err != nil {
4120+
return err
4121+
}
39184122
developer, err := redpanda.NewRole(ctx, "developer", &redpanda.RoleArgs{
39194123
Name: pulumi.Any(roleName),
39204124
ClusterApiUrl: testCluster.ClusterApiUrl,
@@ -4391,6 +4595,28 @@ public class App {
43914595
writeRegistry)
43924596
.build());
43934597

4598+
var protobufRoundtrip = new Schema("protobufRoundtrip", SchemaArgs.builder()
4599+
.clusterId(testCluster.id())
4600+
.subject(String.format("%s-protobuf-value", topicName))
4601+
.schemaType("PROTOBUF")
4602+
.schema(protobufSchemaDefinition)
4603+
.references()
4604+
.allowDeletion(true)
4605+
.build(), CustomResourceOptions.builder()
4606+
.dependsOn(
4607+
clusterAdmin,
4608+
schemaRegistryAdmin,
4609+
clusterAction,
4610+
topicAccess,
4611+
providerBootstrapSubject,
4612+
providerBootstrapRegistry,
4613+
allTestTopic,
4614+
describeRegistry,
4615+
alterConfigsRegistry,
4616+
readRegistry,
4617+
writeRegistry)
4618+
.build());
4619+
43944620
var developer = new Role("developer", RoleArgs.builder()
43954621
.name(roleName)
43964622
.clusterApiUrl(testCluster.clusterApiUrl())

themes/default/data/registry/packages/redpanda.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ native: false
1010
package_status: ga
1111
publisher: redpanda-data
1212
repo_url: https://github.com/redpanda-data/terraform-provider-redpanda
13-
schema_file_url: https://djoiyj6oj2oxz.cloudfront.net/schemas/registry.opentofu.org/redpanda-data/redpanda/2.0.0/schema.json
13+
schema_file_url: https://djoiyj6oj2oxz.cloudfront.net/schemas/registry.opentofu.org/redpanda-data/redpanda/2.1.0/schema.json
1414
title: redpanda
15-
updated_on: 1780529756
16-
version: 2.0.0
15+
updated_on: 1782344167
16+
version: 2.1.0

0 commit comments

Comments
 (0)