forked from kubeflow/manifests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
knative: Updrade Knative to version 1.2 (kubeflow#2251)
* Update the README file * Fetch the manifests for Knative serving 1.2.5 * Fetch the manifests for Knative eventing 1.2.4 * Remove comments, anchors and aliases Signed-off-by: Dimitris Poulopoulos <dimpo@arrikto.com>
- Loading branch information
Dimitris Poulopoulos
authored
Jul 14, 2022
1 parent
707f8f6
commit 0660ee0
Showing
10 changed files
with
651 additions
and
1,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
170 changes: 170 additions & 0 deletions
170
common/knative/knative-eventing-post-install-jobs/base/eventing-post-install-jobs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,171 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: knative-eventing-post-install-job-role | ||
labels: | ||
eventing.knative.dev/release: "v1.2.4" | ||
rules: | ||
- apiGroups: | ||
- "apiextensions.k8s.io" | ||
resources: | ||
- "customresourcedefinitions" | ||
- "customresourcedefinitions/status" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "update" | ||
- "patch" | ||
- "watch" | ||
- apiGroups: | ||
- "sources.knative.dev" | ||
resources: | ||
- "apiserversources" | ||
- "apiserversources/finalizers" | ||
- "apiserversources/status" | ||
- "containersources" | ||
- "containersources/finalizers" | ||
- "containersources/status" | ||
- "pingsources" | ||
- "pingsources/finalizers" | ||
- "pingsources/status" | ||
- "sinkbindings" | ||
- "sinkbindings/finalizers" | ||
- "sinkbindings/status" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "create" | ||
- "update" | ||
- "patch" | ||
- "watch" | ||
- apiGroups: | ||
- "eventing.knative.dev" | ||
resources: | ||
- "brokers" | ||
- "brokers/finalizers" | ||
- "brokers/status" | ||
- "eventtypes" | ||
- "eventtypes/finalizers" | ||
- "eventtypes/status" | ||
- "triggers" | ||
- "triggers/finalizers" | ||
- "triggers/status" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "create" | ||
- "update" | ||
- "patch" | ||
- "watch" | ||
- apiGroups: | ||
- "messaging.knative.dev" | ||
resources: | ||
- "channels" | ||
- "channels/finalizers" | ||
- "channels/status" | ||
- "inmemorychannels" | ||
- "inmemorychannels/finalizers" | ||
- "inmemorychannels/status" | ||
- "subscriptions" | ||
- "subscriptions/finalizers" | ||
- "subscriptions/status" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "create" | ||
- "update" | ||
- "patch" | ||
- "watch" | ||
- apiGroups: | ||
- "flows.knative.dev" | ||
resources: | ||
- "parallels" | ||
- "parallels/finalizers" | ||
- "parallels/status" | ||
- "sequences" | ||
- "sequences/finalizers" | ||
- "sequences/status" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "create" | ||
- "update" | ||
- "patch" | ||
- "watch" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- "namespaces" | ||
verbs: | ||
- "get" | ||
- "list" | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: knative-eventing-post-install-job | ||
namespace: knative-eventing | ||
labels: | ||
eventing.knative.dev/release: "v1.2.4" | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: knative-eventing-post-install-job-role-binding | ||
labels: | ||
eventing.knative.dev/release: "v1.2.4" | ||
subjects: | ||
- kind: ServiceAccount | ||
name: knative-eventing-post-install-job | ||
namespace: knative-eventing | ||
roleRef: | ||
kind: ClusterRole | ||
name: knative-eventing-post-install-job-role | ||
apiGroup: rbac.authorization.k8s.io | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
generateName: storage-version-migration-eventing- | ||
namespace: knative-eventing | ||
labels: | ||
app: "storage-version-migration-eventing" | ||
eventing.knative.dev/release: "v1.2.4" | ||
spec: | ||
ttlSecondsAfterFinished: 600 | ||
backoffLimit: 10 | ||
template: | ||
metadata: | ||
labels: | ||
app: "storage-version-migration-eventing" | ||
eventing.knative.dev/release: "v1.2.4" | ||
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/eventing/vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate@sha256:ce1cf40c3e58fb437bac1731aa4dd3bda63bcedeaaf303b928963071192f82bf | ||
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 | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.