Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from cert-manager:master #1066

Open
wants to merge 1,889 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1889 commits
Select commit Hold shift + click to select a range
38b7021
add design for pushing charts to OCI registry
SgtCoDFish Jun 26, 2024
bccdb05
tweak design to push to quay.io/jetstack/charts
SgtCoDFish Jul 4, 2024
659f22b
Merge pull request #7155 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Jul 4, 2024
9cfe0bc
changed the scorecard badge link to the standard format
harshitasao Jul 4, 2024
8f9ccf3
Reduce memory usage by only caching the metadata of Secret resources
wallrj Jul 9, 2024
15084fd
make go-tidy
wallrj Jul 9, 2024
961e81b
Update the memory-management design document
wallrj Jul 10, 2024
8c182d7
fix GHSA-xr7q-jx4m-x55m
SgtCoDFish Jul 10, 2024
c96e6a6
Merge pull request #7164 from SgtCoDFish/bump-grpc
cert-manager-prow[bot] Jul 10, 2024
aaad3b9
Updating the badge link to the new domain
harshitasao Jul 10, 2024
c746fdf
Merge pull request #7161 from wallrj/7147-cainjector-metadata-only-cache
cert-manager-prow[bot] Jul 12, 2024
4e3c162
Merge pull request #7108 from inteon/bugfix_aws
cert-manager-prow[bot] Jul 12, 2024
3e98f55
Allow config of http01 solver pod security context
aidy Aug 9, 2022
12e3233
Generate CRDs / conversion functions
aidy Aug 9, 2022
96831b9
Add test for http01 PodSecurityContext config
aidy Aug 9, 2022
62bdee8
Fix test
aidy Nov 23, 2022
8b68443
Update/Fix tests for new test structure
aidy Nov 23, 2023
6dc80e5
Copy PodSecurityContext over, dropping windowsOptions
aidy Nov 23, 2023
bde1acd
Remove protobuf annotations
aidy Dec 28, 2023
cb2731e
fix: Handle case of Azure returning auth error
eplightning Jul 15, 2024
c989dfd
test: adds test for getHTTPRouteForChallenge
miguelvr Jul 16, 2024
937fc85
fix: checkAndUpdateGatewayHTTPRoute function
miguelvr Jul 16, 2024
35e5e12
test: add test for ensureGatewayHTTPRoute
miguelvr Jul 16, 2024
30d4fce
Add test case
eplightning Jul 16, 2024
dc100b4
test: add test for multiple httproute resources
miguelvr Jul 16, 2024
9eeeabd
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Jul 17, 2024
d673563
add missing Make dependencies
inteon Jul 17, 2024
b77411b
Merge pull request #7171 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Jul 17, 2024
7677258
test: check for httproute clean-up
miguelvr Jul 17, 2024
8ffe264
fix: add missing hyphen to generateName
miguelvr Jul 17, 2024
8d2aac9
fix: httproute spec deep equal
miguelvr Jul 17, 2024
d3a2ad9
run 'make upgrade-klone' and 'make generate'
inteon Jul 17, 2024
bfbe9fb
Merge pull request #7180 from inteon/upgrade_makefiles
cert-manager-prow[bot] Jul 17, 2024
f357097
revert: remove override for generate name
miguelvr Jul 17, 2024
8a8df8a
fix: do not present challenge for Gateway API if feature not enabled
miguelvr Jul 18, 2024
46f3f04
fix: add boilerplate to test file
miguelvr Jul 18, 2024
9770794
Run 'make upgrade-klone' and 'make generate'
inteon Jul 18, 2024
aba3f6a
Merge pull request #7185 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Jul 18, 2024
17e883c
Merge pull request #7178 from miguelvr/miguelvr/http01-gw-solver-tests
cert-manager-prow[bot] Jul 18, 2024
5f003f2
Merge pull request #7177 from eplightning/fix-azure-npe
cert-manager-prow[bot] Jul 18, 2024
c5e95aa
Fix incorrect indentation of the PodMonitor template in the Helm chart
wallrj Jul 19, 2024
fc198e9
Merge pull request #7190 from wallrj/fix-podmonitor-template-indentation
cert-manager-prow[bot] Jul 19, 2024
e21a57a
Enable metrics server on the webhook
wallrj Jul 17, 2024
e1c1927
Merge pull request #7182 from wallrj/7065-webhook-metrics
cert-manager-prow[bot] Jul 23, 2024
4cec43b
Add metrics server to the cainjector
wallrj Jul 23, 2024
4861579
make generate
wallrj Jul 23, 2024
9273158
Add metrics configuration to the cainjector templates of the Helm chart
wallrj Jul 23, 2024
b6c8c34
Fix the podAnnotations check in the metrics labels section of the web…
wallrj Jul 23, 2024
f2b1af6
Merge pull request #7194 from wallrj/7065-cainjector-metrics
cert-manager-prow[bot] Jul 24, 2024
355d6af
Update the Google CloudBuild job image
wallrj Jul 24, 2024
3e83d22
Merge pull request #7199 from wallrj/update-google-cloudbuild-image
cert-manager-prow[bot] Jul 24, 2024
dc0295c
error out ACME Challenges when encountering non-ACME errors
bdols Jul 26, 2024
883e41b
Update pkg/issuer/venafi/client/venaficlient.go
hawksight Jul 30, 2024
5cabc54
Update pkg/issuer/venafi/client/venaficlient.go
hawksight Jul 30, 2024
527477b
chore: Update deps in venafclient.go to match gci formatting
hawksight Jul 30, 2024
0a33e64
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Jul 31, 2024
9e9c43f
Merge pull request #7205 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Jul 31, 2024
134f498
chore: Update deps in venafclient.go to match gci custom formatting
hawksight Jul 31, 2024
e65c363
Merge pull request #5373 from aidy/set-security-context
cert-manager-prow[bot] Aug 5, 2024
107a82c
feat: allow pod template to be specified when using gateway-api
ThatsMrTalbot Aug 5, 2024
1a68058
Merge pull request #7211 from ThatsMrTalbot/feat/gateway-api-pod-temp…
cert-manager-prow[bot] Aug 6, 2024
46dd542
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 7, 2024
4640f4f
Merge pull request #7215 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 7, 2024
1362429
fix: update shasum for docker.io/ubuntu/bind9
ThatsMrTalbot Aug 8, 2024
7253d0b
Merge pull request #7219 from ThatsMrTalbot/fix/bind9-shasum-update
cert-manager-prow[bot] Aug 8, 2024
8dea2d0
Add RBAC for the serviceaccount to create tokens
Jasper-Ben Aug 6, 2024
4176a7b
add timeout for ACME WaitAuthorization
bdols Aug 8, 2024
14eb9f5
fix errcheck linter by adding error checks everywhere
inteon Jul 3, 2024
b0714bc
fix cleanup logic
inteon Jul 3, 2024
e466446
remove combineError helper
inteon Jul 3, 2024
112beae
use utilruntime.Must to reduce amount of unnecessary if-else code whe…
inteon Jul 3, 2024
58fec28
add comments and make the timeout value a const
bdols Aug 12, 2024
f3b1506
golangci-lint --fix
bdols Aug 12, 2024
2295472
make the policy results more consitent (sorting map keys) and clearly…
inteon Aug 12, 2024
772f333
add fuzz test for vault issuer
AdamKorcz Jul 19, 2024
9809537
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 13, 2024
7f1e02f
Merge pull request #7228 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 13, 2024
65aea19
add caRequiresRegeneration unit test and fix incorrect renewal time c…
inteon Aug 14, 2024
8844fd3
add test case for expired certificate
inteon Aug 14, 2024
2472ccf
Merge pull request #7230 from inteon/bugfix_dynamic_authority
cert-manager-prow[bot] Aug 14, 2024
9195a5d
remove debugging lines
inteon Aug 14, 2024
138235c
Merge pull request #7202 from bdols/non-acme-error
cert-manager-prow[bot] Aug 14, 2024
e3b2387
Merge pull request #7150 from inteon/fix_errcheck
cert-manager-prow[bot] Aug 14, 2024
233cfbc
clarify mapsHaveMatchingValues comment
inteon Aug 14, 2024
44f33a0
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 15, 2024
b01a834
Merge pull request #7233 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 15, 2024
2b736f5
Run 'make upgrade-klone' and 'make generate'
inteon Aug 16, 2024
06fdf1d
upgrade k8s.io and c/r deps and fix breaking changes
inteon Aug 16, 2024
0c38de4
add temporary golangci-lint exceptions
inteon Aug 16, 2024
7835b03
fix issuer not found test bug
inteon Aug 16, 2024
98d8766
fix changed bind sha
inteon Aug 17, 2024
44d6b14
Merge pull request #7237 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 20, 2024
0557657
Merge pull request #7227 from inteon/sort_annotations_and_labels
cert-manager-prow[bot] Aug 20, 2024
45a52cc
add unit tests for tls authority logic and improve logs
inteon Aug 20, 2024
ae491bf
use new go 1.23 iterators
inteon Aug 20, 2024
c3621f0
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 21, 2024
c7f61ed
Merge pull request #7241 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 21, 2024
142a06f
apply changes suggested by review
inteon Aug 21, 2024
3125e66
fix staticcheck: replace deprecated function calls
inteon Aug 21, 2024
d3124ac
Merge pull request #7213 from Jasper-Ben/add_serviceaccount_token_rbac
cert-manager-prow[bot] Aug 21, 2024
6348a68
use types.NamespacedName in typed queue
inteon Aug 21, 2024
01a107f
Merge pull request #7242 from inteon/linter_fix
cert-manager-prow[bot] Aug 21, 2024
2747726
re-enable misspell linter
inteon Aug 21, 2024
5951ac4
re-enable usestdlibvars linter
inteon Aug 21, 2024
c1f0a13
fully enable staticcheck linter
inteon Aug 21, 2024
be8e721
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 23, 2024
fc08cbc
Merge pull request #7245 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 23, 2024
5821ede
upgrade all go dependencies
inteon Aug 16, 2024
d140d14
In https://github.com/prometheus/client_golang/pull/1424, a new check…
inteon Aug 23, 2024
e9799a8
Merge pull request #7238 from inteon/goupgrade
cert-manager-prow[bot] Aug 23, 2024
d71b087
Run 'make upgrade-klone' and 'make generate'
inteon Aug 23, 2024
f1a698b
Merge pull request #7246 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 23, 2024
7d797a4
Merge pull request #7229 from inteon/authority_bugfix
cert-manager-prow[bot] Aug 26, 2024
7e36193
RFC 5280 - Section 4.2.1.3 states that 'When the keyUsage extension a…
inteon Aug 29, 2024
0449eba
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Aug 30, 2024
e9b2678
Merge pull request #7253 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Aug 30, 2024
db04694
change message to a generic one
AdamKorcz Sep 5, 2024
46ea393
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Sep 6, 2024
7d75c98
Merge pull request #7257 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Sep 6, 2024
ba4ef85
add comment
AdamKorcz Sep 6, 2024
da12061
Prevent aggressive Route53 retries caused by STS authentication failu…
wallrj Sep 6, 2024
0395fd6
Merge pull request #7259 from wallrj/5486-redact-amz-request-id
cert-manager-prow[bot] Sep 6, 2024
7c808f8
Merge pull request #7192 from AdamKorcz/fuzz-july1
cert-manager-prow[bot] Sep 9, 2024
05cf58f
Merge pull request #7250 from inteon/only_add_keyusages_if_non_zero
cert-manager-prow[bot] Sep 10, 2024
10bf033
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Sep 11, 2024
4cf366f
fix gosec G115 linter
inteon Sep 11, 2024
b9cc814
Merge pull request #7265 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Sep 11, 2024
64f8ad8
remove empty apiGroup from 'subjects.ServiceAccount' refs
lunarwhite Sep 12, 2024
609fd0b
fix SHA for bind image which changed upstream
SgtCoDFish Sep 12, 2024
2b73ff6
Merge pull request #7271 from SgtCoDFish/bindsha
cert-manager-prow[bot] Sep 12, 2024
3cc9320
Merge pull request #7270 from lunarwhite/rm-empty
cert-manager-prow[bot] Sep 12, 2024
77b3df7
add fuzzer for venafi cr controller
AdamKorcz Sep 17, 2024
2202275
Merge pull request #7159 from harshitasao/scorecard-badge-link
cert-manager-prow[bot] Sep 17, 2024
6cba631
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Sep 18, 2024
1e332e2
Merge pull request #7281 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Sep 18, 2024
6d2f5e1
Merge pull request #7279 from AdamKorcz/venafi-fuzzer
cert-manager-prow[bot] Sep 18, 2024
11a013b
add further text explaining why we use an old license year
SgtCoDFish Sep 17, 2024
e1fb0c4
Merge pull request #7283 from SgtCoDFish/license-year
cert-manager-prow[bot] Sep 18, 2024
26f3314
Clarify how to use the Kind section of the PR template
jsoref Sep 17, 2024
c69e9ba
Merge pull request #7280 from jsoref/improve-kind-discoverability
cert-manager-prow[bot] Sep 18, 2024
de85bd7
Fix config api defaults updated messages
jsoref Sep 13, 2024
6564f1c
spelling: feature
jsoref Sep 13, 2024
d52fd2f
add missing issuer hint
inteon Sep 18, 2024
c992382
Merge pull request #7084 from hawksight/user-pass-oauth
cert-manager-prow[bot] Sep 18, 2024
0afe4ab
Add support for domain qualified finalizer
jsoref Sep 13, 2024
4d97c4c
Add feature gate for domain qualified finalizer
jsoref Sep 18, 2024
b127b55
Merge pull request #7104 from Guitarkalle/6898-add-validity-duration-…
cert-manager-prow[bot] Sep 18, 2024
bbb21d5
Merge pull request #7273 from jsoref/issue-7266
cert-manager-prow[bot] Sep 18, 2024
a7bff69
Merge pull request #7132 from SgtCoDFish/chartmigration
cert-manager-prow[bot] Sep 18, 2024
40fd166
remove issuer argument from CleanUp function, since it might no longe…
inteon Sep 18, 2024
e184d1b
add missing data to fake Challenges in tests
inteon Sep 18, 2024
f62e5e1
simplify helper functions and add comments
inteon Sep 19, 2024
ced378b
Merge pull request #7285 from inteon/remove_cleanup_argument
cert-manager-prow[bot] Sep 19, 2024
d369f92
Test that Route53 region is optional
wallrj Sep 19, 2024
78a8391
Allow the Route53 region to be optional
wallrj Sep 19, 2024
060354a
Merge pull request #7243 from inteon/linter_fix2
cert-manager-prow[bot] Sep 19, 2024
f6e028b
Test that Route53 region is optional with OpenAPI validation too
wallrj Sep 19, 2024
15cd934
Make Route53 region optional (in openapi)
wallrj Sep 19, 2024
a39748a
Fix typos
NathanBaulch Sep 19, 2024
c274d1d
run 'make generate'
inteon Sep 20, 2024
9de6aa6
Update the Route53 region API documentation
wallrj Sep 19, 2024
510b092
Merge pull request #7290 from NathanBaulch/typos
cert-manager-prow[bot] Sep 20, 2024
f17b436
remove old API versions
inteon Sep 17, 2024
51f8f39
Merge pull request #7278 from inteon/remove_deprecated_api_versions
cert-manager-prow[bot] Sep 20, 2024
569f920
Merge pull request #7287 from wallrj/optional-aws-route53-region
cert-manager-prow[bot] Sep 20, 2024
deaf4d1
Test removeReqID with %w wrapped errors
wallrj Sep 20, 2024
caa24fc
Merge pull request #7154 from jrcichra/webhook-ca-managed-by
cert-manager-prow[bot] Sep 20, 2024
422cc51
Redact the RequestID in %w wrapped errors
wallrj Sep 20, 2024
13f9c94
Handle nil errors
wallrj Sep 20, 2024
900241b
Merge pull request #7291 from wallrj/route53-error-redact
cert-manager-prow[bot] Sep 20, 2024
ce6153c
Log AWS SDK warnings and API requests at cert-manager debug level
wallrj Sep 20, 2024
63b158c
Merge pull request #7292 from wallrj/route53-debug-request-logging
cert-manager-prow[bot] Sep 20, 2024
5111a19
Append cert-manager user-agent string to all AWS API requests
wallrj Sep 21, 2024
3707ce2
Use context logger for Route53 operations
wallrj Sep 21, 2024
193f318
Merge pull request #7295 from wallrj/route53-user-agent-for-all-requests
cert-manager-prow[bot] Sep 21, 2024
9c5b699
go-mod-upgrade
wallrj Sep 21, 2024
b91c777
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Sep 22, 2024
b76e982
Merge pull request #7298 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Sep 22, 2024
a0b29a2
Merge pull request #7296 from wallrj/route53-contextual-logging
cert-manager-prow[bot] Sep 22, 2024
8276d84
Merge pull request #7297 from wallrj/go-mod-upgrade
cert-manager-prow[bot] Sep 22, 2024
9ed80cf
Enable the WatchList (Streaming Lists) feature
inteon Sep 19, 2024
81bd1c5
Merge pull request #7175 from wallrj/3748-enable-watchlist-streaming-…
cert-manager-prow[bot] Sep 24, 2024
5747ea2
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Sep 25, 2024
8d7c8f0
fix copyloopvar linter, removing copies that are no longer necessary
inteon Sep 25, 2024
3651ab7
fix bind image for arm64
SgtCoDFish Sep 25, 2024
d6097ee
add support for testing k8s 1.31 with kind 0.24.0
SgtCoDFish Sep 25, 2024
8d61c8e
Merge pull request #7300 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Sep 25, 2024
9fa1112
Merge pull request #7302 from SgtCoDFish/k8s-1.31
cert-manager-prow[bot] Sep 25, 2024
7c5df3a
Always fall back on the ambient region
wallrj Sep 24, 2024
8fcd13b
Use regional STS endpoints for the dedicated STS client, when a Role …
wallrj Sep 25, 2024
f3b2a98
Merge pull request #7299 from wallrj/route53-ambient-region
cert-manager-prow[bot] Sep 26, 2024
59c558b
Fix possible OOM failures in the makestage Google Cloud Build
wallrj Sep 26, 2024
25c7ffa
Use a better supported machine type
wallrj Sep 26, 2024
f2c262c
Merge pull request #7308 from wallrj/fix-makestage-oom-failures
cert-manager-prow[bot] Sep 26, 2024
99498f3
Revert "Reduce load on the Kubernetes API server and reduce the peak …
wallrj Oct 1, 2024
b56ac27
Merge pull request #7315 from wallrj/revert-7175-3748-enable-watchlis…
cert-manager-prow[bot] Oct 1, 2024
28f2fa5
Add extraEnv to webhook, cainjector, and startupapicheck
wallrj Oct 1, 2024
617f29b
make generate-helm-schema generate-helm-docs
wallrj Oct 1, 2024
2543831
Update deployments and startupapi Job
wallrj Oct 1, 2024
0780948
Merge pull request #7317 from wallrj/7316-extraenv-cainjector-webhook
cert-manager-prow[bot] Oct 1, 2024
788501d
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Oct 2, 2024
ee36b5d
Merge pull request #7321 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Oct 2, 2024
5210d2a
make update-base-images
wallrj Oct 2, 2024
4830066
Merge pull request #7323 from wallrj/bump-base-images
cert-manager-prow[bot] Oct 2, 2024
2eb8877
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Oct 5, 2024
6f7989d
Merge pull request #7336 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Oct 5, 2024
7d1481d
BUGFIX: use correct resource namespace for Cluster Issuers
inteon Oct 7, 2024
956e53b
add ACME ClusterIssuer resource namespace test
inteon Oct 7, 2024
e2c59bf
Merge pull request #7339 from inteon/bugfix_cluster_issuer_secrets
cert-manager-prow[bot] Oct 7, 2024
366b7af
update schema validation for minAvailable and maxAvailable to accept …
inteon Oct 7, 2024
59b6429
Merge pull request #7343 from inteon/allow_string_or_int
cert-manager-prow[bot] Oct 7, 2024
96411a9
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Oct 7, 2024
4c353f1
Merge pull request #7346 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Oct 7, 2024
bd1d076
Helm: add enabled to json schema
inteon Oct 8, 2024
871a189
Helm chart: fix documentation for service accounts annotations
JordanP Oct 8, 2024
fee64aa
Merge pull request #7351 from JordanP/helm-chart-values-documentation
cert-manager-prow[bot] Oct 9, 2024
680e856
Merge pull request #7350 from inteon/add_enabled
cert-manager-prow[bot] Oct 9, 2024
ed11841
Chart docs: Add enableGatewayAPI upd feat gates
puerco Oct 9, 2024
b89a0e5
make vendor-go generate-helm-schema
puerco Oct 9, 2024
5e2b1c1
Merge pull request #7354 from puerco/chart-gatewaty-api
cert-manager-prow[bot] Oct 10, 2024
129ce79
Merge pull request #7240 from inteon/use_go_1.23_iterators
cert-manager-prow[bot] Oct 11, 2024
49482f9
fix: don't create certificaterequests while being deleted
ThatsMrTalbot Oct 11, 2024
cb4b53b
chore: e2e tests to ensure certificaterequests and secrets are not cr…
ThatsMrTalbot Oct 11, 2024
71f43d5
Merge pull request #7361 from ThatsMrTalbot/fix/dont-create-certifica…
cert-manager-prow[bot] Oct 14, 2024
589dca7
remove unused pod helper functions
inteon Oct 14, 2024
b7de552
fix log interface signature mismatch
inteon Oct 14, 2024
d379954
remove unused function
inteon Oct 14, 2024
5e61f4a
Run 'make upgrade-klone' and 'make generate'
inteon Oct 15, 2024
ab6d8fb
Merge pull request #7366 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Oct 15, 2024
1a0f0f9
add IPv6 example for recursive DNS arg
SgtCoDFish Oct 15, 2024
1be0dfc
Merge pull request #7367 from SgtCoDFish/ipv6-recursive-dns
cert-manager-prow[bot] Oct 15, 2024
6e92072
Use different hash algorithms for larger RSA keys
SgtCoDFish Oct 11, 2024
59abb31
Merge pull request #7368 from SgtCoDFish/ca-issuer-sig-algo
cert-manager-prow[bot] Oct 16, 2024
e1a1ea9
Merge pull request #7363 from inteon/remove_unused_functions
cert-manager-prow[bot] Oct 16, 2024
f4f3ce4
remove use of magic numbers when validating RSA key sizes
SgtCoDFish Oct 21, 2024
bcd2756
panic on errors in vault setup, use pki pkg where available
SgtCoDFish Oct 21, 2024
bf35e91
switch to math/rand/v2 for jitter
SgtCoDFish Oct 21, 2024
0a8268e
Merge pull request #7381 from SgtCoDFish/randtweaks
cert-manager-prow[bot] Oct 21, 2024
7a5d75a
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Oct 25, 2024
e8ce708
Merge pull request #7387 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Oct 25, 2024
c951974
add tenantID option to azureDNS managedIdentity
jochenrichter Oct 17, 2024
15cc475
update conversion functions
SgtCoDFish Oct 25, 2024
ec1f6e1
Merge pull request #7376 from jochenrichter/managed_identity_tenant_id
cert-manager-prow[bot] Oct 25, 2024
4de5570
Do not propagate applyset labels
uhthomas Nov 1, 2024
1c2ee41
Merge pull request #7394 from uhthomas/7306
cert-manager-prow[bot] Nov 5, 2024
3a4c9eb
security: Add functions to limit max PEM sizes allowable
SgtCoDFish Nov 1, 2024
f22f78c
security: remove calls to pem.Decode in non-test code
SgtCoDFish Nov 1, 2024
e5d62ad
Merge pull request #7400 from SgtCoDFish/pem-inputs
cert-manager-prow[bot] Nov 6, 2024
25911fa
BOT: run 'make upgrade-klone' and 'make generate'
cert-manager-bot Nov 8, 2024
63f83c9
Merge pull request #7410 from cert-manager/self-upgrade-master
cert-manager-prow[bot] Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .bazelignore

