Commit b8b9709
Merge 2.5.3 to main (#69)
* feat: release 2.5.0
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
* release: 2.5.1
* feat: release 2.5.0 (#62)
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
* feat: add client caching to reduce OAuth token requests
Previously, every certificate request reconciliation created a new Command
API client, which meant a new OAuth token was fetched for each request.
For customers with OAuth provider quotas, this caused rate limiting issues.
This change introduces a ClientCache that:
- Caches Command API clients by configuration hash
- Reuses cached clients across reconciliations for the same issuer
- Allows the underlying oauth2 library's token caching to work as intended
- Is thread-safe for concurrent reconciliations
The cache key is a SHA-256 hash of all configuration fields that affect
the client connection (hostname, API path, credentials, scopes, etc.),
ensuring different issuers get different clients while the same issuer
reuses its client.
Fixes: OAuth token re-authentication on every request
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore(scripts): update scripting usability
* feat: update keyfactor-auth-client-go to v1.3.1
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: remove test short circuit
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Revert "Potential fix for pull request finding"
This reverts commit 19bc19b.
* chore: cleanup
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: break build & test into its own workflow
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix: remove lint from CI
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(docs): update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Morgan Gangwere <470584+indrora@users.noreply.github.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add missing namespace specification + address linting issues (#66)
* fix: log errors from Enrollment API call
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix: add missing namespaces, add linting to catch issues
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: add linting
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: address lint issues
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: apply copilot feedback
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: fix typo
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: copilot suggestions
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* v2.5.3: Patch vulnerable dependencies (#68)
* feat: release 2.5.0 (#62)
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
* Merge 2.5.1 to main (#65)
* feat: release 2.5.0
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
* release: 2.5.1
* feat: release 2.5.0 (#62)
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
* feat: add client caching to reduce OAuth token requests
Previously, every certificate request reconciliation created a new Command
API client, which meant a new OAuth token was fetched for each request.
For customers with OAuth provider quotas, this caused rate limiting issues.
This change introduces a ClientCache that:
- Caches Command API clients by configuration hash
- Reuses cached clients across reconciliations for the same issuer
- Allows the underlying oauth2 library's token caching to work as intended
- Is thread-safe for concurrent reconciliations
The cache key is a SHA-256 hash of all configuration fields that affect
the client connection (hostname, API path, credentials, scopes, etc.),
ensuring different issuers get different clients while the same issuer
reuses its client.
Fixes: OAuth token re-authentication on every request
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore(scripts): update scripting usability
* feat: update keyfactor-auth-client-go to v1.3.1
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: remove test short circuit
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Revert "Potential fix for pull request finding"
This reverts commit 19bc19b.
* chore: cleanup
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: break build & test into its own workflow
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix: remove lint from CI
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(docs): update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Morgan Gangwere <470584+indrora@users.noreply.github.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: spb <1661003+spbsoluble@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Merge 2.5.2 to main (#67)
* feat: release 2.5.0
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
* release: 2.5.1
* feat: release 2.5.0 (#62)
2.5.0: CA Bundle with ConfigMap + GKE Ambient Credentials Documentation
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
* feat: add client caching to reduce OAuth token requests
Previously, every certificate request reconciliation created a new Command
API client, which meant a new OAuth token was fetched for each request.
For customers with OAuth provider quotas, this caused rate limiting issues.
This change introduces a ClientCache that:
- Caches Command API clients by configuration hash
- Reuses cached clients across reconciliations for the same issuer
- Allows the underlying oauth2 library's token caching to work as intended
- Is thread-safe for concurrent reconciliations
The cache key is a SHA-256 hash of all configuration fields that affect
the client connection (hostname, API path, credentials, scopes, etc.),
ensuring different issuers get different clients while the same issuer
reuses its client.
Fixes: OAuth token re-authentication on every request
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore(scripts): update scripting usability
* feat: update keyfactor-auth-client-go to v1.3.1
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: remove test short circuit
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Revert "Potential fix for pull request finding"
This reverts commit 19bc19b.
* chore: cleanup
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: break build & test into its own workflow
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix: remove lint from CI
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(docs): update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Morgan Gangwere <470584+indrora@users.noreply.github.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add missing namespace specification + address linting issues (#66)
* fix: log errors from Enrollment API call
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix: add missing namespaces, add linting to catch issues
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: add linting
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: address lint issues
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore: apply copilot feedback
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: fix typo
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* feat: copilot suggestions
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: spb <1661003+spbsoluble@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* chore(deps): patch vulnerable dependencies
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* fix(tests): fix test failures caused by merge conflict resolution issue
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(docs): update CHANGELOG
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(ci): update trigger for dependency review
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
* chore(ci): address copilot feedback
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Morgan Gangwere <470584+indrora@users.noreply.github.com>
Co-authored-by: spb <1661003+spbsoluble@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Signed-off-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Matthew H. Irby <irby@users.noreply.github.com>
Co-authored-by: spb <1661003+spbsoluble@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew H. Irby <matt.irby@keyfactor.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 9d03316 commit b8b9709
7 files changed
Lines changed: 89 additions & 727 deletions
File tree
- .github/workflows
- internal
- command
- controller
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments