Skip to content

Commit

Permalink
Synchronize knative manifests v1.16.0 (#2917)
Browse files Browse the repository at this point in the history
* Update common/knative manifests from v1.16.0/v1.16.1

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* update script

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the installation script and tests

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* format two yaml files and exclude all upstream folders

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix trigger paths

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* remove temporary file

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
  • Loading branch information
juliusvonkohout authored Nov 19, 2024
1 parent 0ec6db7 commit 9026318
Show file tree
Hide file tree
Showing 14 changed files with 4,853 additions and 988 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/linting_bash_python_yaml_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ jobs:
- name: Set up changed files
id: changed_files
run: |
git diff --name-only --diff-filter=AM origin/master...HEAD | grep -E '^common/.*\.ya?ml$|^example/.*\.ya?ml$|^hack/.*\.ya?ml$|^tests/.*\.ya?ml$|^.github/.*\.ya?ml$' > changed_files_in_PR.txt || true
git diff --name-only --diff-filter=AM origin/master...HEAD \
| grep -v 'upstream' \
| grep -E '^common/.*\.ya?ml$|^example/.*\.ya?ml$|^hack/.*\.ya?ml$|^tests/.*\.ya?ml$|^.github/.*\.ya?ml$' \
> changed_files_in_PR.txt || true
if [ ! -s changed_files_in_PR.txt ]; then
echo "No YAML files have changed in this PR." > changed_files_in_PR.txt
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline_run_from_notebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- common/cert-manager/**
- common/oauth2-proxy/**
- common/istio*/**
- common/**
- common/kubeflow-namespace/**
- apps/jupyter/**

jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ used from the different projects of Kubeflow:
| Component | Local Manifests Path | Upstream Revision |
| - | - | - |
| Istio | common/istio-1-23 | [1.23.2](https://github.com/istio/istio/releases/tag/1.23.2) |
| Knative | common/knative/knative-serving <br /> common/knative/knative-eventing | [v1.12.4](https://github.com/knative/serving/releases/tag/knative-v1.12.4) <br /> [v1.12.6](https://github.com/knative/eventing/releases/tag/knative-v1.12.6) |
| Knative | common/knative/knative-serving <br /> common/knative/knative-eventing | [v1.16.0](https://github.com/knative/serving/releases/tag/knative-v1.16.0) <br /> [v1.16.1](https://github.com/knative/eventing/releases/tag/knative-v1.16.1) |
| Cert Manager | common/cert-manager | [1.14.5](https://github.com/cert-manager/cert-manager/releases/tag/v1.12.2) |

## Installation
Expand Down
6 changes: 3 additions & 3 deletions common/knative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

The manifests for Knative Serving are based off the following:

- [Knative serving (v1.12.4)](https://github.com/knative/serving/releases/tag/knative-v1.12.4)
- [Knative ingress controller for Istio (v1.12.3)](https://github.com/knative-extensions/net-istio/releases/tag/knative-v1.12.3)
- [Knative serving (v1.16.0)](https://github.com/knative/serving/releases/tag/knative-v1.16.0)
- [Knative ingress controller for Istio (v1.16.0)](https://github.com/knative-extensions/net-istio/releases/tag/knative-v1.16.0)

1. Download the knative-serving manifests with the following commands:

Expand Down Expand Up @@ -54,7 +54,7 @@ The manifests for Knative Serving are based off the following:

## Knative-Eventing

The manifests for Knative Eventing are based off the [v1.12.6 release](https://github.com/knative/eventing/releases/tag/knative-v1.12.6).
The manifests for Knative Eventing are based off the [v1.16.1 release](https://github.com/knative/eventing/releases/tag/knative-v1.16.1).

- [Eventing Core](https://github.com/knative/eventing/releases/download/knative-v1.12.6/eventing-core.yaml)
- [In-Memory Channel](https://github.com/knative/eventing/releases/download/knative-v1.12.6/in-memory-channel.yaml)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app: "storage-version-migration-eventing"
app.kubernetes.io/name: knative-eventing
app.kubernetes.io/component: storage-version-migration-job
app.kubernetes.io/version: "1.12.6"
app.kubernetes.io/version: "1.16.1"
name: storage-version-migration-eventing
spec:
ttlSecondsAfterFinished: 600
Expand All @@ -18,34 +18,36 @@ spec:
app: "storage-version-migration-eventing"
app.kubernetes.io/name: knative-eventing
app.kubernetes.io/component: storage-version-migration-job
app.kubernetes.io/version: "1.12.6"
app.kubernetes.io/version: "1.16.1"
sidecar.istio.io/inject: "false"
annotations:
sidecar.istio.io/inject: "false"
spec:
serviceAccountName: knative-eventing-post-install-job
restartPolicy: OnFailure
containers:
- name: migrate
image: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate@sha256:d438c3ad2fcef3c7ea1b3abb910f5fa911c8a1466d6460ac0b11bf034797d6f6
args:
- "apiserversources.sources.knative.dev"
- "brokers.eventing.knative.dev"
- "channels.messaging.knative.dev"
- "containersources.sources.knative.dev"
- "eventtypes.eventing.knative.dev"
- "inmemorychannels.messaging.knative.dev"
- "parallels.flows.knative.dev"
- "pingsources.sources.knative.dev"
- "sequences.flows.knative.dev"
- "sinkbindings.sources.knative.dev"
- "subscriptions.messaging.knative.dev"
- "triggers.eventing.knative.dev"
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
- name: migrate
image: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate@sha256:f1786ed71c979b93e3fba02c4cfb3df33d97be0cce2c9ef994bfba4cc15a5558
args:
- "apiserversources.sources.knative.dev"
- "brokers.eventing.knative.dev"
- "channels.messaging.knative.dev"
- "containersources.sources.knative.dev"
- "eventtypes.eventing.knative.dev"
- "inmemorychannels.messaging.knative.dev"
- "parallels.flows.knative.dev"
- "pingsources.sources.knative.dev"
- "sequences.flows.knative.dev"
- "sinkbindings.sources.knative.dev"
- "subscriptions.messaging.knative.dev"
- "triggers.eventing.knative.dev"
- "jobsinks.sinks.knative.dev"
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
Loading

0 comments on commit 9026318

Please sign in to comment.