Commit Graph

4 Commits

Author SHA1 Message Date
Nic Cope 50745b7338 Have managed resource DeletionPolicy default to 'Delete'
Signed-off-by: Nic Cope <negz@rk0n.org>
2021-03-15 22:03:42 +00:00
Nic Cope 824eb6919d Use OpenAPI to set the default ProviderConfig
This allows us to avoid an extra update call to the API server when new managed
resources are created.

Signed-off-by: Nic Cope <negz@rk0n.org>
2021-03-11 08:02:04 +00:00
hasheddan 10b4720142
Replace ProviderConfigSpec with embeddable CredentialsSelectors
To allow for more flexible credential methods, we provide common
selectors but do not enforce source enum or restrict from adding
additional selectors. The CredentialsSelectors are meant to be embedded
inline in a ProviderConfig's spec.credentials object.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-01 16:11:47 -06:00
hasheddan 52cc9b82b7
Move embedded API types to v1
Moves the core embedded API types out of the core/v1alpha1 directory and
into common/v1. These types are used by many mature APIs and are now
recognized as stable. This new package should be imported with alias
xpv1 by convention.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-19 20:01:01 -06:00