Skip to content
Snippets Groups Projects
Unverified Commit db7f3c91 authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1125 from kaflake/feature/configGrafanaImage

can change grafanaImage over $.values.common.images
parents 4eb52db2 14e61430
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,7 @@ local defaults = { ...@@ -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) { ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment