Commit Graph

127 Commits

Author SHA1 Message Date
Philippe Scorsolini ebcbec5ecf
chore: drop buf from deps
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2024-08-12 10:17:42 +02:00
Predrag Knezevic d049fcc2e9 Address reviewer comments
Signed-off-by: Predrag Knezevic <predrag.knezevic@upbound.io>
2024-04-19 15:47:18 +02: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
Philippe Scorsolini a69323df23
chore(deps): revert to buf 1.27.2 to avoid cel-go dependency ahead of k8s deps
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2024-01-30 10:08:10 +00:00
Philippe Scorsolini 82a275c817
chore: regenerate with protobuf 1.32.0
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2024-01-08 09:41:27 +00:00
Philippe Scorsolini 030db66b22
fix: regenerate with new buf version
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-11-14 10:10:47 +01:00
Nic Cope f0d05be088
Merge pull request #564 from phisco/conditions-schema-as-map
feat: add annotations to ConditionedStatus to make conditions a map
2023-09-28 09:47:20 -07:00
Philippe Scorsolini dbdff6e2ad
feat: add annotations to ConditionedStatus to make conditions a map
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-09-28 12:23:19 +02: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
Philippe Scorsolini d92a78f1fb
chore: regenerate after upgrade
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-08-18 12:19:49 +02:00
Hasan Turken 4a83a570ec
Remove in-tree Vault implementation
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2023-08-14 09:34:01 +03:00
Hasan Turken bb0d34b2cc
Merge pull request #456 from lsviben/granular_management_policies
Granular management policies
2023-07-14 17:41:56 +03:00
lsviben 73a675c82c
implement granular managementPolicies
Signed-off-by: lsviben <sviben.lovro@gmail.com>
2023-07-13 13:43:34 +02:00
Jared Watts 9cb5c3956c
chore: regenerate files
Signed-off-by: Jared Watts <jbw976@gmail.com>
2023-07-03 12:08:06 +02:00
Nic Cope 3de55a4a72 Update module github.com/imdario/mergo to v1
Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-06-22 00:26:15 -07:00
Nic Cope 331f5adcfc Update module google.golang.org/grpc/cmd/protoc-gen-go-grpc to v1.3.0
Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-06-22 00:25:47 -07:00
Philippe Scorsolini 767b052735
chore: bump github.com/bufbuild/buf
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-06-01 11:04:47 +02:00
Mateusz Puczyński 920e5b1ac6
bump sigs.k8s.io/controller-runtime to v0.15.0
Signed-off-by: Mateusz Puczyński <mati6095@gmail.com>
2023-05-26 17:29:45 +02:00
ezgidemirel 30ed28af9f
Deprecate in-tree Vault
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-30 11:03:09 +03: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
ezgidemirel 76fec039fb
simplified LoadMTLSConfig signature
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 17:18:33 +03:00
ezgidemirel b0785ed1ca
change store type, make tls config an option
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:06 +03:00
ezgidemirel 6d770a1106
remove unused messages from proto file
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:06 +03:00
ezgidemirel fc63b94eb5
Remove certificate loading to make it on upper layers, add unit tests
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:06 +03:00
ezgidemirel bbb004932c
Implement gRPC client
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:05 +03:00
ezgidemirel 80e0b0c662
Extend secret store API with "External" type
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:05 +03:00
ezgidemirel a1c142b7c6
Add External Secret Store proto files
Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
2023-03-22 13:00:04 +03:00
Philippe Scorsolini d8a21d394b
fix: add missing validation annotation
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2023-01-30 10:58:03 +01:00
Nic Cope bce61005a1
Merge pull request #355 from nokia/respect_finalizers
Support foreground cascading deletion
2022-10-11 18:39:34 -07:00
Bob Haddleton da77f4e104 Add blockOwnerDeletion: true and compositeDeletePolicy
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
2022-10-11 09:35:04 -05:00
Alper Rifat Ulucinar d5661c8fd6
Add support for a pause annotation which pauses reconciliations on managed resources
- If a managed resource has the "crossplane.io/paused" annotation with its value
  set to "true", then the managed reconciler emits an event indicating that
  further reconciliations on that resource are paused and returns early after
  setting a Synced status condition to false with the reason "ReconcilePaused".

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
2022-09-29 04:27:29 +03:00
Aditya Sharma 2fc4f2cd51 gofmt -s -l -w .
Signed-off-by: Aditya Sharma <git@adi.run>
2022-07-21 21:46:08 -07: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 79ea2fe449
Add comment for linter and use types.UID for uid parameter
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-15 10:29:23 +03:00
Hasan Turken 80debfade8
Fix owner not being set for delete
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-11 22:34:48 +03:00
Hasan Turken ff57cdc7c4
Ensure secret owned by object before delete
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-11 10:29:34 +03:00
Hasan Turken 86fb15da2c
Extend Secret Store interface with more power
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-10 18:10:52 +03:00
Hasan Turken 867c9bb8e8
Track connection secret owner with label
Signed-off-by: Hasan Turken <turkenh@gmail.com>
2022-03-10 09:56:04 +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