This file was deleted.

7 changes: 0 additions & 7 deletions .bazelrc

This file was deleted.

9 changes: 9 additions & 0 deletions .clomonitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# License scanning information
licenseScanning:
# URL with the repository's license scanning results
#
# CLOMonitor can extract license scanning results from FOSSA and Snyk badges
# in the repository README.md file automatically. If your repository uses a
# different scanning solution, this url can be set to pass the corresponding
# check.
url: https://github.com/cert-manager/cert-manager/blob/master/LICENSES
7 changes: 6 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ Thanks for opening a pull request! Here are some tips to get everything merged s

### Kind

<!--
The kind(s) listed after "kind" after this comment will be used by a bot to add labels when the PR is opened.
If omitted at PR creation, someone will need to make a new comment with them later (editing the description after the fact will not trigger the bot).
-->
/kind
<!--

Pick a kind which best describes your PR from the following list:
Pick the kind(s) which best describe your PR from the following list:

<cleanup | bug | feature | documentation | design | flake>

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/govulncheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
# Edit https://github.com/cert-manager/makefile-modules/blob/main/modules/go/base/.github/workflows/govulncheck.yaml instead.

# Run govulncheck at midnight every night on the main branch,
# to alert us to recent vulnerabilities which affect the Go code in this
# project.
name: govulncheck
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * *'

