Skip to content
Snippets Groups Projects
Unverified Commit 0cde11d3 authored by Kemal Akkoyun's avatar Kemal Akkoyun Committed by GitHub
Browse files

Merge pull request #1094 from paulfantom/follow-up#1039

jsonnet: fix windows addon
parents 07136d1d 3135cdd7
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ local windowsrules = import 'kubernetes-mixin/rules/windows.libsonnet'; ...@@ -48,7 +48,7 @@ local windowsrules = import 'kubernetes-mixin/rules/windows.libsonnet';
prometheus+: { prometheus+: {
spec+: { spec+: {
additionalScrapeConfigs: { additionalScrapeConfigs: {
name: 'prometheus-' + p.config.name + '-additional-scrape-config', name: 'prometheus-' + p._config.name + '-additional-scrape-config',
key: 'prometheus-additional.yaml', key: 'prometheus-additional.yaml',
}, },
}, },
...@@ -58,8 +58,8 @@ local windowsrules = import 'kubernetes-mixin/rules/windows.libsonnet'; ...@@ -58,8 +58,8 @@ local windowsrules = import 'kubernetes-mixin/rules/windows.libsonnet';
apiVersion: 'v1', apiVersion: 'v1',
kind: 'Secret', kind: 'Secret',
metadata: { metadata: {
name: 'prometheus-' + p.config.name + '-additional-scrape-config', name: 'prometheus-' + p._config.name + '-additional-scrape-config',
namespace: p.config.namespace, namespace: p._config.namespace,
}, },
stringData: { stringData: {
'prometheus-additional.yaml': std.manifestYamlDoc(sc), 'prometheus-additional.yaml': std.manifestYamlDoc(sc),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment