Skip to content

Commit

Permalink
updated env slugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Dec 7, 2024
1 parent adb0819 commit 01dcbb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/integrations/platforms/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -1197,21 +1197,21 @@ 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>
```

<Accordion title="destination.projectId">
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>

Expand Down
2 changes: 1 addition & 1 deletion k8-operator/api/v1alpha1/infisicalpushsecret_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion k8-operator/config/samples/crd/pushsecret/pushSecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:

destination:
projectId: <project-id>
envSlug: <env-slug>
environmentSlug: <env-slug>
secretsPath: <secret-path>

push:
Expand Down

0 comments on commit 01dcbb0

Please sign in to comment.