misc: used kubernetes client

This commit is contained in:
Sheen Capadngan
2025-06-25 02:38:51 +08:00
parent 02a2309953
commit 1d7da56b40
6 changed files with 171 additions and 109 deletions

View File

@@ -104,7 +104,7 @@ When using `k8-secret`, the command will create or update a Kubernetes secret di
```bash
# Example template that stores the token
infisical bootstrap --k8-secret-template='{"data":{"token":"{{.Identity.Credentials.Token | encodeBase64}}"}}'
infisical bootstrap --k8-secret-template='{"data":{"token":"{{.Identity.Credentials.Token}}"}}'
# Example template with multiple fields
infisical bootstrap --k8-secret-template='{"stringData":{"token":"{{.Identity.Credentials.Token}}","org-id":"{{.Organization.ID}}","user-email":"{{.User.Email}}"}}'