Skip to content

Commit

Permalink
Merge pull request #36 from projectsyn/fix/tenant-ref
Browse files Browse the repository at this point in the history
Fix tenant name reclass references
simu authored Apr 6, 2022

Verified

This commit was signed with the committer’s verified signature.
samuelattwood Samuel Attwood
2 parents 1cc741f + 587e3f1 commit ce32177
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions class/defaults.yml
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ parameters:
db3_port: 3306
service_user: maxscale
monitor_user: maxscale
service_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/monitor_pwd}
service_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/monitor_pwd}
replicas: 2
affinity: {}
images:
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
@@ -82,13 +82,13 @@ default:: `maxscale`

[horizontal]
type:: string
default:: `?{vaultkv:${customer:name}/${cluster:name}/maxscale/service_pwd}`
default:: `?{vaultkv:${cluster:tenant}/${cluster:name}/maxscale/service_pwd}`

== `monitor_pwd`

[horizontal]
type:: string
default:: `?{vaultkv:${customer:name}/${cluster:name}/maxscale/monitor_pwd}`
default:: `?{vaultkv:${cluster:tenant}/${cluster:name}/maxscale/monitor_pwd}`

= Pod Affinity Parameters

4 changes: 2 additions & 2 deletions tests/affinity.yml
Original file line number Diff line number Diff line change
@@ -27,8 +27,8 @@ parameters:
db3_port: 3307
service_user: maxscale-testservice
monitor_user: maxscale-testmonitor
service_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/monitor_pwd}
service_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/monitor_pwd}
resources:
limits:
memory: 512Mi
4 changes: 2 additions & 2 deletions tests/defaults.yml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ parameters:
db3_port: 3307
service_user: maxscale-testservice
monitor_user: maxscale-testmonitor
service_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${customer:name}/${cluster:name}/${_instance}/monitor_pwd}
service_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/service_pwd}
monitor_pwd: ?{vaultkv:${cluster:tenant}/${cluster:name}/${_instance}/monitor_pwd}
resources:
limits:
memory: 512Mi

0 comments on commit ce32177

Please sign in to comment.