Skip to content

Commit

Permalink
Merge pull request #247 from joelsmith/kedamain
Browse files Browse the repository at this point in the history
Prepare release 2.16.0
  • Loading branch information
joelsmith authored Nov 8, 2024
2 parents fad70e8 + 25c1f55 commit 8cb33dd
Show file tree
Hide file tree
Showing 39 changed files with 17,813 additions and 850 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
packages: write
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**

container: ghcr.io/kedacore/keda-tools:1.22.5
container: ghcr.io/kedacore/keda-tools:1.23.3
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Go modules cache
uses: actions/cache@v4
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Go modules cache
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Check out code
uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Check out code
uses: actions/checkout@v4
Expand All @@ -32,10 +32,10 @@ jobs:
- uses: actions/setup-python@v5
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- name: Get golangci
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
- uses: pre-commit/[email protected].0
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.1
- uses: pre-commit/[email protected].1

test-build:
name: Test Image Build
Expand All @@ -44,7 +44,7 @@ jobs:
contents: read
packages: write

container: ghcr.io/kedacore/keda-tools:1.22.5
container: ghcr.io/kedacore/keda-tools:1.23.3
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Go modules cache
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
packages: write
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**

container: ghcr.io/kedacore/keda-tools:1.22.5
container: ghcr.io/kedacore/keda-tools:1.23.3
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default_stages: [commit, push]
default_stages: [pre-commit, pre-push]
minimum_pre_commit_version: "1.20.0"
repos:
- repo: https://github.com/dnephin/pre-commit-golang
Expand All @@ -7,7 +7,7 @@ repos:
- id: go-fmt
name: Run go fmt against the code
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: detect-private-key
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM ghcr.io/kedacore/keda-tools:1.22.5 as builder
FROM ghcr.io/kedacore/keda-tools:1.23.3 as builder

ARG BUILD_VERSION=main
ARG GIT_COMMIT=HEAD
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BUNDLE_RUN_OPTS= --security-context-config restricted
endif

# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.30.0
ENVTEST_K8S_VERSION = 1.31

# Setting SHELL to bash allows bash commands to be executed by recipes.
# This is a requirement for 'setup-envtest.sh' in the test target.
Expand Down
26 changes: 21 additions & 5 deletions bundle/manifests/eventing.keda.sh_cloudeventsources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.5
creationTimestamp: null
labels:
app.kubernetes.io/part-of: keda-olm-operator
Expand Down Expand Up @@ -86,20 +86,36 @@ spec:
properties:
excludedEventTypes:
items:
description: CloudEventType contains the list of cloudevent
types
enum:
- keda.scaledobject.ready.v1
- keda.scaledobject.failed.v1
- keda.scaledobject.removed.v1
- keda.scaledjob.ready.v1
- keda.scaledjob.failed.v1
- keda.scaledjob.removed.v1
- keda.authentication.triggerauthentication.created.v1
- keda.authentication.triggerauthentication.updated.v1
- keda.authentication.triggerauthentication.removed.v1
- keda.authentication.clustertriggerauthentication.created.v1
- keda.authentication.clustertriggerauthentication.updated.v1
- keda.authentication.clustertriggerauthentication.removed.v1
type: string
type: array
includedEventTypes:
items:
description: CloudEventType contains the list of cloudevent
types
enum:
- keda.scaledobject.ready.v1
- keda.scaledobject.failed.v1
- keda.scaledobject.removed.v1
- keda.scaledjob.ready.v1
- keda.scaledjob.failed.v1
- keda.scaledjob.removed.v1
- keda.authentication.triggerauthentication.created.v1
- keda.authentication.triggerauthentication.updated.v1
- keda.authentication.triggerauthentication.removed.v1
- keda.authentication.clustertriggerauthentication.created.v1
- keda.authentication.clustertriggerauthentication.updated.v1
- keda.authentication.clustertriggerauthentication.removed.v1
type: string
type: array
type: object
Expand Down
163 changes: 163 additions & 0 deletions bundle/manifests/eventing.keda.sh_clustercloudeventsources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.5
creationTimestamp: null
labels:
app.kubernetes.io/part-of: keda-olm-operator
app.kubernetes.io/version: main
name: clustercloudeventsources.eventing.keda.sh
spec:
group: eventing.keda.sh
names:
kind: ClusterCloudEventSource
listKind: ClusterCloudEventSourceList
plural: clustercloudeventsources
singular: clustercloudeventsource
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=="Active")].status
name: Active
type: string
name: v1alpha1
schema:
openAPIV3Schema:
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: CloudEventSourceSpec defines the spec of CloudEventSource
properties:
authenticationRef:
description: |-
AuthenticationRef points to the TriggerAuthentication or ClusterTriggerAuthentication object that
is used to authenticate the scaler with the environment
properties:
kind:
description: Kind of the resource being referred to. Defaults
to TriggerAuthentication.
type: string
name:
type: string
required:
- name
type: object
clusterName:
type: string
destination:
description: Destination defines the various ways to emit events
properties:
azureEventGridTopic:
properties:
endpoint:
type: string
required:
- endpoint
type: object
http:
properties:
uri:
type: string
required:
- uri
type: object
type: object
eventSubscription:
description: EventSubscription defines filters for events
properties:
excludedEventTypes:
items:
enum:
- keda.scaledobject.ready.v1
- keda.scaledobject.failed.v1
- keda.scaledobject.removed.v1
- keda.scaledjob.ready.v1
- keda.scaledjob.failed.v1
- keda.scaledjob.removed.v1
- keda.authentication.triggerauthentication.created.v1
- keda.authentication.triggerauthentication.updated.v1
- keda.authentication.triggerauthentication.removed.v1
- keda.authentication.clustertriggerauthentication.created.v1
- keda.authentication.clustertriggerauthentication.updated.v1
- keda.authentication.clustertriggerauthentication.removed.v1
type: string
type: array
includedEventTypes:
items:
enum:
- keda.scaledobject.ready.v1
- keda.scaledobject.failed.v1
- keda.scaledobject.removed.v1
- keda.scaledjob.ready.v1
- keda.scaledjob.failed.v1
- keda.scaledjob.removed.v1
- keda.authentication.triggerauthentication.created.v1
- keda.authentication.triggerauthentication.updated.v1
- keda.authentication.triggerauthentication.removed.v1
- keda.authentication.clustertriggerauthentication.created.v1
- keda.authentication.clustertriggerauthentication.updated.v1
- keda.authentication.clustertriggerauthentication.removed.v1
type: string
type: array
type: object
required:
- destination
type: object
status:
description: CloudEventSourceStatus defines the observed state of CloudEventSource
properties:
conditions:
description: Conditions an array representation to store multiple
Conditions
items:
description: Condition to store the condition state
properties:
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of condition
type: string
required:
- status
- type
type: object
type: array
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Loading

0 comments on commit 8cb33dd

Please sign in to comment.