Commit Graph

139 Commits

Author SHA1 Message Date
Scott Nichols 6beb360454 Update managed reconciler to store observedGeneration on conditions and also update that controllers unit tests
Signed-off-by: Scott Nichols <n3wscott@upbound.io>
2025-05-09 10:58:39 -07:00
Scott Nichols 8c883197a9 Introduce a condtions package with a light weight manager to help enable coordinated condition updates
Signed-off-by: Scott Nichols <n3wscott@upbound.io>
2025-05-02 11:46:16 -07:00
Philippe Scorsolini c810db4116
fix: regenerate with buf 1.36.0
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2024-08-12 11:31:09 +02:00
Philippe Scorsolini 6bdfe33c1c
Merge pull request #755 from phisco/bump-buf-1.36.0
chore(deps): bump bufbuild/buf to 1.36.0
2024-08-12 11:12:11 +02:00
Philippe Scorsolini 65e3ac0c7e
Merge pull request #733 from crossplane/renovate/master-google.golang.org-protobuf-1.x
fix(deps): update module google.golang.org/protobuf to v1.34.2 (master)
2024-08-12 11:07:04 +02:00
Philippe Scorsolini cf1cac2008
chore(deps): bump bufbuild/buf to 1.36.0
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
2024-08-12 10:27:20 +02:00
Jared Watts 64763a22ad
feat: change logs protobuf/gRPC definitions
Signed-off-by: Jared Watts <jbw976@gmail.com>
2024-08-11 20:26:55 -07:00
dalton hill 2d6e2aeecd Composite receiver functions for conditions.
Signed-off-by: Dalton Hill <dalton.hill.0@protonmail.com>
2024-06-26 10:36:39 -05:00
crossplane-renovate[bot] 1f2a667f8c
fix(deps): update module google.golang.org/protobuf to v1.34.2 2024-06-12 08:05:46 +00:00
Nic Cope ac285ed3c0 Configure buf for BSR pushes
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-05-29 18:05:11 -07:00
Nic Cope f50dd7dabc Ignore buf linter warning about incorrect package
Changing this package would be a breaking change.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-05-29 16:00:23 -07:00
Nic Cope 8aa1c03caa Don't include buf as a dependency
It requires a newer cel-go dependency than the Kubernetes dependencies,
which makes updating them difficult.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-05-17 12:21:33 -07:00
Nic Cope 88ae9393e6 Bump protobuf and Kubernetes dependencies
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-05-17 12:21:33 -07: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