Skip to content

Commit

Permalink
Use nonroot image from APPUiO
Browse files Browse the repository at this point in the history
Use nonroot image from APPUiO
  • Loading branch information
psy-q authored Oct 13, 2021
2 parents 9143234 + 0c5806e commit be0c77f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ parameters:
memory: 512Mi
images:
maxscale:
image: docker.io/mariadb/maxscale
tag: 2.5.15
image: gchr.io/appuio/maxscale-docker
tag: 6.1.3
3 changes: 1 addition & 2 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ local deployment = kube.Deployment('maxscale') {
spec+: {
containers_+: {
maxscale: kube.Container('maxscale') {
image: params.images.maxscale.image + ':' + params.images.maxscale.tag
,
image: params.images.maxscale.image + ':' + params.images.maxscale.tag,
env_+: std.prune(com.proxyVars {
MASTER_ONLY_LISTEN_ADDRESS: params.master_only_listen_address,
READ_WRITE_LISTEN_ADDRESS: params.read_write_listen_address,
Expand Down
2 changes: 2 additions & 0 deletions tests/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
---
parameters:
_instance: maxscale
facts:
distribution: openshift4
maxscale:
namespace: maxscale-test
master_only_listen_address: 127.0.0.1
Expand Down

0 comments on commit be0c77f

Please sign in to comment.