Skip to content

Commit

Permalink
v3.2.0 bundle (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Mar 4, 2024
1 parent 0fa2de1 commit 9a8bdfd
Show file tree
Hide file tree
Showing 6 changed files with 1,745 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/csv-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ 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.2.0:
* Support for amd64, arm64, ppc64le, s390x architectures
* add liveness and readiness probes to controller Pod
* update pod security settings so that the controller Pod can run in Restricted mode [more info](https://sdk.operatorframework.io/docs/best-practices/pod-security-standards/)

## New in v3.1.0:
* Add service-account authentication type.
* __Deprecation Notice:__ Basic authentication is deprecated and will be removed in a future version of the operator.
Expand Down Expand Up @@ -91,7 +96,7 @@ The default authentication for the operator is `token`. No further steps are req
1. On the left navigation pane, select `Workloads` -> `Secrets` -> select Project: `koku-metrics-operator` -> `Create` -> `Key/Value Secret`
2. Give the Secret a name and add 2 keys (all lowercase) for the respective authentication type. The values for these keys correspond to console.redhat.com credentials:
* basic auth (deprecated): `username` and `password`
* service-account auth: `client_id` and `client_secret`
* service-account auth: `client_id` and `client_secret`

3. Select `Create`.
##### Create the KokuMetricsConfig
Expand All @@ -107,7 +112,7 @@ Configure the koku-metrics-operator by creating a `KokuMetricsConfig`.
secret_name: SECRET-NAME
type: basic
```
* for service-account auth type
```
authentication:
Expand Down
21 changes: 21 additions & 0 deletions koku-metrics-operator/3.2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM scratch

# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=koku-metrics-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,beta
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.33.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/

# Copy files to locations specified by labels.
COPY manifests /manifests/
COPY metadata /metadata/
COPY tests/scorecard /tests/scorecard/
Loading

0 comments on commit 9a8bdfd

Please sign in to comment.