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

Extend Secret templating for InfisicalSecret #2398

Open
tiagovtristao opened this issue Sep 10, 2024 · 0 comments
Open

Extend Secret templating for InfisicalSecret #2398

tiagovtristao opened this issue Sep 10, 2024 · 0 comments

Comments

@tiagovtristao
Copy link

Feature description

We are currently using ArgoCD and a GitOps approach and would benefit if the Secret generated by the InfisicalSecret could be further customised. At the moment, we have to manually populate the sshPrivateKey below:

apiVersion: v1
kind: Secret
metadata:
  name: tortus-repo-access-secret
  namespace: argocd
  labels:
      argocd.argoproj.io/secret-type: repository
stringData:
  type: git
  url: [email protected]:tortus-ai/foobar.git
  sshPrivateKey: # (to-be-filled)

Would it be possible/feasible for the InfisicalSecret to generate a Secret as above and have certain fields (sshPrivateKey in this case) auto populated via some mapping/placeholder?

Why would it be useful?

This would allow for any Secret template to be handled by the Infisical's K8s operator and not having to manually update some of them. This would also make it more GitOps-compatible.

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

No branches or pull requests

1 participant