Repository navigation
Commit 074b420
Send the NGTS workspace ID on token requests and uploads
- VenafiConnection mode: bump venafi-connection-lib to pick up
spec.ngts.workspaceID. The library sends it on the token request; the
agent now adds it to the upload too, using the library's
http_client.WithWorkspaceID.
- NGTS keypair mode: add an optional --workspace-id flag and a
config.workspaceID value in the discovery-agent chart. It is rejected
outside --ngts, and the chart fails to render if it is set together
with config.venafiConnection.enabled.
- Regenerate the VenafiConnection CRD in both charts.
- The library bump also raises k8s.io/* to v0.37.0 and
controller-runtime to v0.25.0, which venafi-connection-lib requires.
NGTS now only finds an OIDC (workload identity) service account that
lives in a workspace when the token request names that workspace, so
the agent cannot use such an account through a VenafiConnection
without this change.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>1 parent aafe4a1 commit 074b420
21 files changed
Lines changed: 600 additions & 302 deletions
File tree
- deploy/charts
- discovery-agent
- crd_bases
- templates
- tests
- venafi-kubernetes-agent
- crd_bases
- templates
- pkg
- agent
- client
- testutil
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
108 | 117 | | |
109 | 118 | | |
110 | 119 | | |
111 | | - | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
712 | 726 | | |
713 | 727 | | |
714 | 728 | | |
| |||
0 commit comments