Skip to content

Commit 3608d5e

Browse files
Merge pull request #270 from rajatvig/patch-1
Allow specifying labels when creating DaemonSets
2 parents f883d05 + 713d252 commit 3608d5e

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)