Skip to content

Commit 0540aa5

Browse files
authored
Merge pull request #13 from projectsyn/fix_parameter_hierarchy
Fixing parameter hierarchy
2 parents 7e4ffaf + d89bbb9 commit 0540aa5

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test-default: runtest
6363
test: test-default
6464

6565
.PHONY: runtest
66-
runtest: commodore_args += -f tests/$(instance).yml
66+
runtest: commodore_args += -f tests/$(instance).yml -a maxscale-$(instance)
6767
runtest: .compile ## Compile the component
6868

6969
.PHONY: clean

tests/defaults.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ parameters:
1818
db3_port: 3307
1919
service_user: maxscale-testservice
2020
monitor_user: maxscale-testmonitor
21-
service_pwd: testservicepwd
22-
monitor_pwd: testmonitorpwd
23-
containers:
21+
service_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/service_pwd}
22+
monitor_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/monitor_pwd}
2423
resources:
2524
limits:
2625
memory: 512Mi

tests/no_container_limits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
parameters:
66
_instance: maxscale-nolimits
77
maxscale:
8-
namespace: maxscale-test
8+
namespace: maxscale-test-nolimits
99
master_only_listen_address: 127.0.0.1
1010
read_write_listen_address: 127.0.0.1
1111
db1_address: db1.mygalera.test.example.org

0 commit comments

Comments
 (0)