mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 23:27:14 +00:00
Merge pull request #4561 from Infisical/daniel/fetch-secret-by-name-operator-docs
docs(k8s-operator): `secretName` field for fetching a single secret
This commit is contained in:
@@ -146,6 +146,7 @@ spec:
|
|||||||
projectSlug: <project-slug> # <-- project slug
|
projectSlug: <project-slug> # <-- project slug
|
||||||
projectId: <project-id> # <-- project id
|
projectId: <project-id> # <-- project id
|
||||||
|
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
envSlug: <env-slug> # "dev", "staging", "prod", etc..
|
envSlug: <env-slug> # "dev", "staging", "prod", etc..
|
||||||
secretsPath: "<secrets-path>" # Root is "/"
|
secretsPath: "<secrets-path>" # Root is "/"
|
||||||
credentialsRef:
|
credentialsRef:
|
||||||
@@ -331,6 +332,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -526,6 +528,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -574,6 +577,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -619,6 +623,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -664,6 +669,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -711,6 +717,7 @@ spec:
|
|||||||
projectSlug: your-project-slug
|
projectSlug: your-project-slug
|
||||||
envSlug: prod
|
envSlug: prod
|
||||||
secretsPath: "/path"
|
secretsPath: "/path"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
recursive: true
|
recursive: true
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@@ -764,6 +771,7 @@ spec:
|
|||||||
projectSlug: <project-slug> # <-- project slug
|
projectSlug: <project-slug> # <-- project slug
|
||||||
envSlug: <env-slug> # "dev", "staging", "prod", etc..
|
envSlug: <env-slug> # "dev", "staging", "prod", etc..
|
||||||
secretsPath: "<secrets-path>" # Root is "/"
|
secretsPath: "<secrets-path>" # Root is "/"
|
||||||
|
secretName: <secret-name> # OPTIONAL: If you want to fetch a single Infisical secret, you can specify the secret name here. If not specified, all secrets in the specified scope will be fetched.
|
||||||
identityId: <machine-identity-id>
|
identityId: <machine-identity-id>
|
||||||
credentialsRef:
|
credentialsRef:
|
||||||
secretName: ldap-auth-credentials # <-- name of the Kubernetes secret that stores our machine identity credentials
|
secretName: ldap-auth-credentials # <-- name of the Kubernetes secret that stores our machine identity credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user