Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade k8s and Knative dependencies #3552

Merged
merged 13 commits into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/kamel-config-cluster-kind/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ runs:
uses: container-tools/kind-action@v1
if: ${{ env.CLUSTER_KIND_CONFIGURED != 'true' }}
with:
version: v0.11.0
node_image: kindest/node:v1.21.1@sha256:fae9a58f17f18f06aeac9772ca8b5ac680ebbed985e266f711d936e91d113bad
version: v0.14.0
node_image: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae

- id: info
name: Info
Expand Down
22 changes: 15 additions & 7 deletions .github/actions/kamel-install-knative/install-knative.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ sudo wget https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd

set +e

export SERVING_VERSION=knative-v1.3.0
export EVENTING_VERSION=knative-v1.3.3
export KOURIER_VERSION=knative-v1.3.0
export SERVING_VERSION=knative-v1.6.0
export EVENTING_VERSION=knative-v1.6.0
export KOURIER_VERSION=knative-v1.6.0

apply() {
local file="${1:-}"
Expand All @@ -55,12 +55,11 @@ apply() {

SERVING_CRDS="https://github.com/knative/serving/releases/download/${SERVING_VERSION}/serving-crds.yaml"
SERVING_CORE="https://github.com/knative/serving/releases/download/${SERVING_VERSION}/serving-core.yaml"
KOURIER="https://github.com/knative/net-kourier/releases/download/${KOURIER_VERSION}/kourier.yaml"
KOURIER="https://github.com/knative-sandbox/net-kourier/releases/download/${KOURIER_VERSION}/kourier.yaml"
EVENTING_CRDS="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/eventing-crds.yaml"
EVENTING_CORE="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/eventing-core.yaml"
IN_MEMORY_CHANNEL="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/in-memory-channel.yaml"
CHANNEL_BROKER="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/mt-channel-broker.yaml"
SUGAR_CONTROLLER="https://github.com/knative/eventing/releases/download/${EVENTING_VERSION}/eventing-sugar-controller.yaml"

# Serving
apply "${SERVING_CRDS}"
Expand Down Expand Up @@ -122,8 +121,17 @@ else
exit 1
fi

# Eventing sugar controller for injection
apply ${SUGAR_CONTROLLER}
# Eventing sugar controller configuration
echo "Patching Knative eventing configuration"
kubectl patch configmap/config-sugar \
-n knative-eventing \
--type merge \
-p '{"data":{"namespace-selector":"{\"matchExpressions\":[{\"key\":\"eventing.knative.dev/injection\",\"operator\":\"In\",\"values\":[\"enabled\"]}]}"}}'

kubectl patch configmap/config-sugar \
-n knative-eventing \
--type merge \
-p '{"data":{"trigger-selector":"{\"matchExpressions\":[{\"key\":\"eventing.knative.dev/injection\",\"operator\":\"In\",\"values\":[\"enabled\"]}]}"}}'

# Wait for installation completed
echo "Waiting for all pods to be ready in kourier-system"
Expand Down
34 changes: 27 additions & 7 deletions addons/strimzi/duck/client/internalclientset/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading