Commit Graph

26 Commits

Author SHA1 Message Date
Erhan Cagirici c056ae9de1 refactor shared api types to common package
Signed-off-by: Erhan Cagirici <erhan@upbound.io>
2025-07-22 13:12:01 +03:00
Erhan Cagirici f09b0a3b35 add v2 apis
Signed-off-by: Erhan Cagirici <erhan@upbound.io>
2025-07-21 18:25:20 +03:00
Nic Cope 678177c524 Run golangci-lint run --fix
This commit is entirely generated by earthly +reviewable

Signed-off-by: Nic Cope <nicc@rk0n.org>
2025-07-03 12:51:13 -07:00
Predrag Knezevic b5462b512d Add ability to expose resource reconciliation progress
* `status.observedGeneration` fields has been added to claim/composite/composed status,
  showing the latest metadata.generation which resulted in either a ready state,
  or stalled due to error it can not recover from without human intervention.
* `status.conditions[x].observedGeneration represents the .metadata.generation
  that the condition was set based upon

Signed-off-by: Predrag Knezevic <predrag.knezevic@upbound.io>
2024-04-09 11:04:31 +02:00
Nic Cope 0c7b1eb549 Bump golangci-lint, copy config from c/c
This copies the latest config from c/c and addresses all the linter
errors that config produces.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-02-20 03:45:27 -08:00
lsviben 55a8c10930
gmp to beta
Signed-off-by: lsviben <sviben.lovro@gmail.com>
2023-09-20 11:46:19 +02:00
Christopher Haar fd85873073 feat(remove): remove deprecated providerRef
Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
2023-08-23 15:46:55 +02:00
lsviben 73a675c82c
implement granular managementPolicies
Signed-off-by: lsviben <sviben.lovro@gmail.com>
2023-07-13 13:43:34 +02:00
Philippe Scorsolini 57dafafdaf
chore(linter): switching from goimports to gci enforcing imports sorting
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-03-29 09:23:07 +02:00
Hasan Turken 0dd35672f2
Pin design doc section for deprecation of deletion policy
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2023-03-27 12:08:35 +03:00
Hasan Turken 0023964825
Resolve Comments in Observe Only PR
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2023-03-27 12:05:07 +03:00
Hasan Turken 79cb4c8ac1
Add management policy to managed
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2023-03-27 12:05:06 +03:00
Sergen Yalçın 23dad77b17
Add "IfNotPresent" to ResolvePolicy enum
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-06-16 13:48:01 +03:00
Sergen Yalçın afe248692b
Use kubebuilder enum for new policy fields
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-06-13 18:11:54 +03:00
Sergen Yalçın 38e79f4960
Preserve order of reference resolution
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-05-30 18:48:30 +03:00
Sergen Yalçın e2fb202fd5
Add policy api for Selector
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-05-12 16:11:37 +03:00
Sergen Yalçın 66e5e7ad0b
Re-design the Policy API
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-04-25 18:14:52 +03:00
Sergen Yalçın ec82fef853
Add a new policy about resolving references for every reconcile loop
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-04-16 16:03:18 +03:00
Sergen Yalçın ac7cf2045e
Support for having circular dependencies while using referencers
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-04-14 14:56:17 +03:00
Hasan Turken 2f224692a9
Use store.KeyValue in connection.store package
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-09 14:46:59 +03:00
Hasan Turken c55240a2a2
Add PublishConnectionDetailsTo to Managed resource spec
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-09 12:43:52 +03:00
Nic Cope fe7e495016 Mark Target APIs as deprecated.
I don't believe these are used anywhere anymore.

Signed-off-by: Nic Cope <negz@rk0n.org>
2021-09-13 22:17:52 +00:00
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