Skip to content

Update knative to Release 0.8#282

Merged
k8s-ci-robot merged 3 commits intokserve:masterfrom
johnugeorge:release-0.8
Aug 12, 2019
Merged

Update knative to Release 0.8#282
k8s-ci-robot merged 3 commits intokserve:masterfrom
johnugeorge:release-0.8

Conversation

@johnugeorge
Copy link
Copy Markdown
Contributor

@johnugeorge johnugeorge commented Aug 9, 2019

With the new release, all awaiting fixes from knative/pkg will be available.

Related:
#276 and #249

@jinchihe The openapi-codegen changes are not complete(added for successful build). Once this PR is merged, you could make the necessary changes. what do you think?


This change is Reviewable

@johnugeorge
Copy link
Copy Markdown
Contributor Author

/cc @yuzisun
/cc @ellis-bigelow

@ellistarn
Copy link
Copy Markdown
Contributor

Great work Johnu. I imagine there will be a followon CL deprecating the use of the alpha packages "knservingv1alpha1"?

@johnugeorge
Copy link
Copy Markdown
Contributor Author

@ellis-bigelow knative still defaults to v1alpha1 in the release 0.8 - https://github.com/knative/serving/releases/download/v0.8.0/serving.yaml

Comment thread hack/update-openapigen.sh
# TBD @jinchihe: This should be updated from knative (PR: https://github.com/knative/pkg/pull/510).
sed -i '/^type Condition struct {/i // +k8s:openapi-gen=true' vendor/github.com/knative/pkg/apis/condition_types.go
sed -i '/^type VolatileTime struct {/i // +k8s:openapi-gen=true' vendor/github.com/knative/pkg/apis/volatile_time.go
sed -i '/^type Condition struct {/i // +k8s:openapi-gen=true' vendor/knative.dev/pkg/apis/condition_types.go
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two sed lines can be removed now right @jinchihe ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. However, my openapi-gen changes are only to have successful build. Once this is merged, @jinchihe can make specific changes for openapi-gen

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuzisun Yes, absolutely right! Will remove while updating openapi and python sdk once the PR merged, thanks!


import (
openapispec "github.com/go-openapi/spec"
spec "github.com/go-openapi/spec"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to change this ? spec is the default alias name though.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same reason as above. @jinchihe will make specific changes needed for openapi-gen

Copy link
Copy Markdown
Contributor

@jinchihe jinchihe Aug 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnugeorge If you updated the openapi_generated.go by running the script hack/update-openapigen.sh, should no changes, seems this is updated here. Personally you can leave the file, just upgrade knative, I can do this later. Or if you want to do that, I can work this with you together. Thanks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@jinchihe
Copy link
Copy Markdown
Contributor

@jinchihe The openapi-codegen changes are not complete(added for successful build). Once this PR is merged, you could make the necessary changes. what do you think?

@johnugeorge Sure, thanks!

@yuzisun
Copy link
Copy Markdown
Member

yuzisun commented Aug 12, 2019

/retest

@yuzisun
Copy link
Copy Markdown
Member

yuzisun commented Aug 12, 2019

Great work @johnugeorge! Looking forward to upgrading kfserving controller to use knative v1beta1 API.
/lgtm
/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yuzisun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 82667cd into kserve:master Aug 12, 2019
ellistarn pushed a commit to ellistarn/kfserving that referenced this pull request Jul 28, 2020
* Updating to release 0.8

* fix tests

* Run hack/openapi-gen
rafvasq pushed a commit to rafvasq/kserve that referenced this pull request Jul 21, 2023
/cc @rafvasq @njhill 


Signed-off-by: Christian Kadner <ckadner@us.ibm.com>
hdefazio pushed a commit to hdefazio/kserve that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants