We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b0792 commit 35a483dCopy full SHA for 35a483d
static-exporter/main.libsonnet
@@ -2,6 +2,7 @@ local k = import 'ksonnet-util/kausal.libsonnet';
2
3
{
4
new(name, image='httpd:2.4-alpine'):: {
5
+ name:: name,
6
data:: { metrics: '' },
7
8
local configMap = k.core.v1.configMap,
@@ -51,7 +52,7 @@ local k = import 'ksonnet-util/kausal.libsonnet';
51
52
53
local volumeMount = k.core.v1.volumeMount,
54
httpdConfig:
- configMap.new('httpd-config')
55
+ configMap.new(self.name, 'httpd-config')
56
+ configMap.withData({
57
'httpd.conf': importstr 'httpd.conf',
58
}),
0 commit comments