Skip to content

Commit

Permalink
fix(providers/schema): fix invalid api group for V1SchemaRegistrySubj…
Browse files Browse the repository at this point in the history
…ectList (#478)

Fix: #478
  • Loading branch information
fhussonnois committed Aug 15, 2024
1 parent 1c90d75 commit ff0a816
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,21 @@ spec:
}
]
}
```

## `SchemaRegistrySubjectList`

If you need to manage multiple Schemas at once (e.g. using a template), it may be more suitable to use the resource collection `SchemaRegistrySubjectList`.

### Specification

Here the _resource definition file_ for defining a `SchemaRegistrySubjectList`.

```yaml
apiVersion: "kafka.jikkou.io/v1beta2" # The api version (required)
kind: "SchemaRegistrySubjectList" # The resource kind (required)
metadata: # (optional)
labels: { }
annotations: { }
items: [ ] # The array of SchemaRegistrySubject
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@ApiVersion("kafka.jikkou.io/v1beta2")
@ApiVersion("schemaregistry.jikkou.io/v1beta2")
@Kind("SchemaRegistrySubjectList")
public class V1SchemaRegistrySubjectList extends DefaultResourceListObject<V1SchemaRegistrySubject> {

Expand Down

0 comments on commit ff0a816

Please sign in to comment.