Skip to content

Commit

Permalink
Merge pull request #15 from tegridy-io/fix/namespace-labels-annotations
Browse files Browse the repository at this point in the history
Fix namespace labels and annotations not applied
  • Loading branch information
DebakelOrakel authored Feb 4, 2024
2 parents 09d7359 + 1d7ba82 commit 0863913
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ local appName = 'nextcloud';
local hasPrometheus = std.member(inv.applications, 'prometheus');

local namespace = kube.Namespace(params.namespace.name) {
// metadata+: {
// labels+: {
// 'pod-security.kubernetes.io/enforce': 'restricted',
// },
// },
metadata+: {
annotations+: params.namespace.annotations,
labels+: params.namespace.labels,
},
};


Expand Down

0 comments on commit 0863913

Please sign in to comment.