Skip to content

Commit 713d252

Browse files
authored
Allow specifying labels when creating DaemonSets
1 parent 3c07292 commit 713d252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ksonnet-util/kausal.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ k {
124124

125125
local appsExtentions = {
126126
daemonSet+: {
127-
new(name, containers)::
128-
local labels = { name: name };
127+
new(name, containers, podLabels={})::
128+
local labels = podLabels { name: name };
129129

130130
super.new() +
131131
super.mixin.metadata.withName(name) +

0 commit comments

Comments
 (0)