Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/schema/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -2211,7 +2211,7 @@
"anyOf": [
{
"items": {
"type": "string"
"type": "object"
},
"type": "array"
},
Expand Down Expand Up @@ -3398,7 +3398,7 @@
"anyOf": [
{
"items": {
"type": "string"
"type": "object"
},
"type": "array"
},
Expand Down Expand Up @@ -4019,7 +4019,7 @@
"anyOf": [
{
"items": {
"type": "string"
"type": "object"
},
"type": "array"
},
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/schema/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,7 @@
"anyOf": [
{
"items": {
"type": "string"
"type": "object"
},
"type": "array"
},
Expand Down Expand Up @@ -3053,7 +3053,7 @@
"anyOf": [
{
"items": {
"type": "string"
"type": "object"
},
"type": "array"
},
Expand Down
2 changes: 1 addition & 1 deletion kpops/components/streams_bootstrap/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class StreamsBootstrapValues(SerializeAsOptionalModel, HelmAppValues):
env: SerializeAsOptional[dict[str, str]] = {}
secrets: SerializeAsOptional[dict[str, str]] = {}
secret_refs: SerializeAsOptional[dict[str, Any]] = {}
secret_files_refs: SerializeAsOptional[list[str]] = []
secret_files_refs: SerializeAsOptional[list[dict[str, Any]]] = []
files: SerializeAsOptional[dict[str, Any]] = {}
java_options: JavaOptions | None = None
pod_annotations: SerializeAsOptional[dict[str, str]] = {}
Expand Down
23 changes: 23 additions & 0 deletions tests/components/streams_bootstrap/test_streams_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,26 @@ def test_node_affinity(self):
}
],
}

def test_secret_files_refs(self):
model = StreamsBootstrap.model_validate(
{
"name": "example-name",
"namespace": "test-namespace",
"values": {
"image": "streamsBootstrap",
"kafka": {
"bootstrapServers": "localhost:9092",
},
"secretFilesRefs": [
{
"name": "foo",
"volume": "bar",
"mountPath": "/some/path/",
"readOnly": True,
}
],
},
},
)
assert model.values.secret_files_refs
Loading