can change grafanaImage over $.values.common.images
This commit is contained in:
committed by
Luis Manuel R. Pugoy
parent
013adb7f6c
commit
6da3452a1c
@@ -3,8 +3,7 @@ local defaults = {
|
|||||||
name: 'grafana',
|
name: 'grafana',
|
||||||
namespace: error 'must provide namespace',
|
namespace: error 'must provide namespace',
|
||||||
version: error 'must provide version',
|
version: error 'must provide version',
|
||||||
// image: error 'must provide image',
|
image: error 'must provide image',
|
||||||
imageRepos: 'grafana/grafana',
|
|
||||||
resources: {
|
resources: {
|
||||||
requests: { cpu: '100m', memory: '100Mi' },
|
requests: { cpu: '100m', memory: '100Mi' },
|
||||||
limits: { cpu: '200m', memory: '200Mi' },
|
limits: { cpu: '200m', memory: '200Mi' },
|
||||||
@@ -44,7 +43,7 @@ function(params) {
|
|||||||
grafana: g._config.version,
|
grafana: g._config.version,
|
||||||
},
|
},
|
||||||
imageRepos+:: {
|
imageRepos+:: {
|
||||||
grafana: g._config.imageRepos,
|
grafana: std.split(g._config.image, ":")[0],
|
||||||
},
|
},
|
||||||
prometheus+:: {
|
prometheus+:: {
|
||||||
name: g._config.prometheusName,
|
name: g._config.prometheusName,
|
||||||
|
|||||||
Reference in New Issue
Block a user