1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
Commit graph

2256 commits

Author SHA1 Message Date
Matthew Hembree
6a2a050928
feat: add RBAC rules for user-facing ClusterRoles (#2286)
Signed-off-by: Matthew Hembree <matthew_hembree@yahoo.com>
2023-05-03 22:32:24 +02:00
Moritz Johner
99a691f804
feat: add hostNetwork option for controller/certController in helm chart (#2269)
Signed-off-by: Moritz Johner <Moritz.Johner@form3.tech>
2023-05-02 22:00:00 +02:00
Moritz Johner
6130c8f43b
chore: update deps (#2283)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-05-02 21:37:54 +02:00
Dominik Zeiger
035ff38172
🐛 Gitlab: separate gitlab client and provider (#2259)
* Gitlab: separate gitlab client and provider

Signed-off-by: Dominik Zeiger <dominik@zeiger.biz>

* Gitlab: cleanup

Signed-off-by: Dominik Zeiger <dominik@zeiger.biz>

* Gitlab: formatter

Signed-off-by: Dominik Zeiger <dominik@zeiger.biz>

* fix: lint / goheader

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Dominik Zeiger <dominik@zeiger.biz>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-05-02 20:15:57 +02:00
Benny
4478fccf9b
Add MBTI as adopter (#2265)
Added Mercedes-Benz Tech Innovation to the list of adopters, as we use the project in at least one of our projects.

Benjamin Bertow benjamin.bertow@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH.
https://github.com/mercedes-benz/foss/blob/master/PROVIDER_INFORMATION.md

Signed-off-by: Benny <benjamin.bertow@mercedes-benz.com>
2023-04-27 05:59:54 -03:00
Sebastián Gómez
fc7281a39b
Added examples for all the Generators in the docs. Fixes #2260 (#2261)
Also, some generators's examples didn't have the `.metadata.name` property.

Signed-off-by: Sebastián Gómez <sebastiangomezcorrea@gmail.com>
2023-04-26 17:00:14 -03:00
dependabot[bot]
59ca28db5f
chore(deps): bump actions/setup-python from 4.5.0 to 4.6.0 (#2251)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 19:45:49 +02:00
Gareth Evans
524fe2344d
chore: adding VMware Tanzu to the adopters list (#2262)
Signed-off-by: Gareth Evans <gareth@bryncynfelin.co.uk>
2023-04-26 12:31:13 -03:00
Moritz Johner
6c4bbb2e9c
fix: certController misses leases RBAC to enable leader election (#2258)
Signed-off-by: Moritz Johner <Moritz.Johner@form3.tech>
2023-04-26 15:10:15 +02:00
Sebastián Gómez
81b9546e0f
Password yaml was missing the name (#2256)
I also thought it could be usefull to provide an External Secret that uses the Password from the example

Signed-off-by: Sebastián Gómez <sebastiangomezcorrea@gmail.com>
2023-04-25 21:05:22 +02:00
Alexandre Desjardins
2cf9203142
feat(helm): use good securityContext by default (#2250)
* feat(helm): use good securityContext by default

Signed-off-by: Alexandre Desjardins <alexandre.bd@tutanota.com>

* update helm tests in line with default securityContext

Signed-off-by: Alexandre Desjardins <alexandre.bd@tutanota.com>

---------

Signed-off-by: Alexandre Desjardins <alexandre.bd@tutanota.com>
2023-04-24 20:34:43 +02:00
Sam Hopwell
0b9f33e5f7
Add topologySpreadConstraints config (#2237)
Signed-off-by: Sam Hopwell <sam.hopwell@cybsafe.com>
2023-04-24 13:28:29 +02:00
Moritz Johner
6e1bde384a
fix: re-generate helm test fixtures (#2249)
* fix: update helm test fixtures

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* fix: helm workflow should run when CRDs change

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-04-23 21:27:55 +02:00
Iavael
d79b068dd5
Fix scaleway config validation in ClusterSecretStore (#2247)
Signed-off-by: Iavael <iavael@users.noreply.github.com>
2023-04-23 00:14:10 +02:00
Moritz Johner
d605a5b450
chore: update deps (#2227)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-04-16 15:42:44 +02:00
Isaac
f3c5888bd5
[Documentation] Align getting started documents regarding CRDs with actuality (installCRDs is true by default) (#2225)
Signed-off-by: Isaac Hui <ihui@dropbox.com>
2023-04-16 14:55:05 +02:00
dependabot[bot]
4345a7180e
chore(deps): bump golang from 1.20.2-alpine to 1.20.3-alpine (#2211)
Bumps golang from 1.20.2-alpine to 1.20.3-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-16 14:53:02 +02:00
Maxim Rubchinsky
59f5759106
Add Alibaba RRSA auth support (#1752)
support alibaba oidc assume role

---------

Signed-off-by: Maxim Rubchinsky <maxim.rubchinsky@wiz.io>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-04-16 14:12:30 +02:00
charan986
5e7184dd26
Added GJSON pkg support extracting secret key value from JSON (#2201)
Signed-off-by: charan986 <51893702+charan986@users.noreply.github.com>
2023-04-12 17:59:38 +02:00
JJ Łakis
34892e7e52
Add blog post about GCP with on-prem (#2206)
Signed-off-by: JJ Łakis <mlody3k@gmail.com>
2023-04-06 12:04:39 +02:00
Moritz Johner
4d420d498a
chore: bump deps (#2203)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-04-05 21:15:18 +02:00
Kratik Jain
f931c6a6da
Helm: Enabled Modifying namespace of ServiceMonitors (#2190)
* Added namespace in ServiceMonitor

Signed-off-by: Kratik Jain <kratik1998@gmail.com>

* Added namespace in values.yaml for ServiceMonitor

Signed-off-by: Kratik Jain <kratik1998@gmail.com>

* chore: gen helm docs

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* fix: update test

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Kratik Jain <kratik1998@gmail.com>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <moolen@users.noreply.github.com>
2023-04-05 21:14:25 +02:00
Matthias Baetens
eedd90c567
Fix Google Cloud Secret Manager typo (#2196)
See [issue](https://github.com/external-secrets/external-secrets/issues/2195)

Signed-off-by: Matthias Baetens <baetensmatthias@gmail.com>
2023-04-05 20:26:50 +02:00
choilmto
5267c6ee5d
Implement and test logic for external id field when assuming IAM role for AWS (#2023)
Added external id field to struct. Wrote test in AWS provider to check
external ID field in IAM role. Added external id info to current log
when starting an aws session.

Signed-off-by: Cindy <choilmto@gmail.com>
2023-04-05 20:08:13 +02:00
kallymsft
fb78d96d8c
Added support for standard K8s labels in metrics (#2064)
* Added support for standard K8s labels in metrics

Signed-off-by: KA <110458464+kallymsft@users.noreply.github.com>

* Added feature-flag for label metrics

Signed-off-by: KA <110458464+kallymsft@users.noreply.github.com>

---------

Signed-off-by: KA <110458464+kallymsft@users.noreply.github.com>
2023-04-05 19:58:17 +02:00
Moritz Johner
34ea2b035c
chore: bump deps (#2183)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-29 23:08:21 +02:00
dependabot[bot]
e59d8dc096
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0 (#2169)
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: helm/chart-testing-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 19:11:47 +02:00
dependabot[bot]
585b97c0e1
chore(deps): bump actions/stale from 7 to 8 (#2168)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 19:10:30 +02:00
Moritz Johner
8edc033fba
fix: vault logging structure (#2180)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-28 22:37:56 +02:00
Moritz Johner
b7fae518a7
fix: change meeting time (#2154)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-25 00:47:10 +01:00
Moritz Johner
b2269ee3fb
dashboard variable (#2153)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-22 22:32:31 +01:00
Moritz Johner
e7088937f4
update deps & fix dashboard json (#2148)
* fix: export grafana dashboard properly

The dashboard JSON must be exported via the share UI, instead of the
JSON Model from settings.
This allows a user to select the correct datasource when importing it
via UI.

see here: https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/#exporting-a-dashboard

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* chore: bump deps

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-21 00:09:04 +01:00
dependabot[bot]
3dc39d7b49
chore(deps): bump helm/kind-action from 1.2.0 to 1.5.0 (#2140)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.2.0 to 1.5.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.2.0...v1.5.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 23:34:28 +01:00
Gustavo Fernandes de Carvalho
ad67363751
Implements template MergePolicy. Fixes a few template merging bugs (#2115)
Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
2023-03-20 19:22:30 -03:00
dependabot[bot]
717746c76f
chore(deps): bump actions/setup-go from 3 to 4 (#2141)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 23:00:25 +01:00
Márk Sági-Kazár
bb44582ef6
Add FOSDEM23 talk (#2133)
Signed-off-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
2023-03-20 22:57:05 +01:00
Shuhei Kitagawa
07f237e071
Support MetadataPolicy=Fetch for GCP Secrets Manager (#2111)
* Support MetadataPolicy=Fetch for GCP Secrets Manager

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

* Use '.' instead of '/' to split metadata

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

* Support annotations/labels

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

---------

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>
2023-03-20 22:27:59 +01:00
Sebastián Gómez
ee13e61645
Implement fetch metadata for K8s (#2106)
* Implemente fetch metadata for K8s

Signed-off-by: Sebastián Gómez <sebastiangomezcorrea@gmail.com>
2023-03-20 21:56:17 +01:00
Thibault Cohen
6c070bb538
Add bitwarden example (#2139)
* Add bitwarden example

Signed-off-by: Thibault Cohen <47721+titilambert@users.noreply.github.com>

* Fix bitwarden docs

Signed-off-by: Thibault Cohen <47721+titilambert@users.noreply.github.com>

* fix: punctuation, newline for bullet list

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Thibault Cohen <47721+titilambert@users.noreply.github.com>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-20 21:47:47 +01:00
Gustavo Fernandes de Carvalho
71e7aa4ede
chore: bump 0.8.1 (#2138)
Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
2023-03-17 20:38:02 -03:00
Gustavo Fernandes de Carvalho
a0d2aef2e3
🐛 fixing servicemonitor bug in 0.8.0 (#2136)
* fix: removing service monitor duplicate definition

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

* Adding new command to a helm release

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

* Adding also servicemonitor.yaml fixes

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

---------

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
2023-03-17 19:59:24 -03:00
Gustavo Fernandes de Carvalho
b9297c3502
🧹 bump 0.8.0 (#2134)
* chore: bump 0.8.0

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

* Adding command to update crds snapshot. Updating CRDs snapshot and test snapshot

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

---------

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
2023-03-16 20:31:30 -03:00
Aleksey Zhukov
a3f43c629c
Fix typo in docs link: odic -> oidc (#2132) 2023-03-16 22:43:40 +01:00
Moritz Johner
c6309dac2e
feat: add helm unit tests (#2113)
* feat: add helm unit tests

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* docs: add install instructions for helm-unittest

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-16 01:05:03 +01:00
azert9
f181500e98
Feature/scaleway provider (#2086)
* wip: basic structure of scaleway provider

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: add some tests for GetAllSecrets

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: implement PushSecret

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: improved test fixtures

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: allow finding secrets by project using the path property

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: add delete secret method

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* Delete dupplicate of push remote ref test implem

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: add capability to use a secret for configuring access token

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: implement GetSecretMap

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: filtering by name and projetc id

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: add test for finding secret by name regexp

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: config validation

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* fix: handle situation where no namespace is specified and we cannot provide a default

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: reference secrets by id or name

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* fix: invalid request caused by pagination handling

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: log the error when failing to access secret version

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* fix: pass context to sdk where missing

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: add a cache for reducing AccessSecretVersion() calls

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* refacto: use GetSecret with name instead of ListSecrets

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: allow using secret name in ExternalSecrets

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: use latest_enabled instead of latest

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* refacto: optimized PushSecret and improved its test coverage

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* fix: doesConfigDependOnNamespace was always true

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: use new api with refactored name-based endpoints

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* remove useless todo

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* fix: use secret names as key for GetAllSecrets

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: support gjson propery lookup

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: e2e tests

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: e2e test using secret to store api key

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: cleanup left over resources on the secret manager before each e2e run

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* doc: add doc for scaleway provider

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* refacto: fix lint issues

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* test: cleanup code in e2e was commented

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: the previous version is disabled when we push to a secret

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* doc: add comments to ScalewayProvider struct to point to console and doc

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>

* feat: add missing e2e env vars for scaleway

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* docs: add scaleway to support/stability table

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Julien Loctaux <no.mail@jloc.fr>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-16 01:03:52 +01:00
Moritz Johner
7980d55557
feat: add keeper security, promote kubernetes provider to beta (#2127)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-13 23:05:37 +01:00
Moritz Johner
05dacdc104
chore: update docs for release (#2126)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-13 22:31:29 +01:00
Moritz Johner
7edfff81e3
chore: bump dependencies (#2124)
* chore: bump dependencies

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* fix: msal api breaking change

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-13 22:17:48 +01:00
dependabot[bot]
9f7a03b326
chore(deps): bump golang from 1.20.1-alpine to 1.20.2-alpine (#2116)
Bumps golang from 1.20.1-alpine to 1.20.2-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 21:22:36 +01:00
Kristián Leško
be0c946b10
docs: add HashiCorp Vault Generator documentation (#2123)
* docs: add HashiCorp Vault Generator documentation

Document the Vault dynamic secrets Generator from #2074.

Signed-off-by: Kristián Leško <kristian.lesko@gooddata.com>

* fix: add vault generator to nav

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Kristián Leško <kristian.lesko@gooddata.com>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-03-13 21:22:00 +01:00