1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
Commit graph

216 commits

Author SHA1 Message Date
Gustavo Carvalho
03afd1099c Adding inline comments explaining log functionality
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
2021-11-01 17:53:59 -03:00
Gustavo Fernandes de Carvalho
b8ba78d1b1 Added log for first secret reconciliation after errors
Fixes #444

Signed-off-by: Gustavo Fernandes de Carvalho <gustavo.carvalho@container-solutions.com>
2021-10-25 16:29:22 -03:00
Eduardo Lima
ff90d4eb44
Removing "map" from test const name 2021-10-21 14:46:47 -03:00
Lucas Severo Alves
c00afc9ff7
Merge pull request #329 from FGA-GCES/feat/immutable-secrets
Add immutable secrets
2021-10-12 18:20:23 +02:00
Eduardo Vieira
c68e00ce0c Creating map-foo and bar const for testing 2021-10-07 10:55:04 -03:00
Eduardo Vieira
b2b6b5255d Defining targetProp const for reutilization 2021-10-07 10:50:27 -03:00
Eduardo Vieira
3d5c0b54e6 Changing expectedSecretValue declaration scope 2021-10-07 10:43:59 -03:00
Eduardo Vieira
7502e2c557 Adding FakeManager and test-secret const for testing 2021-10-07 10:39:13 -03:00
Arthur
0990f29876 Merge branch 'feat/immutable-secrets' of github.com:FGA-GCES/external-secrets into feat/immutable-secrets 2021-10-06 21:24:50 -03:00
Arthur
1f5978eb13 add tests for controller reconciling logic 2021-10-06 21:23:41 -03:00
Mateus Oliveira Patrício
b16d4389b9 refactor: remove unnecessary convert 2021-09-22 23:57:36 +02:00
Mateus Oliveira Patrício
b2adb77f1b fix: syncWithoutTargetName test case 2021-09-22 23:57:36 +02:00
Mateus Oliveira Patrício
42a658c2b1 WiP: no target name unit test 2021-09-22 23:57:36 +02:00
Arthur
9f2a17f220 Merge branch 'main' into feat/immutable-secrets 2021-09-22 14:20:35 -03:00
Arthur
4de31e9d4d stopping reconciling for immutable secrets based on es conditions 2021-09-17 21:37:21 -03:00
Moritz Johner
ce02f98db9 fix: add explicit test for using dataFrom + template 2021-09-10 16:07:39 +02:00
Alexander Chernov
280964f84e
fix: dependent kind=secret are not recreated in case of deletion. (#349)
* chore: whitespace, typos, superflous aliases

* fix: deleted child secret is not recreated straight away.

* fix: e2e run
2021-09-09 11:14:17 +02:00
Arthur
8417b34d26 make reconciling stop if es is synced and immutable 2021-09-08 20:44:23 -03:00
Moritz Johner
059c54bc53 fix: allow using tpl metadata 2021-09-02 18:14:03 +02:00
Arthur
e32353c8a4 fixing tests for immutable secret 2021-08-26 15:05:15 -03:00
zamysel
0dc8842b85 Merge branch 'main' into lockbox 2021-08-25 11:23:15 +03:00
paul-the-alien[bot]
201e43f4af
Merge pull request #327 from spirosoik/fix/iss-315
Fix the issue for non deleting one/more key-value pair
2021-08-20 15:26:37 +00:00
Mateus Oliveira Patrício
6655ed120e fix: use es name if target secret is empty 2021-08-19 18:43:34 -03:00
Arthur
c8315865a1 add immutable field on ExternalSecretTarget and on v1.Secret creation
Co-authored-by: mouhsen-ibrahim <mouhsen.ibrahim@gmail.com>
2021-08-18 19:55:10 -03:00
Spiros Economakis
73ec3a5368
Fix the issue for non deleting one/more key-value pair
The issue is that the `dataMap` from the provider returns only the remaining data
and we were updating partially the current `secretMap` only for the keys included
in the new value.

Ticket: #315
2021-08-18 14:30:20 +03:00
zamysel
7017935888 Add support for Yandex Lockbox 2021-08-12 20:05:02 +03:00
Spiros Economakis
f1829f0445
Set the metric when is deleted to condition deleted and false (#306)
* Set the metric when is deleted to condition deleted and false

When a metrics is deleted metrics are still shown ready and condition true.
In practice this gives the wrong monitoring as the external secret in practice
is deleted.

Issue: #231

* Fix name and namespace for the metric of deletion
2021-08-07 23:40:26 +02:00
Moritz Johner
49fbf72bf6 fix: zero refreshInterval shouldn't sync 2021-08-02 22:48:13 +02:00
Moritz Johner
8e61b49c82 fix: resource leak 2021-07-28 09:45:25 +02:00
Moritz Johner
59a851c941 feat(ctrl): implement creationPolicy=Merge/None 2021-07-12 18:45:44 +02:00
Moritz Johner
6d2f3dd7b1 fix(template): fix templateFrom tpl execution 2021-07-10 17:51:16 +02:00
Moritz Johner
73ca014cfb feat: implement templateFrom 2021-06-28 21:29:09 +02:00
paul-the-alien[bot]
f4dd6d547a
Merge pull request #217 from ContainerSolutions/gcp_property
feat: add property feature to gcp
2021-06-25 21:46:49 +00:00
Moritz Johner
5ac02ed2c4 feat: add synced resource version status 2021-06-25 21:23:29 +02:00
Lucas Severo Alves
01267ea6aa fix: close method for conections that need closing 2021-06-25 16:13:02 +02:00
Elsa Chelala
30d2c8648c Added changes to the Reconcile function documentation 2021-06-23 09:36:37 -04:00
Elsa Chelala
776ef0d27b dded doc strings and comments for the controllers package 2021-06-21 13:12:06 -04:00
Moritz Johner
7f07c712ac chore: refactor es ctrl tests 2021-05-23 13:41:42 +02:00
Moritz Johner
e5d6e30d00 fix: template data should be string, fix update mechanics 2021-05-20 08:46:22 +02:00
Moritz Johner
6b14f3ac03 fix: ensure condition errors do not change with every req 2021-05-03 22:29:26 +02:00
Moritz Johner
f49de4f887 fix: update condition when error message changes
fixes #116
2021-05-03 22:28:19 +02:00
paul-the-alien[bot]
4de378f939
Merge pull request #120 from external-secrets/feat/e2e-tests
feat: e2e tests
2021-04-28 15:57:39 +00:00
paul-the-alien[bot]
682edff175
Merge pull request #119 from cnmcavoy/cnmcavoy/vault-cluster-secret-store
Add support for cluster secret store with the vault provider
2021-04-27 15:49:49 +00:00
Moritz Johner
3d53b64303 fix: metrics tests 2021-04-25 16:29:25 +02:00
Moritz Johner
8c8064e0e1
Draft: feat: implement template (#69)
* feat: implement template
2021-04-23 08:22:23 +02:00
Jonatas Baldin
b8fda4387d
Merge pull request #110 from external-secrets/metrics-first-iteration
Add first iteration of custom metrics
2021-04-22 18:35:35 +02:00
Cameron McAvoy
4d3faf70a1 Add support for cluster secret store with the vault provider 2021-04-20 18:47:28 -05:00
Jonatas Baldin
8eb569fc92 Remove uneceassary comment 2021-04-15 12:00:06 +02:00
Jonatas Baldin
866411997a Fix flaky tests (I hope!) 2021-04-14 17:18:14 +02:00
Jonatas Baldin
be51883506 Fix lint errors 2021-04-14 17:02:02 +02:00
Jonatas Baldin
90137df9a0 Remove controller predicate, add externalSecretCondition metric 2021-04-14 16:51:31 +02:00
Jonatas Baldin
07e81f262c Fix "File is not gci-ed" lint error 2021-04-12 17:51:51 +02:00
Jonatas Baldin
d7fced6310 Rename sync_calls_total and sync_calls_error variables to adhere coding style 2021-04-12 17:23:41 +02:00
Jonatas Baldin
80f6376d2c Add first iteration of custom metrics 2021-04-12 17:07:43 +02:00
Kellin McAvoy
6318811108 Cleanup and remove kustomize manifests in favor of Helm chart 2021-04-08 13:56:11 -05:00
Moritz Johner
640978ca9e
feat: awssm refactoring (#57)
* fix: refactor awssm provider
2021-03-10 11:43:25 +01:00
Moritz Johner
ad686d4b50
feat: refactor provider / secretsclient interface (#55)
* feat: refactor provider / secretsclient interface

see #53
2021-03-08 14:20:58 +01:00
Moritz Johner
a017255464
fix: validate refresh interval, refresh externalsecret (#48)
* fix: refresh es
2021-03-05 23:58:08 +01:00
Moritz Johner
53cc579ee8
fix: ssm may respond with nil SecretString (#41)
also: support nested json keys like foo.bar
details here: https://github.com/tidwall/gjson
2021-02-26 09:11:16 +01:00
Moritz Johner
92be45df6a
add awssm support (#34)
* feat: add awssm

fixes #26
2021-02-24 20:01:28 +01:00
Moritz Johner
89c56c269f
feat: status conditions (#25)
* feat: implement es ready condition

Co-authored-by: Kellin <kellinmcavoy@gmail.com>
2021-02-15 21:51:38 +01:00
Moritz Johner
adb4de943d chore: update dependencies 2021-02-06 13:16:36 +01:00
Lucas Severo Alves
60aaecf76b Linter fixes 2021-01-27 12:44:25 +01:00
Lucas Severo Alves
04f3dd4119 Merge branch 'main' into add-main-controller-logic 2021-01-27 12:18:11 +01:00
Lucas Severo Alves
3227e730f1 Change dir structure and adapt 2021-01-27 12:08:28 +01:00
Kellin McAvoy
3fd7586033 move controller into pkg 2021-01-07 12:50:59 -05:00