Namespace Cost Center 1.1.2

Enforces that every namespace is annotated with securitytower.io/cost-center. This annotation should contain the cost center which should be billed for the usage within the namespace.

  • Annotations
  • Operational

Applies to

  • Namespace

Example

apiVersion: v1
kind: Namespace
metadata:
  name: app-name
  annotations:
    securitytower.io/contact-email: "support@syncier.net"
+   securitytower.io/cost-center: "1000"

Risk acceptance

Use the annotation securitytower.io/policy.exclusion.namespacecostcenter as on the example below.
apiVersion: v1
kind: Namespace
metadata:
  name: your-namespace
  annotations:
    securitytower.io/policy.exclusion.namespacecostcenter: |
      A reason which describes why this namespace has no cost center.
...