Commit Graph

385 Commits

Author SHA1 Message Date
pwhitehead
35571e014d refactor to use token request API
Signed-off-by: Paul Whitehead <pwhitehead@splunk.com>
2024-05-07 11:11:21 -06:00
Paul Whitehead
528428b31f support assumeRoleWithWebIdentity for Route53 issuer
Signed-off-by: Paul Whitehead <pwhitehead@splunk.com>

fix test signature
2024-05-07 11:10:17 -06: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
dd4f5f4e39
fix unparam linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-30 10:47:21 +02:00
Tim Ramlot
24e47ff364
fix predeclared linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 17:32:49 +02:00
Tim Ramlot
b86af60308
fix usestdlibvars linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 16:54:13 +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
042f59d283
fix unused linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 15:29:00 +02:00
Tim Ramlot
085136068a
fix misspell linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 15:21:07 +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
bdb8f6d70c
fix tagalign 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
cert-manager-prow[bot]
54feeece10
Merge pull request #6970 from erikgb/additional-formats-beta
Promote AdditionalCertificateOutputFormats feature gate to Beta
2024-04-29 07:42:36 +00:00
Erik Godding Boye
003c1b12e8
Promote AdditionalCertificateOutputFormats feature gate to Beta and enable by default
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
2024-04-28 17:29:35 +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
cert-manager-prow[bot]
410b7a6ffb
Merge pull request #6963 from inteon/graduate_DisallowInsecureCSRUsageDefinition
Graduate 'DisallowInsecureCSRUsageDefinition' to GA (part 2)
2024-04-26 17:22:35 +00:00
cert-manager-prow[bot]
4fe21418f1
Merge pull request #6961 from ThatsMrTalbot/feat/graduate-gateway-api-to-beta
feat: graduate gateway-api to beta and enable by default
2024-04-26 14:27:34 +00:00
Tim Ramlot
38cd0accdb
graduate 'DisallowInsecureCSRUsageDefinition' to GA
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-26 16:14:31 +02:00
cert-manager-prow[bot]
76153b3bf2
Merge pull request #6949 from findnature/master
chore: remove repetitive words
2024-04-26 03:51:33 +00:00
findnature
f9f2e1cd8f chore: remove repetitive words
Signed-off-by: findnature <cricis@aliyun.com>
2024-04-26 10:00:43 +08: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
Tim Ramlot
20fa3169bf
Merge pull request #6927 from yj-yoo/remove_deprecated_function
Graduate 'DisallowInsecureCSRUsageDefinition' to GA
2024-04-24 15:23:42 +01:00
Tim Ramlot
8d2cb0c336
Merge pull request #6889 from jsnctl/6817-api-defaults-tests
feat: Adding API defaults unit test + testfile fixture
2024-04-23 13:37:46 +01:00
Tim Ramlot
a26e2dc21e
cleanup code
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-23 13:02:55 +02:00
Youngjun
d2988a906a refectoring: remove deprecated function
- remove deprecated function
- comment update beta to ga (and version)

Signed-off-by: Youngjun <yj.yoo@okestro.com>
2024-04-22 22:57:52 +09:00
Youngjun
237dfd9f0d refectoring: remove unnecessary code
Signed-off-by: Youngjun <yj.yoo@okestro.com>
2024-04-22 14:24:59 +09:00
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
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
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
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
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
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
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
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
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
jetstack-bot
fe39c52aaf
Merge pull request #6807 from bwaldrep/bw/alias
feat: Add optional flag to specify jks keystore alias
2024-03-07 18:27:06 +01:00
Tim Ramlot
ad1847cc3c
prevent fuzzer from generating impossible configurations
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-05 19:37:23 +01:00
Tim Ramlot
620d6ff679
BUGFIX: cainjector leaderelection defaults were missing
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-05 19:21:35 +01:00
Bill Waldrep
d4911ebfaa
Add optional flag to specify jks keystore alias.
Previously the JKS keystore alias was hardcoded to "certificate".
This change adds an optional configuration point to allow users
to specify a custom keystore alias. If the flag is omitted we
will default to the previous behavior.

Signed-off-by: Bill Waldrep <bwaldrep@palantir.com>
2024-03-04 13:23:09 -05:00
Jan-Otto Kröpke
818df603f5
Allow cert-manager.io/allow-direct-injection in annotations
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
2024-02-27 12:26:33 +01:00