permissions:
contents: read

jobs:
govulncheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- id: go-version
run: |
make print-go-version >> "$GITHUB_OUTPUT"

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ steps.go-version.outputs.result }}

- run: make verify-govulncheck
101 changes: 101 additions & 0 deletions .github/workflows/make-self-upgrade.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
# Edit https://github.com/cert-manager/makefile-modules/blob/main/modules/repository-base/base/.github/workflows/make-self-upgrade.yaml instead.

name: make-self-upgrade
concurrency: make-self-upgrade
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * *'

permissions:
contents: read

jobs:
self_upgrade:
runs-on: ubuntu-latest

if: github.repository_owner == 'cert-manager'

permissions:
contents: write
pull-requests: write

env:
SOURCE_BRANCH: "${{ github.ref_name }}"
SELF_UPGRADE_BRANCH: "self-upgrade-${{ github.ref_name }}"

steps:
- name: Fail if branch is not head of branch.
if: ${{ !startsWith(github.ref, 'refs/heads/') && env.SOURCE_BRANCH != '' && env.SELF_UPGRADE_BRANCH != '' }}
run: |
echo "This workflow should not be run on a non-branch-head."
exit 1

- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- id: go-version
run: |
make print-go-version >> "$GITHUB_OUTPUT"

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ steps.go-version.outputs.result }}

