Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
namespace: ($namespace)
labels:
cost-center: ($cost_center)
insights_cost_management_optimizations: "true"
cost_management_optimizations: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
labels:
konflux-ci.dev/type: tenant
cost-center: ($cost_center)
insights_cost_management_optimizations: "true"
cost_management_optimizations: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
policies.kyverno.io/subject: Pod
policies.kyverno.io/description: >-
Propagates the `cost-center` label from non-managed tenant namespaces to pods,
and sets the `insights_cost_management_optimizations` label to `true` on those pods.
and sets the `cost_management_optimizations` label to `true` on those pods.
spec:
webhookConfiguration:
failurePolicy: Ignore
Expand Down Expand Up @@ -53,4 +53,4 @@ spec:
metadata:
labels:
cost-center: "{{ costcenterLabel }}"
insights_cost_management_optimizations: "true"
cost_management_optimizations: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
labels:
konflux-ci.dev/type: tenant
cost-center: ($cost_center)
insights_cost_management_optimizations: "true"
cost_management_optimizations: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
labels:
konflux-ci.dev/type: tenant
cost-center: ""
insights_cost_management_optimizations: "true"
cost_management_optimizations: "true"