Handle the hardcoded configuration values
This patch allows to customize the hardcoded configuration values,
as well as introduce new configuration options for designate services
by configmap template with the specified section:
designate:
server:
configmap:
DEFAULT:
default_soa_refresh_min: 3500
default_soa_refresh_max: 3600
default_soa_minimum: 3600
'network_api:neutron':
admin_username: admin
admin_password: password
admin_tenant_name: tenant1
Change-Id: I43224d260bed265b21c748abe294c0a97bfb7f32
Related-Prod: PROD-29626
diff --git a/tests/pillar/server_cluster.sls b/tests/pillar/server_cluster.sls
index 2313ef7..4a3a74e 100644
--- a/tests/pillar/server_cluster.sls
+++ b/tests/pillar/server_cluster.sls
@@ -86,6 +86,19 @@
port: 53
quota:
zones: 40
+ configmap:
+ # Inspec framework used for kitchen integration tests
+ # doesn't support merging of section with identical names
+ # in ini files, to unblock patches it was decided to use
+ # custom names section names here
+ section1:
+ default_soa_refresh_min: 3500
+ default_soa_refresh_max: 3600
+ default_soa_minimum: 3600
+ 'section2:subsection1':
+ admin_username: admin
+ admin_password: password
+ admin_tenant_name: tenant1
worker:
enabled: true
logging:
@@ -96,4 +109,4 @@
fluentd:
enabled: false
ossyslog:
- enabled: false
\ No newline at end of file
+ enabled: false