Commit Graph

813 Commits

Author SHA1 Message Date
Richard Wall
4cec43bf93 Add metrics server to the cainjector
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-07-23 12:35:50 +01:00
cert-manager-prow[bot]
c746fdf356
Merge pull request #7161 from wallrj/7147-cainjector-metadata-only-cache
Reduce memory usage by only caching the metadata of Secret resources
2024-07-12 10:31:19 +00:00
Ashley Davis
8c182d73f1
fix GHSA-xr7q-jx4m-x55m
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-07-10 11:01:15 +01:00
Richard Wall
15084fd5b8 make go-tidy
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-07-10 10:07:18 +01:00
Richard Wall
8f9ccf3b42 Reduce memory usage by only caching the metadata of Secret resources
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-07-10 10:07:18 +01:00
Ashley Davis
817a2bfd21
bump go-retryablehttp to address CVE-2024-6104
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-06-25 11:15:52 +01:00
Tim Ramlot
a6f7d5defa
Bump the go_modules group across 2 directories with 1 update
Bumps the go_modules group with 1 update in the / directory: [github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser).
Bumps the go_modules group with 1 update in the /cmd/controller directory: [github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser).

Updates `github.com/vektah/gqlparser/v2` from 2.5.11 to 2.5.15
- [Release notes](https://github.com/vektah/gqlparser/releases)
- [Commits](https://github.com/vektah/gqlparser/compare/v2.5.11...v2.5.15)

Updates `github.com/vektah/gqlparser/v2` from 2.5.11 to 2.5.15
- [Release notes](https://github.com/vektah/gqlparser/releases)
- [Commits](https://github.com/vektah/gqlparser/compare/v2.5.11...v2.5.15)

---
updated-dependencies:
- dependency-name: github.com/vektah/gqlparser/v2
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: github.com/vektah/gqlparser/v2
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 14:10:20 +02:00
Tim Ramlot
54413af098
upgrade go dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-06-13 20:08:15 +02:00
Tim Ramlot
b03c61b6be
run 'make tidy && make update-licenses'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-06-13 16:10:58 +02:00
dependabot[bot]
b7c45631eb
Bump the go_modules group across 2 directories with 1 update
Bumps the go_modules group with 1 update in the / directory: [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go).
Bumps the go_modules group with 1 update in the /cmd/controller directory: [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go).


Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.2...sdk/azcore/v1.6.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.2...sdk/azcore/v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 20:21:55 +00:00
Tim Ramlot
18b701b73e
overhaul of startupapicheck: add checks that mutation and validation work and add extensive testing
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-30 15:54:08 +02:00
Tim Ramlot
985607b08c
if list of controllers only contains disabled controllers, implicitly enable all default controllers
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-24 09:03:15 +02:00
cert-manager-prow[bot]
a26a0a856f
Merge pull request #6821 from inteon/bump_deps
Bump all dependencies
2024-05-21 09:06:59 +00:00
Tim Ramlot
3c68831994
expand comment explaining replace statement
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-21 10:30:03 +02:00
Tim Ramlot
9483f5ddc2
upgrade dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-17 14:33:18 +02:00
Tim Ramlot
b4dc162156
Complete validation logic for config API and obtain 100% coverage for its tests.
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-14 17:31:37 +02:00
Tim Ramlot
cfe974b775
deduplicate shared config API structs
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-14 09:28:10 +02:00
Tim Ramlot
81232c2fe3
revert in-tree ParseDN function now that upstream ParseDN function has been fixed
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-09 21:41:09 +02:00
Tim Ramlot
1248be8bba
add contextcheck linter exceptions
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-07 12:37:04 +02:00
Tim Ramlot
52320fbeea
fix contextcheck linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-07 12:19:41 +02:00
Tim Ramlot
d6404482e3
fix loggercheck linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 16:48:59 +02:00
Tim Ramlot
ae98ba806b
fix gocritic linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 15:50:47 +02:00
Tim Ramlot
a8b5178fc5
fix dupword linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 13:47:25 +02:00
Tim Ramlot
9db044b232
fix gci linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 13:47:25 +02:00
Erik Godding Boye
8f99f40cbb
Upgrade K8s dependencies to v0.30.0
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
2024-04-28 13:02:36 +02:00
Adam Talbot
a7f089b64c feat: graduate gateway-api to beta and enable by default
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-04-25 17:05:58 +01:00
Ashley Davis
be3ac3d1a4
bump /x/net to fix CVE-2023-45288
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-22 12:50:28 +01:00
Tim Ramlot
74ef76a142
run 'make generate'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-19 18:44:06 +02:00
dependabot[bot]
8bef1c9583
Bump the go_modules group across 7 directories with 1 update
Bumps the go_modules group with 1 update in the /cmd/acmesolver directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /cmd/cainjector directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /cmd/controller directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /cmd/startupapicheck directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /cmd/webhook directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/e2e directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/integration directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

Updates `golang.org/x/net` from 0.21.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:10:00 +00:00
Richard Wall
6e784bb6f4 make update-licenses
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-03-14 14:51:38 +00:00
Richard Wall
4314c3ae78 Bump github.com/go-jose/go-jose to v3.0.3 to fix CVE-2024-28180
find . -name go.mod -execdir go get github.com/go-jose/go-jose/v3@v3.0.3 \;
make tidy

Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-03-14 14:23:41 +00:00
Tim Ramlot
23373e4323
correctly initialize loggers, create contexts and pass contexts
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-08 14:32:31 +01:00
Tim Ramlot
e0392eac5d
run 'make update-licenses'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-07 13:58:26 +01:00
Tim Ramlot
531e1e46c7
bump google.golang.org/protobuf fixing GO-2024-2611
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-07 13:52:17 +01:00
Tim Ramlot
6c6d18d0b8
remove the github.com/pkg/errors as a direct dependency
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-22 19:52:00 +01:00
Tim Ramlot
a2b3cc81c3
stop using github.com/go-ldap/ldap/v3 ParseDN and use a custom ParseDN function instead
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-20 08:34:53 +01:00
Tim Ramlot
012794e891
upgrade dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-17 10:33:31 +01:00
Tim Ramlot
b9a216cdfc
Simplify webhook and switch Webhook to controller-runtime.
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-12 10:55:32 +01:00
Tim Ramlot
893d30d938
migrate to github.com/aws/aws-sdk-go-v2
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-08 17:15:28 +01:00
Adam Talbot
a8bb63f0fc fix: move server package out of internal
Currently the TLS code here is imported by the approver-policy project. Long term we should break this code out to a new package, for now we can just move it out internal to unblock our ability to update the approver-policy imports.

Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-02-07 11:31:17 +00:00
Tim Ramlot
9a1913f922
run 'make update-licenses'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-28 11:00:00 +01:00
Tim Ramlot
8f5d3aa58c
upgrade and cleanup dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-28 10:59:23 +01:00
Tim Ramlot
7b94868513
remove cmctl from this repo
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-24 16:15:34 +01:00
Richard Wall
8189bc1c61 Update cmd/ctl's go.mod to v1.14.0-alpha.1
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-12 15:26:04 +00:00
Tim Ramlot
9a049532d0
Update Azure SDK and remove deprecated autorest dependency
Co-authored-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2024-01-12 12:06:34 +01:00
Richard Wall
aa49a16e14 Use x509.ParseRevocationList instead of deprecated x509.ParseCRL
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-11 16:40:01 +00:00
jetstack-bot
a1c134e78c
Merge pull request #6574 from ThatsMrTalbot/tls-metrics-endpoint
feat: add tls to metrics endpoint
2024-01-10 14:48:17 +00:00
Richard Wall
a2b5ef4ac7 make update-licenses
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-09 13:56:35 +00:00
Adam Talbot
d27fcc2762 refactor: refactored metrics server code into internal package
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-01-04 15:49:25 +00:00
jetstack-bot
24d0fddec5
Merge pull request #6593 from inteon/use_slices
Use slices go library
2024-01-04 13:36:02 +00:00