Skip to content

Commit

Permalink
feat: Update to KEDA v2.1 CRDs (#115)
Browse files Browse the repository at this point in the history
* feat: Update to KEDA v2.1 CRDs

Signed-off-by: Tom Kerkhove <[email protected]>

* Ship KEDA v2.1 Helm chart

Signed-off-by: Tom Kerkhove <[email protected]>

* Use latest CRDs

Signed-off-by: Tom Kerkhove <[email protected]>

* Update Helm chart

Signed-off-by: Tom Kerkhove <[email protected]>

* Cleanup

Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove authored Jan 27, 2021
1 parent 7fdbd14 commit d412860
Show file tree
Hide file tree
Showing 7 changed files with 685 additions and 163 deletions.
58 changes: 39 additions & 19 deletions docs/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
apiVersion: v1
entries:
keda:
- apiVersion: v2
appVersion: 2.1.0
created: "2021-01-27T14:46:26.2756809+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: 91998f9165176f972b954ef9d4077942979cb5e863bb7d76ed29c48f63533531
home: https://github.com/kedacore/keda
icon: https://raw.githubusercontent.com/kedacore/keda/master/images/keda-logo-500x500-white.png
maintainers:
- email: [email protected]
name: Ahmed ElSayed
- email: [email protected]
name: Tom Kerkhove
- email: [email protected]
name: Zbynek Roubalik
name: keda
sources:
- https://github.com/kedacore/keda
urls:
- https://kedacore.github.io/charts/keda-2.1.0.tgz
version: 2.1.0
- apiVersion: v2
appVersion: 2.0.0
created: "2020-12-23T19:32:45.0199966+01:00"
created: "2021-01-27T14:46:26.2736879+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: ce2e848f5d7a067d74feb3745da5a834cccdfaa665b5b59d43ad06baa4cdfd04
home: https://github.com/kedacore/keda
Expand All @@ -23,7 +43,7 @@ entries:
version: 2.0.1
- apiVersion: v1
appVersion: 2.0.0
created: "2020-12-23T19:32:44.9899935+01:00"
created: "2021-01-27T14:46:26.2656482+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: dba8b0e793085165c7d155f9393c5ff112d4714dbce0201404ceb0e67d1b2deb
home: https://github.com/kedacore/keda
Expand All @@ -43,7 +63,7 @@ entries:
version: 2.0.0
- apiVersion: v1
appVersion: 2.0.0-rc2
created: "2020-12-23T19:32:44.965994+01:00"
created: "2021-01-27T14:46:26.2562003+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: bad82c28c5ca1d5e69fac4bfcc7a999d5d2b2afd9b19ff6deb9a48811110eb0d
home: https://github.com/kedacore/keda
Expand All @@ -63,7 +83,7 @@ entries:
version: 2.0.0-rc3
- apiVersion: v2
appVersion: 2.0.0-rc2
created: "2020-12-23T19:32:44.945989+01:00"
created: "2021-01-27T14:46:26.2468272+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: a4042ba14e595a8e82c9a39d8987625b89292aa86029686a3603b724fda36ca0
home: https://github.com/kedacore/keda
Expand All @@ -84,7 +104,7 @@ entries:
version: 2.0.0-rc2
- apiVersion: v1
appVersion: 2.0.0-rc
created: "2020-12-23T19:32:44.9219906+01:00"
created: "2021-01-27T14:46:26.2378501+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: 3a952f2aaa0ea35ee4335f0b168f44fcf37c5c5ab7e9b9bba7e731c42f04ad61
home: https://github.com/kedacore/keda
Expand All @@ -104,7 +124,7 @@ entries:
version: 2.0.0-rc
- apiVersion: v1
appVersion: 2.0.0-beta
created: "2020-12-23T19:32:44.9049916+01:00"
created: "2021-01-27T14:46:26.2266807+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: fbafc7ae564c13a0eab7062667759f6e93595c97125731a27e8290574e1d570c
home: https://github.com/kedacore/keda
Expand All @@ -124,7 +144,7 @@ entries:
version: 2.0.0-beta1.2
- apiVersion: v1
appVersion: 2.0.0-beta
created: "2020-12-23T19:32:44.6314429+01:00"
created: "2021-01-27T14:46:26.2166812+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: db9e7d2423423463285f2e9d5b940a63b41d6555ba9fcab8fda0e6a757ccefa9
home: https://github.com/kedacore/keda
Expand All @@ -144,7 +164,7 @@ entries:
version: 2.0.0-beta1.1
- apiVersion: v1
appVersion: 2.0.0-beta
created: "2020-12-23T19:32:44.5674509+01:00"
created: "2021-01-27T14:46:26.2047171+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: f0a8f0b854246ee2258ec8f10528f2811681ad2e41946dc455586f1ba9818e01
home: https://github.com/kedacore/keda
Expand All @@ -164,7 +184,7 @@ entries:
version: 2.0.0-beta
- apiVersion: v1
appVersion: 1.5.0
created: "2020-12-23T19:32:44.3518922+01:00"
created: "2021-01-27T14:46:26.1956826+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: 07b15ddae4f1c40747de063100a668ac15d504cd0548eac0e1a04381fcaa3b37
home: https://github.com/kedacore/keda
Expand All @@ -184,7 +204,7 @@ entries:
version: 1.5.0
- apiVersion: v1
appVersion: 1.4.1
created: "2020-12-23T19:32:44.319888+01:00"
created: "2021-01-27T14:46:26.1866811+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: f8bf80186ac3343998021a1721d06a67fdacd1dab92e4a4992620903b52004a4
home: https://github.com/kedacore/keda
Expand All @@ -204,7 +224,7 @@ entries:
version: 1.4.2
- apiVersion: v1
appVersion: 1.4.1
created: "2020-12-23T19:32:44.2498951+01:00"
created: "2021-01-27T14:46:26.1727325+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: 97a2e5c0beff93bb71ff861da0f29d09dcf988e724784f8b7c56ac9872c37a81
home: https://github.com/kedacore/keda
Expand All @@ -220,7 +240,7 @@ entries:
version: 1.4.1
- apiVersion: v1
appVersion: 1.4.0
created: "2020-12-23T19:32:44.183894+01:00"
created: "2021-01-27T14:46:26.1636811+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: 7b2b4e29f867361af87a60411b0a196416b04b2e20f4091d166263ea5195c355
home: https://github.com/kedacore/keda
Expand All @@ -236,7 +256,7 @@ entries:
version: 1.4.0
- apiVersion: v1
appVersion: 1.4.0
created: "2020-12-23T19:32:44.1538925+01:00"
created: "2021-01-27T14:46:26.154682+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: a9e78b6cb2257702296d7cc28ca7acdd0b11603aef7e95dbdc7d4ddfa3f3a49c
home: https://github.com/kedacore/keda
Expand All @@ -252,7 +272,7 @@ entries:
version: 1.3.2
- apiVersion: v1
appVersion: 1.3.0
created: "2020-12-23T19:32:44.1018912+01:00"
created: "2021-01-27T14:46:26.1456838+01:00"
description: Event-based autoscaler for workloads on Kubernetes
digest: e13bcb65816ed59b10b32fa6db8f61668635459d56c2d599bb3c0bcc5dcc1368
home: https://github.com/kedacore/keda
Expand All @@ -268,7 +288,7 @@ entries:
version: 1.3.1
- apiVersion: v1
appVersion: 1.3.0
created: "2020-12-23T19:32:44.0578908+01:00"
created: "2021-01-27T14:46:26.1357073+01:00"
description: Event based autoscaler for Azure Functions deployments on Kubernetes
digest: c0772458ab70bf3f019dc0b899ff444b9d7e6dcc466afd62e3f62e90eb8a24ed
home: https://github.com/kedacore/keda
Expand All @@ -284,7 +304,7 @@ entries:
version: 1.3.0
- apiVersion: v1
appVersion: 1.2.0
created: "2020-12-23T19:32:44.0258913+01:00"
created: "2021-01-27T14:46:26.1266822+01:00"
description: Event based autoscaler for Azure Functions deployments on Kubernetes
digest: e041dbed2455fef34f2908594a42fc8a7f163a1f48be46c2f93dea46e36fc733
home: https://github.com/kedacore/keda
Expand All @@ -300,7 +320,7 @@ entries:
version: 1.2.0
- apiVersion: v1
appVersion: 1.1.0
created: "2020-12-23T19:32:43.9798916+01:00"
created: "2021-01-27T14:46:26.117708+01:00"
description: Event based autoscaler for Azure Functions deployments on Kubernetes
digest: c624e6620a9a6f265f51a82ee0d8267dcb2637dd3777306afbb271746234ff2d
home: https://github.com/kedacore/keda
Expand All @@ -316,7 +336,7 @@ entries:
version: 1.1.0
- apiVersion: v1
appVersion: 1.0.0
created: "2020-12-23T19:32:43.9568913+01:00"
created: "2021-01-27T14:46:26.1076815+01:00"
description: Event based autoscaler for Azure Functions deployments on Kubernetes
digest: ef934588dce70d874ea69692e082b8a70ad19095090b8d4fa7b5cb69b2cecaf6
home: https://github.com/kedacore/keda
Expand All @@ -330,4 +350,4 @@ entries:
urls:
- https://kedacore.github.io/charts/keda-1.0.0.tgz
version: 1.0.0
generated: "2020-12-23T19:32:43.8908008+01:00"
generated: "2021-01-27T14:46:26.0977239+01:00"
Binary file added docs/keda-2.1.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions keda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: Event-based autoscaler for workloads on Kubernetes

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.0.1
version: 2.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.0.0
appVersion: 2.1.0

home: https://github.com/kedacore/keda
icon: https://raw.githubusercontent.com/kedacore/keda/master/images/keda-logo-500x500-white.png
Expand Down
151 changes: 151 additions & 0 deletions keda/crds/clustertriggerauthentications.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: clustertriggerauthentications.keda.sh
spec:
group: keda.sh
names:
kind: ClusterTriggerAuthentication
listKind: ClusterTriggerAuthenticationList
plural: clustertriggerauthentications
shortNames:
- cta
- clustertriggerauth
singular: clustertriggerauthentication
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.podIdentity.provider
name: PodIdentity
type: string
- jsonPath: .spec.secretTargetRef[*].name
name: Secret
type: string
- jsonPath: .spec.env[*].name
name: Env
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: ClusterTriggerAuthentication defines how a trigger can authenticate
globally
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: TriggerAuthenticationSpec defines the various ways to authenticate
properties:
env:
items:
description: AuthEnvironment is used to authenticate using environment
variables in the destination ScaleTarget spec
properties:
containerName:
type: string
name:
type: string
parameter:
type: string
required:
- name
- parameter
type: object
type: array
hashiCorpVault:
description: HashiCorpVault is used to authenticate using Hashicorp
Vault
properties:
address:
type: string
authentication:
description: VaultAuthentication contains the list of Hashicorp
Vault authentication methods
type: string
credential:
description: Credential defines the Hashicorp Vault credentials
depending on the authentication method
properties:
serviceAccount:
type: string
token:
type: string
type: object
mount:
type: string
role:
type: string
secrets:
items:
description: VaultSecret defines the mapping between the path
of the secret in Vault to the parameter
properties:
key:
type: string
parameter:
type: string
path:
type: string
required:
- key
- parameter
- path
type: object
type: array
required:
- address
- authentication
- secrets
type: object
podIdentity:
description: AuthPodIdentity allows users to select the platform native
identity mechanism
properties:
provider:
description: PodIdentityProvider contains the list of providers
type: string
required:
- provider
type: object
secretTargetRef:
items:
description: AuthSecretTargetRef is used to authenticate using a
reference to a secret
properties:
key:
type: string
name:
type: string
parameter:
type: string
required:
- key
- name
- parameter
type: object
type: array
type: object
required:
- spec
type: object
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit d412860

Please sign in to comment.