Skip to content

Commit

Permalink
Update adapter.yaml for 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
grcameron authored Nov 16, 2022
1 parent 6c0cd35 commit bc11d04
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions deploy/adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
selector:
app: k8s-cloudwatch-adapter
---
apiVersion: apiregistration.k8s.io/v1beta1
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
name: v1beta1.external.metrics.k8s.io
Expand Down Expand Up @@ -160,13 +160,29 @@ subjects:
name: horizontal-pod-autoscaler
namespace: kube-system
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: externalmetrics.metrics.aws
spec:
group: metrics.aws
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
cronSpec:
type: string
image:
type: string
replicas:
type: integer
names:
kind: ExternalMetric
plural: externalmetrics
Expand Down

0 comments on commit bc11d04

Please sign in to comment.