Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable grafana ports #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

redbaron
Copy link

No description provided.

@redbaron redbaron force-pushed the configurable-httpPort branch 2 times, most recently from cc0620f to eb522d0 Compare May 23, 2019 10:30
@@ -137,6 +139,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
local c =
container.new('grafana', $._config.imageRepos.grafana + ':' + $._config.versions.grafana) +
(if std.length($._config.grafana.plugins) == 0 then {} else container.withEnv([env.new('GF_INSTALL_PLUGINS', std.join(',', $._config.grafana.plugins))])) +
container.withEnvMixin([env.new('GF_SERVER_HTTP_PORT', '' + $._config.grafana.containerPort.port)]) +
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be done via the configuration file as well no? I think I'd prefer to keep all configuration possible within the config file. GF_INSTALL_PLUGINS is only there because it's the only way to configure plugins to install.

@brancz
Copy link
Owner

brancz commented May 28, 2019

Just one comment, otherwise lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants