Commit Graph

8647 Commits

Author SHA1 Message Date
Jason Costello
610a066fef Adding missing boilerplate
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-21 15:12:02 -04:00
Jason Costello
b363fd9b3f Applying API default tests to rest of configuration modules
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-21 09:15:38 -04:00
Jason Costello
046027a556 Merge branch 'master' into 6817-api-defaults-tests
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-20 16:07:34 -04:00
cert-manager-prow[bot]
a9166a8af4
Merge pull request #6920 from inteon/add_missing_verify-licenses
Add missing verify-licenses target
2024-04-19 20:10:26 +00:00
Tim Ramlot
bc42af75e9
Merge pull request #6919 from inteon/upgrade_klone
Run 'make upgrade-klone', fixing the self-upgrade script
2024-04-19 20:48:20 +01:00
Tim Ramlot
58affa8e9d
add missing verify-licenses target
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-19 19:19:55 +02:00
cert-manager-prow[bot]
d1869fc934
Merge pull request #6917 from cert-manager/dependabot/go_modules/cmd/acmesolver/go_modules-92559edd5f
Bump the go_modules group across 7 directories with 1 update
2024-04-19 17:15:25 +00: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
cert-manager-prow[bot]
8368187bdc
Merge pull request #6918 from SgtCoDFish/baseimages
re-add removed targets, update base images
2024-04-19 16:30:25 +00:00
Tim Ramlot
78d44286fb
run 'make generate'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-19 18:24:54 +02:00
Tim Ramlot
da60405b21
run 'make upgrade-klone'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-19 18:12:12 +02:00
Ashley Davis
5b4bedfa39
re-add removed targets, update base images
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-19 16:24:05 +01:00
cert-manager-prow[bot]
9c752a17e9
Merge pull request #6913 from SgtCoDFish/better-error-issuerref
Better error issuerref
2024-04-19 15:15:26 +00:00
Ashley Davis
828b8f6ce9
improve error message for common error when configuring external issuers
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-19 15:08:40 +01: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
cert-manager-prow[bot]
9043facd2e
Merge pull request #6912 from SgtCoDFish/validation-refactor
Minor validation refactoring
2024-04-19 12:10:25 +00:00
cert-manager-prow[bot]
4535d17770
Merge pull request #6915 from SgtCoDFish/readd-tidy
re-add mistakenly removed make tidy target
2024-04-19 11:49:25 +00:00
cert-manager-prow[bot]
6d6aebb602
Merge pull request #6914 from inteon/dynamic_source_bugfix
BUGFIX: Dynamic source CI test failures
2024-04-19 10:36:44 +00:00
Ashley Davis
8f54e130bd
re-add mistakenly removed make tidy target
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-19 11:26:00 +01:00
Tim Ramlot
f5a73a9ead
fix bug in dynamic source
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-19 11:50:39 +02:00
cert-manager-prow[bot]
bc7a23da1f
Merge pull request #6911 from inteon/makefile_bugfix
Makefile bugfix
2024-04-19 09:16:44 +00:00
Tim Ramlot
8ee7ada5fa
running make in a make target causes concurrent download of dependencies yielding broken files and downloads
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-18 14:43:40 +02:00
Ashley Davis
61710e3c55
add explicit test of external issuers
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 13:14:21 +01:00
Ashley Davis
b8e40825ce
add comments explaining issuerRef validation logic
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 13:04:46 +01:00
Ashley Davis
0f5689e120
replace custom pointer functions with k8s ptr.To
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 12:52:01 +01:00
Ashley Davis
288fd1cc2e
organize imports
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 12:51:46 +01:00
Ashley Davis
8e70778f4f
use existing object in more tests
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 12:43:08 +01:00
Ashley Davis
01cf2d4155
rename some certificate validation tests and test explicit default group
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-04-18 12:42:29 +01:00
cert-manager-prow[bot]
d466fa2a6d
Merge pull request #6904 from cert-manager/dependabot/github_actions/all-421975538a
Bump the all group with 3 updates
2024-04-16 08:36:26 +00:00
dependabot[bot]
487c79e9b3
Bump the all group with 3 updates
Bumps the all group with 3 updates: [ossf/scorecard-action](https://github.com/ossf/scorecard-action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `ossf/scorecard-action` from 2.0.6 to 2.3.1
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...0864cf1902)

