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
  • Loading branch information
simu authored Apr 6, 2022
2 parents 1cc741f + 587e3f1 commit ce32177
Show file tree
Hide file tree
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
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/affinity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce32177

Please sign in to comment.