Skip to content

Commit 26601be

Browse files
committed
add custom metrics autoscaler operator
1 parent 0509237 commit 26601be

File tree

6 files changed

+48
-0
lines changed

6 files changed

+48
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
namespace: openshift-operators
5+
6+
resources:
7+
- namespace.yaml
8+
- subscription.yaml
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: openshift-keda
5+
annotations:
6+
openshift.io/display-name: "OpenShift Keda Operator"
7+
labels:
8+
openshift.io/cluster-monitoring: 'true'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: operators.coreos.com/v1
2+
kind: OperatorGroup
3+
metadata:
4+
name: openshift-keda
5+
namespace: openshift-keda
6+
spec: {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: Subscription
3+
metadata:
4+
name: openshift-custom-metrics-autoscaler-operator
5+
spec:
6+
channel: patch-me-see-overlays-dir
7+
installPlanApproval: Automatic
8+
name: openshift-custom-metrics-autoscaler-operator
9+
source: redhat-operators
10+
sourceNamespace: openshift-marketplace
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
6+
resources:
7+
- ../../base
8+
patches:
9+
- path: patch-channel.yaml
10+
target:
11+
group: operators.coreos.com
12+
kind: Subscription
13+
version: v1alpha1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- op: replace
2+
path: /spec/channel
3+
value: 'stable'

0 commit comments

Comments
 (0)