Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion roles/schema_exporter/tasks/process_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set_fact:
schema_exporter_config:
name: "{{ exporter.name }}"
context_type: "{{ exporter.context_type | default('AUTO') }}"
context_type: "{{ exporter.context_type }}"
context: "{{ exporter.context | default('') }}"
subjects: "{{ exporter.subjects | default([]) }}"
kek_rename_format: "{{ exporter.kek_rename_format | default('') }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/schema_importer/tasks/process_importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
schema_importer_config:
name: "{{ importer.name }}"
context: "{{ importer.context | default('') }}"
context_type: "{{ importer.context_type }}"
subjects: "{{ importer.subjects | default([]) }}"
config: "{{ schema_importer_final_config }}"
vars:
Expand Down Expand Up @@ -36,6 +37,7 @@
# Add optional fields if they exist
optional_fields:
context: "{{ schema_importer_config.context if schema_importer_config.context != '' else omit }}"
contextType: "{{ schema_importer_config.context_type if schema_importer_config.context_type != '' else omit }}"

- name: Check if Schema Importer exists
include_tasks: ../common/tasks/schema_registry_operations.yml
Expand Down