Skip to content

Commit

Permalink
Fix tenant name reclass references
Browse files Browse the repository at this point in the history
We've deprecated `customer.name` a while ago.
  • Loading branch information
simu committed Apr 6, 2022
1 parent 1cc741f commit 587e3f1
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 587e3f1

Please sign in to comment.