Skip to content

Commit

Permalink
Merge pull request #283 from vshn/fix/duplcate-ns
Browse files Browse the repository at this point in the history
Don't create ns for billing
  • Loading branch information
Kidswiss authored Dec 21, 2023
2 parents d8778c3 + 680aa33 commit 208e26a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
7 changes: 0 additions & 7 deletions component/component/billing.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,6 @@ local billingCronjobs = std.flattenArrays(std.flatMap(function(r) [ generateClou

if params.billing.vshn.enableCronjobs then
{
'billing/00_namespace': kube.Namespace(params.billing.namespace) {
metadata+: {
labels+: common.Labels {
'openshift.io/cluster-monitoring': 'true',
},
},
},
[if std.length(std.filter(function(name) params.billing.network_policies.target_namespaces[name] == true, std.objectFields(params.billing.network_policies.target_namespaces))) > 0 then 'billing/01_netpol']: netPol.Policies,
'billing/10_odoo_secret': odooSecret,
'billing/11_backfill': billingCronjobs,
Expand Down

This file was deleted.

0 comments on commit 208e26a

Please sign in to comment.