From d1c4a9c75a8316ec0c653d3177c5845f883f4f10 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Fri, 6 Dec 2024 02:54:50 +0400 Subject: [PATCH] updated env slugs --- docs/integrations/platforms/kubernetes.mdx | 8 ++++---- k8-operator/api/v1alpha1/infisicalpushsecret_types.go | 2 +- k8-operator/config/samples/crd/pushsecret/pushSecret.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/integrations/platforms/kubernetes.mdx b/docs/integrations/platforms/kubernetes.mdx index e62fd2535..9d1ba5145 100644 --- a/docs/integrations/platforms/kubernetes.mdx +++ b/docs/integrations/platforms/kubernetes.mdx @@ -1121,7 +1121,7 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y destination: projectId: - envSlug: + environmentSlug: secretsPath: push: @@ -1247,13 +1247,13 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y - 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: - envSlug: + environmentSlug: secretsPath: ``` @@ -1261,7 +1261,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. - + The environment slug where you want to create the secrets in Infisical. diff --git a/k8-operator/api/v1alpha1/infisicalpushsecret_types.go b/k8-operator/api/v1alpha1/infisicalpushsecret_types.go index 334b5a847..a25e7ae9c 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 8df2d3da5..ab54f1384 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: - envSlug: + environmentSlug: secretsPath: push: