Skip to content

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

updated env slugs

Daniel Hougaard01dcbb0122eb
diff --git a/docs/integrations/platforms/kubernetes.mdx b/docs/integrations/platforms/kubernetes.mdx
index 7edc8562a4..0a61f46824 100644
--- a/docs/integrations/platforms/kubernetes.mdx
+++ b/docs/integrations/platforms/kubernetes.mdx
@@ -1071,7 +1071,7 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
destination:
projectId: <project-id>
- envSlug: <env-slug>
+ environmentSlug: <env-slug>
secretsPath: <secret-path>
push:
@@ -1197,13 +1197,13 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
</Accordion>
<Accordion title="destination">
- The `destination` field is used to specify where you want to create the secrets in Infisical. The required fields are `projectId`, `envSlug`, and `secretsPath`.
+ The `destination` field is used to specify where you want to create the secrets in Infisical. The required fields are `projectId`, `environmentSlug`, and `secretsPath`.
```yaml
spec:
destination:
projectId: <project-id>
- envSlug: <env-slug>
+ environmentSlug: <env-slug>
secretsPath: <secrets-path>
```
@@ -1211,7 +1211,7 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
The project ID where you want to create the secrets in Infisical.
</Accordion>
- <Accordion title="destination.envSlug">
+ <Accordion title="destination.environmentSlug">
The environment slug where you want to create the secrets in Infisical.
</Accordion>
diff --git a/k8-operator/api/v1alpha1/infisicalpushsecret_types.go b/k8-operator/api/v1alpha1/infisicalpushsecret_types.go
index 334b5a8476..a25e7ae9c7 100644
--- a/k8-operator/api/v1alpha1/infisicalpushsecret_types.go
+++ b/k8-operator/api/v1alpha1/infisicalpushsecret_types.go
@@ -10,7 +10,7 @@ type InfisicalPushSecretDestination struct {
SecretsPath string `json:"secretsPath"`
// +kubebuilder:validation:Required
// +kubebuilder:validation:Immutable
- EnvironmentSlug string `json:"EnvironmentSlug"`
+ EnvironmentSlug string `json:"environmentSlug"`
// +kubebuilder:validation:Required
// +kubebuilder:validation:Immutable
ProjectID string `json:"projectId"`
diff --git a/k8-operator/config/samples/crd/pushsecret/pushSecret.yaml b/k8-operator/config/samples/crd/pushsecret/pushSecret.yaml
index 8df2d3da5d..ab54f1384c 100644
--- a/k8-operator/config/samples/crd/pushsecret/pushSecret.yaml
+++ b/k8-operator/config/samples/crd/pushsecret/pushSecret.yaml
@@ -14,7 +14,7 @@ spec:
destination:
projectId: <project-id>
- envSlug: <env-slug>
+ environmentSlug: <env-slug>
secretsPath: <secret-path>
push: