Cleaning up porch API to move to v1 #979
Replies: 9 comments 1 reply
-
In Kubernetes apiservers there is usually an internal and multiple versions of external types for each resource. All the external types are converted to the internal type, and the actual data is stored as an internal type object. When an external type is queried the stored internal type is converted back to the queried external type. |
Beta Was this translation helpful? Give feedback.
-
These became obsolete with the 1-item task list change (that among others eliminates the "patch" Task) . |
Beta Was this translation helpful? Give feedback.
-
Which UpstreamRef field do you refer to? The ones that I know already have a proper go type. |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, and the proposal is to use the |
Beta Was this translation helpful? Give feedback.
-
This is meant to be used to parse or store KRM Function execution outputs. I agree that this shouldn't be part of the porch API, but instead this should be imported from |
Beta Was this translation helpful? Give feedback.
-
Because Repository and everything under |
Beta Was this translation helpful? Give feedback.
-
|
Could we continue the discussion over here? I'll consider the comments already given here on that epic issue. |
Beta Was this translation helpful? Give feedback.
-
|
Many of the comments on I suggest we clean up the API properly and make these changes on a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Notes on cleaning up / removing unused types in various porch API files to move to v1:
porch/types.go
porch/register.go:
porch/v1alpha1/types.go:
porchconfig/v1alpha1/types.go:
controllers/packagevariants/api/v1alpha1/groupversion_info.go
And other controller APIs
api/porchinternal/v1alpha1/types.go
We will create v1alpha2 / v1alpha3 on the relevant files to make changes, then move to a "beta" when ready
Need to update all the imports to we can have a single switch to change APIs
Beta Was this translation helpful? Give feedback.
All reactions