Updates `actions/upload-artifact` from 3.0.0 to 4.3.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6673cd052c...5d5d22a312)

Updates `github/codeql-action` from 1.0.26 to 3.25.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f53256358...df5a14dc28)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 16:18:58 +00:00
jetstack-bot
480a45ddb2
Merge pull request #6749 from inteon/use_makefile_modules
Move tools and generate/ verify to Makefile modules
2024-04-15 18:18:21 +02:00
Jason Costello
f447eb1876 Fixing from goimports
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-11 18:00:12 -04:00
Jason Costello
2e30c87d31 Fixing boilerplate on test
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-11 17:29:22 -04:00
Jason Costello
bcac7c43cc Tidying test + update defaults mode
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-11 17:18:18 -04:00
Tim Ramlot
01b298a580
move to Makefile modules
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-10 18:53:40 +02:00
jetstack-bot
d073db1648
Merge pull request #6875 from SgtCoDFish/dodo
Limit DigitalOcean records for cleanup to TXT only
2024-04-10 15:31:22 +02:00
jetstack-bot
27c201f285
Merge pull request #6888 from ThatsMrTalbot/chore/add-thatsmrtalbot-as-approver
Add @ThatsMrTalbot as approver
2024-04-10 11:42:21 +02:00
Jason Costello
a7e5df7182 Adding API defaults unit test + testfile fixture
Signed-off-by: Jason Costello <jason@jsnc.tl>
2024-04-08 18:27:46 -04:00
Adam Talbot
4c0536c1c3 chore: add @ThatsMrTalbot as approver
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-04-08 15:07:28 +01:00
jetstack-bot
b61de55abd
Merge pull request #6865 from wallrj/5803-cert-manager-user-agent-venafi-issuer
Add user-agent header in requests to Venafi API
2024-03-27 15:33:00 +01:00
Ashley Davis
d17c9cc513
limit DigitalOcean records for cleanup to TXT only
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-03-26 10:27:54 +00:00
jetstack-bot
6b723ce63b
Merge pull request #6871 from inteon/bugfix_exitcodes
BUGFIX: exit with correct exit codes
2024-03-25 12:31:39 +01:00
jetstack-bot
0e5001da6d
Merge pull request #6870 from deterclosed/master
chore: remove repetitive words
2024-03-23 14:26:50 +01:00
Tim Ramlot
bfd7a51618
BUGFIX: exit with correct exit codes
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-23 14:21:33 +01:00
deterclosed
e50052aded chore: remove repetitive words
Signed-off-by: deterclosed <fliter@outlook.com>
2024-03-23 13:37:59 +08:00
jetstack-bot
99fc8fb5f8
Merge pull request #6723 from inteon/add_generate_csr_test
Add new testcase that generates a non-critical SAN extension to the GenerateCSR tests
2024-03-22 21:51:34 +01:00
jetstack-bot
953d8b5478
Merge pull request #6277 from inteon/controller_configfile_fuzzer
ControllerConfiguration fuzzer, only set the value in case the random value is empty
2024-03-22 17:12:34 +01:00
Richard Wall
30db9e2ad5 Link to upstream vcert issues that would allow us to simplify the cert-manager code
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-03-20 14:16:38 +00:00
Richard Wall
dd0762e71b Refactor the httpClientForVcert function so that it can also be used for Venafi Cloud
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-03-20 13:19:56 +00:00
Richard Wall
95a347cbc2 Supply tests with a non-nil REST config in controller.Context
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-03-20 12:21:48 +00:00