Skip to content

Commit

Permalink
[COST-5607] update whats new in 3.3.2 (#473)
Browse files Browse the repository at this point in the history
* update whats new in 3.3.2

* text update

* add guidance on updating env variables

* clean up

* apply suggestion and add expected value format for leader election vars

* text update - modify expected format and include default values
  • Loading branch information
djnakabaale authored Nov 4, 2024
1 parent f3ad2d1 commit d053d3c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/csv-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@ The Koku Metrics Operator (`koku-metrics-operator`) collects the metrics require
* PersistentVolumeClaim (PVC) configuration: The KokuMetricsConfig CR can accept a PVC definition and the operator will create and mount the PVC. If one is not provided, a default PVC will be created.
* Restricted network installation: this operator can function on a restricted network. In this mode, the operator stores the packaged reports for manual retrieval.

## New in v3.3.2:
* Leader election settings are now configurable via environment variables. These variables can be modified in the operator [Subscription](https://github.com/operator-framework/operator-lifecycle-manager/blob/5a01f50258003e248bd5630df0837fe0bb0f1cb7/doc/design/subscription-config.md). The values should be specified as durations in seconds in the format `<number-of-seconds>s`. The default values for `LEADER_ELECTION_LEASE_DURATION`, `LEADER_ELECTION_RENEW_DEADLINE`, and `LEADER_ELECTION_RETRY_PERIOD` are '60s', '30s', and '5s', respectively.

```
kind: Subscription
metadata:
...
spec:
...
config:
env:
- name: LEADER_ELECTION_LEASE_DURATION
value: "60s"
- name: LEADER_ELECTION_RENEW_DEADLINE
value: "30s"
- name: LEADER_ELECTION_RETRY_PERIOD
value: "5s"
```

## New in v3.3.1:
* Optimize memory usage when reading CSV files.

Expand Down

0 comments on commit d053d3c

Please sign in to comment.