Skip to content

Commit 2eb7200

Browse files
committed
Mount the httpdConfig to the filesystem
1 parent 9f7ce1f commit 2eb7200

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static-exporter/main.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ local k = import 'ksonnet-util/kausal.libsonnet';
2525
local deployment = k.apps.v1.deployment,
2626
deployment:
2727
deployment.new(name, replicas=1, containers=[self.container])
28-
+ k.util.configMapVolumeMount(self.configmap, '/usr/local/apache2/htdocs'),
28+
+ k.util.configMapVolumeMount(self.configmap, '/usr/local/apache2/htdocs')
29+
+ k.util.configMapVolumeMount(self.httpdConfig, '/usr/local/apache2/conf'),
2930
},
3031

3132
withData(data):: { data: data },

0 commit comments

Comments
 (0)