Skip to content

Commit

Permalink
fix: Use CRDs from KEDA v2.8 & ship v2.8.1 (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkerkhove authored Aug 12, 2022
1 parent e2553bf commit b0eb796
Show file tree
Hide file tree
Showing 8 changed files with 4,672 additions and 1,093 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ helm repo add kedacore https://kedacore.github.io/charts
$ helm search repo kedacore
NAME CHART VERSION APP VERSION DESCRIPTION
kedacore/external-scaler-azure-cosmos-db 0.1.0 0.1.0 Event-based autoscaler for Azure Cosmos DB chan...
kedacore/keda 2.7.2 2.7.1 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.8.1 2.8.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda-add-ons-http 0.2.2 0.2.0 Event-based autoscaler for HTTP workloads on Ku...
```

Expand Down
119 changes: 65 additions & 54 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file added docs/keda-2.8.1.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion keda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kubeVersion: ">=v1.17.0-0"

# 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.8.0
version: 2.8.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
42 changes: 28 additions & 14 deletions keda/templates/02-crd-clustertriggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
name: clustertriggerauthentications.keda.sh
controller-gen.kubebuilder.io/version: v0.9.0
labels:
app.kubernetes.io/name: {{ .Values.operator.name }}
{{- include "keda.labels" . | indent 4 }}
name: clustertriggerauthentications.keda.sh
spec:
group: keda.sh
names:
Expand Down Expand Up @@ -36,21 +36,27 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: ClusterTriggerAuthentication defines how a trigger can authenticate globally
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'
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'
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:
azureKeyVault:
description: AzureKeyVault is used to authenticate using Azure Key Vault
description: AzureKeyVault is used to authenticate using Azure Key
Vault
properties:
cloud:
properties:
Expand Down Expand Up @@ -111,13 +117,13 @@ spec:
vaultUri:
type: string
required:
- credentials
- secrets
- vaultUri
type: object
env:
items:
description: AuthEnvironment is used to authenticate using environment variables in the destination ScaleTarget spec
description: AuthEnvironment is used to authenticate using environment
variables in the destination ScaleTarget spec
properties:
containerName:
type: string
Expand All @@ -131,15 +137,18 @@ spec:
type: object
type: array
hashiCorpVault:
description: HashiCorpVault is used to authenticate using Hashicorp Vault
description: HashiCorpVault is used to authenticate using Hashicorp
Vault
properties:
address:
type: string
authentication:
description: VaultAuthentication contains the list of Hashicorp Vault authentication methods
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
description: Credential defines the Hashicorp Vault credentials
depending on the authentication method
properties:
serviceAccount:
type: string
Expand All @@ -154,7 +163,8 @@ spec:
type: string
secrets:
items:
description: VaultSecret defines the mapping between the path of the secret in Vault to the parameter
description: VaultSecret defines the mapping between the path
of the secret in Vault to the parameter
properties:
key:
type: string
Expand All @@ -174,8 +184,11 @@ spec:
- secrets
type: object
podIdentity:
description: AuthPodIdentity allows users to select the platform native identity mechanism
description: AuthPodIdentity allows users to select the platform native
identity mechanism
properties:
identityId:
type: string
provider:
description: PodIdentityProvider contains the list of providers
type: string
Expand All @@ -184,7 +197,8 @@ spec:
type: object
secretTargetRef:
items:
description: AuthSecretTargetRef is used to authenticate using a reference to a secret
description: AuthSecretTargetRef is used to authenticate using a
reference to a secret
properties:
key:
type: string
Expand Down
Loading

0 comments on commit b0eb796

Please sign in to comment.