Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Remove the resources of the older version, if a new version of knative is installed. #256

Open
houshengbo opened this issue Jan 20, 2020 · 1 comment
Assignees
Labels

Comments

@houshengbo
Copy link

Currently, when we install the operator of an new version, in a cluster, where there is an older version operator, the resources of knative serving will be overwritten or brand-new installed, depending on whether the resource exists or not.

However, if the new version of knative serving remove resources compared to the old version, the operator should remove those resources.

Since all the resources are labeled with "serving.knative.dev/release="<Version>", we can use the version number to find all the resources at the older version.

@k4leung4
Copy link
Contributor

Are there scenarios where a resource is in a transition state, supported and not created in a given version?

for example

  • resource created, supported in version A
  • resource not created, marked as deprecated but still supported in version B
  • resource no longer support supported in version C

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants