Skip to content

Commit 653edf4

Browse files
authored
Merge pull request #115 from cloudify-cosmo/RD-5239-Internal-certs-replacement-bug
RD-5239 Add missing ca_key_path field to config templates
2 parents fa8a74c + a6ca00b commit 653edf4

6 files changed

Lines changed: 11 additions & 2 deletions

File tree

cfy_cluster_manager/config_files_templates/manager_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ rabbitmq:
1919
cluster_members: {{ rabbitmq_cluster }}
2020

2121
ca_path: {{ ca_path }}
22+
ca_key_path: {{ ca_key_path }}
2223

2324
postgresql_server:
2425
cluster:
@@ -27,6 +28,7 @@ postgresql_server:
2728
ca_path: {{ external_db_configuration.ca_path }}
2829
{%-else-%}
2930
ca_path: {{ ca_path }}
31+
ca_key_path: {{ ca_key_path }}
3032
ssl_enabled: true
3133
postgres_password: {{ creds.postgresql.postgres_password }}
3234
{%-endif %}
@@ -77,6 +79,7 @@ prometheus:
7779
cert_path: {{ node.cert_path }}
7880
key_path: {{ node.key_path }}
7981
ca_path: {{ ca_path }}
82+
ca_key_path: {{ ca_key_path }}
8083

8184
services_to_install:
8285
- manager_service

cfy_cluster_manager/config_files_templates/postgresql_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ postgresql_server:
99
cert_path: {{ node.cert_path }}
1010
key_path: {{ node.key_path }}
1111
ca_path: {{ ca_path }}
12+
ca_key_path: {{ ca_key_path }}
1213

1314
ssl_client_verification: true
1415
ssl_only_connections: true
@@ -35,6 +36,7 @@ prometheus:
3536
cert_path: {{ node.cert_path }}
3637
key_path: {{ node.key_path }}
3738
ca_path: {{ ca_path }}
39+
ca_key_path: {{ ca_key_path }}
3840

3941
validations:
4042
minimum_required_total_physical_memory_in_mb: 1024

cfy_cluster_manager/config_files_templates/rabbitmq_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ rabbitmq:
1414
cert_path: {{ node.cert_path }}
1515
key_path: {{ node.key_path }}
1616
ca_path: {{ ca_path }}
17+
ca_key_path: {{ ca_key_path }}
1718

1819
nodename: {{ node.name }}
1920

@@ -37,6 +38,7 @@ prometheus:
3738
cert_path: {{ node.cert_path }}
3839
key_path: {{ node.key_path }}
3940
ca_path: {{ ca_path }}
41+
ca_key_path: {{ ca_key_path }}
4042

4143
validations:
4244
minimum_required_total_physical_memory_in_mb: 1024

cfy_cluster_manager/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def _prepare_postgresql_config_files(template,
162162
rendered_data = template.render(node=node,
163163
creds=credentials,
164164
ca_path=CA_PATH,
165+
ca_key_path=CA_KEY_PATH,
165166
postgresql_cluster=postgresql_cluster)
166167
_create_config_file(node, rendered_data)
167168

@@ -181,6 +182,7 @@ def _prepare_rabbitmq_config_files(template,
181182
rendered_data = template.render(node=node,
182183
creds=credentials,
183184
ca_path=CA_PATH,
185+
ca_key_path=CA_KEY_PATH,
184186
join_cluster=join_cluster,
185187
rabbitmq_cluster=rabbitmq_cluster,
186188
load_balancer_ip=load_balancer_ip)

packaging/version_info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export CLOUDIFY_CLUSTER_MANAGER_VERSION=1.1.2
1+
export CLOUDIFY_CLUSTER_MANAGER_VERSION=1.1.3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_readme_contents():
2828
name='cloudify-cluster-manager',
2929
long_description=get_readme_contents(),
3030
long_description_content_type='text/markdown',
31-
version='1.1.2',
31+
version='1.1.3',
3232
author='Cloudify',
3333
author_email='cosmo-admin@cloudify.co',
3434
packages=['cfy_cluster_manager'],

0 commit comments

Comments
 (0)