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

Allow specification of client_id by env var #607

Closed
wants to merge 1 commit into from

Conversation

aidy
Copy link

@aidy aidy commented Nov 6, 2024

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

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 <adrian.lai@jetstack.io>
@aidy
Copy link
Author

aidy commented Nov 6, 2024

Forgot I could just push to jetstack/ I'll recreate.

@aidy aidy closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant