updated env slugs

This commit is contained in:
Daniel Hougaard
2024-12-06 02:54:50 +04:00
parent 5532844ee7
commit d1c4a9c75a
3 changed files with 6 additions and 6 deletions

View File

@@ -1121,7 +1121,7 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
destination: destination:
projectId: <project-id> projectId: <project-id>
envSlug: <env-slug> environmentSlug: <env-slug>
secretsPath: <secret-path> secretsPath: <secret-path>
push: push:
@@ -1247,13 +1247,13 @@ After applying the InfisicalPushSecret CRD, you should notice that the secrets y
</Accordion> </Accordion>
<Accordion title="destination"> <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 ```yaml
spec: spec:
destination: destination:
projectId: <project-id> projectId: <project-id>
envSlug: <env-slug> environmentSlug: <env-slug>
secretsPath: <secrets-path> secretsPath: <secrets-path>
``` ```
@@ -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 project ID where you want to create the secrets in Infisical.
</Accordion> </Accordion>
<Accordion title="destination.envSlug"> <Accordion title="destination.environmentSlug">
The environment slug where you want to create the secrets in Infisical. The environment slug where you want to create the secrets in Infisical.
</Accordion> </Accordion>

View File

@@ -10,7 +10,7 @@ type InfisicalPushSecretDestination struct {
SecretsPath string `json:"secretsPath"` SecretsPath string `json:"secretsPath"`
// +kubebuilder:validation:Required // +kubebuilder:validation:Required
// +kubebuilder:validation:Immutable // +kubebuilder:validation:Immutable
EnvironmentSlug string `json:"EnvironmentSlug"` EnvironmentSlug string `json:"environmentSlug"`
// +kubebuilder:validation:Required // +kubebuilder:validation:Required
// +kubebuilder:validation:Immutable // +kubebuilder:validation:Immutable
ProjectID string `json:"projectId"` ProjectID string `json:"projectId"`

View File

@@ -14,7 +14,7 @@ spec:
destination: destination:
projectId: <project-id> projectId: <project-id>
envSlug: <env-slug> environmentSlug: <env-slug>
secretsPath: <secret-path> secretsPath: <secret-path>
push: push: