Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for #2985 and #2966 #2988

Merged
merged 5 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ metadata:
namespace: {{ namespace_name }}
data:
enabled_plugins: |
[rabbitmq_management,rabbitmq_peer_discovery_k8s].
[{% for plugin in rabbitmq_plugins %}{{ plugin }}{% if not loop.last %},{% endif %}{% endfor %}].
rabbitmq.conf: |
listeners.tcp.default = {{ amqp_port }}
# To allow custom configs like vm_memory_high_watermark define it via custom_configurations in data.yaml
Expand Down
2 changes: 2 additions & 0 deletions docs/changelogs/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [#2812](https://github.com/epiphany-platform/epiphany/issues/2812) - Extend K8s config validation
- [#2950](https://github.com/epiphany-platform/epiphany/issues/2950) - CLI refactor to make it more consistant
- [#2844](https://github.com/epiphany-platform/epiphany/issues/2844) - Refactor K8s upgrade task in order to simplify its flow
- [#2985](https://github.com/epiphany-platform/epiphany/issues/2985) - Make RabbitMQ Plugins configurable

### Fixed

Expand All @@ -23,6 +24,7 @@
- [#2940](https://github.com/epiphany-platform/epiphany/issues/2940) - firewalld.service unit could not be found on host however ansible_facts sees it as defined
- [#2979](https://github.com/epiphany-platform/epiphany/issues/2979) - Restore the possibility of choosing the availability zone in AWS
- [#2984](https://github.com/epiphany-platform/epiphany/issues/2984) - Validation blocks overwriting of destination_address_prefix in NSG rules, which is 0.0.0.0/0 by default
- [#2966](https://github.com/epiphany-platform/epiphany/issues/2966) - `epicli init --full` does not generate configuration for OpenDistro

### Updated

Expand Down
11 changes: 11 additions & 0 deletions schema/any/defaults/configuration/minimal-cluster-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ specification:
count: 1
machines:
- default-rabbitmq
opendistro_for_elasticsearch:
count: 1
machines:
- default-opendistro
---
kind: infrastructure/machine
provider: any
Expand Down Expand Up @@ -123,3 +127,10 @@ name: default-rabbitmq
specification:
hostname: rabbitmq # YOUR-MACHINE-HOSTNAME
ip: 192.168.100.111 # YOUR-MACHINE-IP
---
kind: infrastructure/machine
provider: any
name: default-opendistro
specification:
hostname: opendistro # YOUR-MACHINE-HOSTNAME
ip: 192.168.100.112 # YOUR-MACHINE-IP
2 changes: 2 additions & 0 deletions schema/aws/defaults/configuration/minimal-cluster-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ specification:
count: 1
rabbitmq:
count: 1
opendistro_for_elasticsearch:
count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ specification:
count: 1
rabbitmq:
count: 1
opendistro_for_elasticsearch:
count: 1
2 changes: 1 addition & 1 deletion schema/common/defaults/configuration/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ specification:
#amqp_port: 5672 #optional - default 5672
plugins: # optional list of RabbitMQ plugins
- rabbitmq_management
- rabbitmq_management_agent
- rabbitmq_peer_discovery_k8s
policies: # optional list of RabbitMQ policies
- name: ha-policy2
pattern: ".*"
Expand Down