Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.04 KB

metering-config.md

File metadata and controls

49 lines (36 loc) · 2.04 KB

Metering Configuration

Metering supports configuration options which may be set in the spec section of the MeteringConfig resource.

Note: Metering does not support any default storage at this moment. If a storage configuration is not specified or improperly set, then it will fail the MeteringConfig schema validation.

For details on different types of configuration read the relevant document:

Documentation conventions

This document and other documents in the operator-metering project follow the convention of describing nested fields in configuration settings using dots as separators. For example:

spec.reporting-operator.spec.config.awsAccessKeyID

Refers to the following YAML structure and value:

spec:
  reporting-operator:
    spec:
      config:
        awsAccessKeyID: "REPLACEME"

Using a custom configuration

Note: Ensure the environment variable $METERING_NAMESPACE is properly set to the correct namespace.

To install the custom configuration file, run the following command:

kubectl -n $METERING_NAMESPACE apply -f manifests/metering-config/default.yaml