Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add doc on projectSlug support in k8s operator

Matheus Nogueira05e41545a6f2
diff --git a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
index 5ba9fa6a24..540d4c436e 100644
--- a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
+++ b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
@@ -39,6 +39,9 @@ spec:
- projectId: <your-project-id>
environmentSlug: dev
secretPath: /
+ - projectSlug: another-project
+ environmentSlug: dev
+ secretPath: /
targets:
- name: managed-secret
@@ -78,12 +81,15 @@ spec:
| Field | Required | Description |
| ------------------ | -------- | ------------------------------------------------------------- |
- | `projectId` | Yes | The Infisical project ID. |
+ | `projectId` | No | The Infisical project ID. |
+ | `projectSlug` | No | The Infisical project slug. |
| `environmentSlug` | Yes | The environment slug (e.g. `dev`, `staging`, `prod`). |
| `secretPath` | Yes | The path to the secrets. Root is `/`. |
| `tagSlugs` | No | Filter secrets by tag slugs. |
| `recursive` | No | Whether to recursively fetch secrets from sub-folders. Defaults to `false`. |
+ <Note>You have to provide either `projectId` or `projectSlug`. If none or both are set, the CRD validation will fail.</Note>
+
```yaml
sources:
- projectId: <your-project-id>