Skip to content

Commit

Permalink
fix: mount secret at cluster_name (grafana#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic authored Jan 12, 2021
1 parent ec7b29a commit 598ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus-metamonitoring/metamonitoring.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ local util = import 'util.libsonnet';

prometheus_container+:
k.core.v1.container.withVolumeMountsMixin([
k.core.v1.volumeMount.new(this._config.clusters[c].secret_name, '/secrets/%s' % c)
k.core.v1.volumeMount.new(this._config.clusters[c].secret_name, '/secrets/%s' % this._config.clusters[c].cluster_name)
for c in std.objectFields(this._config.clusters)
]),
prometheus_statefulset+:
Expand Down

0 comments on commit 598ee94

Please sign in to comment.