Skip to content
Open
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
2,196 changes: 2,196 additions & 0 deletions config/crd/bases/eda.ansible.com_edas.yaml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions roles/eda/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ _api:
memory: 350Mi
node_selector: {}
tolerations: []
affinity: {}

# Note: "default-worker: {}" is intentionally excluded here so we know if the user set it
_default_worker:
Expand All @@ -48,6 +49,7 @@ _default_worker:
memory: 130Mi
node_selector: {}
tolerations: []
affinity: {}

# Note: "activation-worker: {}" is intentionally excluded here so we know if the user set it
_activation_worker:
Expand All @@ -58,6 +60,7 @@ _activation_worker:
memory: 150Mi
node_selector: {}
tolerations: []
affinity: {}

# Note: Deprecated "worker: {}" is intentionally excluded here so we know if the user set it
_worker: {}
Expand All @@ -71,6 +74,7 @@ _scheduler:
memory: 256Mi
node_selector: {}
tolerations: []
affinity: {}

event_stream: {}
_event_stream:
Expand All @@ -83,6 +87,7 @@ _event_stream:
memory: 350Mi
node_selector: {}
tolerations: []
affinity: {}

ui: {}
_ui:
Expand All @@ -93,6 +98,7 @@ _ui:
memory: 64Mi
node_selector: {}
tolerations: []
affinity: {}

# Labels defined on the resource, which should be propagated to child resources
additional_labels: []
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-activation-worker.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
{% if combined_activation_worker.topology_spread_constraints is defined %} %}
topologySpreadConstraints:
{{ combined_activation_worker.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_activation_worker.affinity is defined and combined_activation_worker.affinity | length > 0 %}
affinity:
{{ combined_activation_worker.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
initContainers:
- name: wait-for-migrations
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-api.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ spec:
{% if combined_api.topology_spread_constraints is defined %}
topologySpreadConstraints:
{{ combined_api.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_api.affinity is defined and combined_api.affinity | length > 0 %}
affinity:
{{ combined_api.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
initContainers:
- name: run-migrations
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-default-worker.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
{% if combined_default_worker.topology_spread_constraints is defined %} %}
topologySpreadConstraints:
{{ combined_default_worker.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_default_worker.affinity is defined and combined_default_worker.affinity | length > 0 %}
affinity:
{{ combined_default_worker.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
initContainers:
- name: wait-for-migrations
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-event-stream.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
{% if combined_event_stream.topology_spread_constraints is defined %}
topologySpreadConstraints:
{{ combined_event_stream.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_event_stream.affinity is defined and combined_event_stream.affinity | length > 0 %}
affinity:
{{ combined_event_stream.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
initContainers:
- name: wait-for-migrations
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-scheduler.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
{% if combined_scheduler.topology_spread_constraints is defined %} %}
topologySpreadConstraints:
{{ combined_scheduler.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_scheduler.affinity is defined and combined_scheduler.affinity | length > 0 %}
affinity:
{{ combined_scheduler.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
initContainers:
- name: wait-for-migrations
Expand Down
4 changes: 4 additions & 0 deletions roles/eda/templates/eda-ui.deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
{% if combined_ui.topology_spread_constraints is defined %} %}
topologySpreadConstraints:
{{ combined_ui.topology_spread_constraints | indent(width=8) }}
{% endif %}
{% if combined_ui.affinity is defined and combined_ui.affinity | length > 0 %}
affinity:
{{ combined_ui.affinity | to_nice_yaml | indent(width=8) }}
{% endif %}
containers:
- name: eda-ui
Expand Down