Commit 13f5240
committed
Allow specification of client_id by env var
Specifying client_id by env var allows us to pre-populate a namespace
with all the relevant authentication details.
Currently, we have to populate a secret with a private key, and then
create a deployment given the client id. Specifying via an env var would
allow us to create/rotate deployments and credentials independently of each
other.
e.g.
```
env:
- name: CLIENT_ID
valueFrom:
configMapKeyRef:
name: venafi-agent-svc-account
key: client_id
```
Signed-off-by: Adrian Lai <[email protected]>1 parent 1f00f09 commit 13f5240
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
315 | 330 | | |
316 | 331 | | |
317 | 332 | | |
| |||
0 commit comments