- run: |
git checkout -B "$SELF_UPGRADE_BRANCH"

- run: |
make -j upgrade-klone
make -j generate

- id: is-up-to-date
shell: bash
run: |
git_status=$(git status -s)
is_up_to_date="true"
if [ -n "$git_status" ]; then
is_up_to_date="false"
echo "The following changes will be committed:"
echo "$git_status"
fi
echo "result=$is_up_to_date" >> "$GITHUB_OUTPUT"

- if: ${{ steps.is-up-to-date.outputs.result != 'true' }}
run: |
git config --global user.name "cert-manager-bot"
git config --global user.email "cert-manager-bot@users.noreply.github.com"
git add -A && git commit -m "BOT: run 'make upgrade-klone' and 'make generate'" --signoff
git push -f origin "$SELF_UPGRADE_BRANCH"

- if: ${{ steps.is-up-to-date.outputs.result != 'true' }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const { repo, owner } = context.repo;
const pulls = await github.rest.pulls.list({
owner: owner,
repo: repo,
head: owner + ':' + process.env.SELF_UPGRADE_BRANCH,
base: process.env.SOURCE_BRANCH,
state: 'open',
});

if (pulls.data.length < 1) {
const result = await github.rest.pulls.create({
title: '[CI] Merge ' + process.env.SELF_UPGRADE_BRANCH + ' into ' + process.env.SOURCE_BRANCH,
owner: owner,
repo: repo,
head: process.env.SELF_UPGRADE_BRANCH,
base: process.env.SOURCE_BRANCH,
body: [
'This PR is auto-generated to bump the Makefile modules.',
].join('\n'),
});
await github.rest.issues.addLabels({
owner,
repo,
issue_number: result.data.number,
labels: ['skip-review']
});
}
54 changes: 54 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '43 13 * * 6'
push:
branches: [ "master" ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Used to receive a badge.
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # tag=v2.3.1
with:
results_file: results.sarif
results_format: sarif

# Publish the results for public repositories to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`, regardless
# of the value entered here.
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # tag=v4.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@df5a14dc28094dc936e103b37d749c6628682b60 # tag=v3.25.0
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
/hack/build/dockerfiles/cert-manager-*_*_*
.vscode
.venv
bazel-*
/.settings/
/.project
_artifacts/
/vendor/
bin/
_bin/
.bin/
user.bazelrc
*.bak
/go.work.sum
**/go.work
89 changes: 89 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
issues:
exclude-rules:
- linters:
- govet
- dogsled
- promlinter
- errname
- exhaustive
- nilerr
- interfacebloat
- nilnil
- nakedret
- musttag
- gomoddirectives
text: ".*"
- linters:
- gosec
text: "G(101|107|204|306|402)"
- linters:
- staticcheck
text: "(NewCertManagerBasicCertificateRequest)"
linters:
# Explicitly define all enabled linters
disable-all: true
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- contextcheck
- copyloopvar
- decorder
- dogsled
- dupword
- durationcheck
- errcheck
- errchkjson
- errname
- exhaustive
- forbidigo
- gci
- ginkgolinter
- gocheckcompilerdirectives
- gochecksumtype
- gocritic
- gofmt
- goheader
- goprintffuncname
- gosec
- gosimple
- gosmopolitan
- govet
- grouper
- importas
- ineffassign
- interfacebloat
- loggercheck
- makezero
- mirror
- misspell
- musttag
- nakedret
- nilerr
- nilnil
- noctx
- nosprintfhostport
- predeclared
- promlinter
- protogetter
- reassign
- sloglint
- staticcheck
- tagalign
- tenv
- testableexamples
- typecheck
- unconvert
- unparam
- unused
- usestdlibvars
- wastedassign
linters-settings:
gci:
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- prefix(github.com/cert-manager/cert-manager) # Custom section: groups all imports with the specified Prefix.
- blank # Blank section: contains all blank imports. This section is not present unless explicitly enabled.
- dot # Dot section: contains all dot imports. This section is not present unless explicitly enabled.
50 changes: 0 additions & 50 deletions .krew.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CVE-2020-8559 is a vuln in old Kubernetes versions which seems to be incorrectly flagged by trivy. It seems like
# the version detection is wrongly looking at apiserver packages with versions < 1 - but all apiserver packages have
# a major version of 0. In any case this is a vuln in Kubernetes clusters, not in our code.
CVE-2020-8559
Loading