Skip to content

Commit 6643138

Browse files
authored
Merge pull request #335 from grafana/service-namespace
Add namespace to service.
2 parents ce1ab51 + 3e0083b commit 6643138

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ksonnet-util/kausal.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ k {
248248
labels, // selector
249249
ports,
250250
) +
251-
service.mixin.metadata.withLabels({ name: deployment.metadata.name }),
251+
service.mixin.metadata.withLabels({ name: deployment.metadata.name }) +
252+
service.mixin.metadata.withNamespace($._config.namespace),
252253

253254
// rbac creates a service account, role and role binding with the given
254255
// name and rules.

0 commit comments

Comments
 (0)