Skip to content

Commit 33be8bf

Browse files
committed
add readme
1 parent 26601be commit 33be8bf

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# OpenShift Custom Metrics Autoscaler
2+
3+
Install OpenShift Custom Metrics Autoscaler.
4+
5+
Do not use the `base` directory directly, as you will need to patch the `channel` based on the version of OpenShift you are using, or the version of the operator you want to use.
6+
7+
The current *overlays* available are for the following channels:
8+
9+
* [stable](operator/overlays/stable)
10+
11+
## Usage
12+
13+
If you have cloned the `gitops-catalog` repository, you can install Red Hat OpenShift GitOps based on the overlay of your choice by running from the root (`gitops-catalog`) directory.
14+
15+
```
16+
oc apply -k openshift-custom-metrics-autoscaler/operator/overlays/<channel>
17+
```
18+
19+
Or, without cloning:
20+
21+
```
22+
oc apply -k https://github.com/redhat-cop/gitops-catalog/openshift-custom-metrics-autoscaler/operator/overlays/<channel>
23+
```
24+
25+
As part of a different overlay in your own GitOps repo:
26+
27+
```
28+
apiVersion: kustomize.config.k8s.io/v1beta1
29+
kind: Kustomization
30+
resources:
31+
- https://github.com/redhat-cop/gitops-catalog/openshift-custom-metrics-autoscaler/operator/overlays/<channel>?ref=main
32+
```

0 commit comments

Comments
 (0)