mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #4485 from Infisical/daniel/operator-ids-standardization-docs
docs: ID and slug support across all operator CRDS
This commit is contained in:
@@ -223,7 +223,9 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
dynamicSecret:
|
dynamicSecret:
|
||||||
secretName: <dynamic-secret-name>
|
secretName: <dynamic-secret-name>
|
||||||
projectId: <project-id>
|
# Use either projectId OR projectSlug, not both
|
||||||
|
projectId: <project-id> # Either projectId or projectSlug is required
|
||||||
|
# projectSlug: <project-slug>
|
||||||
environmentSlug: <env-slug>
|
environmentSlug: <env-slug>
|
||||||
secretsPath: <secrets-path>
|
secretsPath: <secrets-path>
|
||||||
```
|
```
|
||||||
@@ -238,8 +240,21 @@ spec:
|
|||||||
|
|
||||||
<Accordion title="dynamicSecret.projectId">
|
<Accordion title="dynamicSecret.projectId">
|
||||||
The project ID of where the dynamic secret is stored in Infisical.
|
The project ID of where the dynamic secret is stored in Infisical.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Please note that you can only use either `projectId` or `projectSlug` in the `dynamicSecret` field.
|
||||||
|
</Note>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
|
<Accordion title="dynamicSecret.projectSlug">
|
||||||
|
The project slug of where the dynamic secret is stored in Infisical.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Please note that you can only use either `projectId` or `projectSlug` in the `dynamicSecret` field.
|
||||||
|
</Note>
|
||||||
|
</Accordion>
|
||||||
|
|
||||||
|
|
||||||
{" "}
|
{" "}
|
||||||
|
|
||||||
<Accordion title="dynamicSecret.environmentSlug">
|
<Accordion title="dynamicSecret.environmentSlug">
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ Before applying the InfisicalPushSecret CRD, you need to create a Kubernetes sec
|
|||||||
deletionPolicy: Delete # If set to delete, the secret(s) inside Infisical managed by the operator, will be deleted if the InfisicalPushSecret CRD is deleted.
|
deletionPolicy: Delete # If set to delete, the secret(s) inside Infisical managed by the operator, will be deleted if the InfisicalPushSecret CRD is deleted.
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
projectId: <project-id>
|
projectId: <project-id> # Either projectId or projectSlug is required
|
||||||
|
projectSlug: <project-slug>
|
||||||
environmentSlug: <env-slug>
|
environmentSlug: <env-slug>
|
||||||
secretsPath: <secret-path>
|
secretsPath: <secret-path>
|
||||||
|
|
||||||
@@ -203,6 +204,18 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
|
|||||||
|
|
||||||
<Accordion title="destination.projectId">
|
<Accordion title="destination.projectId">
|
||||||
The project ID where you want to create the secrets in Infisical.
|
The project ID where you want to create the secrets in Infisical.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Please note that you can only use either `projectId` or `projectSlug` in the `destination` field.
|
||||||
|
</Note>
|
||||||
|
</Accordion>
|
||||||
|
|
||||||
|
<Accordion title="destination.projectSlug">
|
||||||
|
The project slug where you want to create the secrets in Infisical.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
Please note that you can only use either `projectId` or `projectSlug` in the `destination` field.
|
||||||
|
</Note>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="destination.environmentSlug">
|
<Accordion title="destination.environmentSlug">
|
||||||
|
|||||||
@@ -142,7 +142,10 @@ spec:
|
|||||||
authentication:
|
authentication:
|
||||||
universalAuth:
|
universalAuth:
|
||||||
secretsScope:
|
secretsScope:
|
||||||
|
# either projectSlug or projectId is required
|
||||||
projectSlug: <project-slug> # <-- project slug
|
projectSlug: <project-slug> # <-- project slug
|
||||||
|
projectId: <project-id> # <-- project id
|
||||||
|
|
||||||
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:
|
||||||
@@ -496,9 +499,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@@ -545,9 +550,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@@ -588,9 +595,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@@ -631,9 +640,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@@ -675,9 +686,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@@ -730,9 +743,11 @@ spec:
|
|||||||
|
|
||||||
<Info>
|
<Info>
|
||||||
Make sure to also populate the `secretsScope` field with the project slug
|
Make sure to also populate the `secretsScope` field with the project slug
|
||||||
_`projectSlug`_, environment slug _`envSlug`_, and secrets path
|
_`projectSlug`_, or project ID _`projectId`_, environment slug _`envSlug`_, and secrets path
|
||||||
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
_`secretsPath`_ that you want to fetch secrets from. Please see the example
|
||||||
below.
|
below.
|
||||||
|
|
||||||
|
Please note that you can only use either `projectSlug` or `projectId` in the `secretsScope` field.
|
||||||
</Info>
|
</Info>
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
Reference in New Issue
Block a user