Skip to content

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

Update infisical-secret-crd.mdx

Daniel Hougaardc58b3666adc9
diff --git a/docs/integrations/platforms/kubernetes/infisical-secret-crd.mdx b/docs/integrations/platforms/kubernetes/infisical-secret-crd.mdx
index 22b45815fe..7543c83375 100644
--- a/docs/integrations/platforms/kubernetes/infisical-secret-crd.mdx
+++ b/docs/integrations/platforms/kubernetes/infisical-secret-crd.mdx
@@ -18,7 +18,10 @@ metadata:
example.com/annotation-to-be-passed-to-managed-secret: "sample-value"
spec:
hostAPI: https://app.infisical.com/api
- resyncInterval: 10
+ syncConfig:
+ resyncInterval: 10s
+ instantUpdates: false
+
authentication:
kubernetesAuth:
identityId: <machine-identity-id>
@@ -62,26 +65,48 @@ When `hostAPI` is not defined the operator fetches secrets from Infisical Cloud.
</Accordion>
</Accordion>
-<Accordion title="resyncInterval">
- This property defines the time in seconds between each secret re-sync from
- Infisical. Shorter time between re-syncs will require higher rate limits only
- available on paid plans. Default re-sync interval is every 1 minute.
+<Accordion title="syncConfig">
+ This block defines the synchronization configuration for the operator to fetch secrets from Infisical.
+</Accordion>
+
+<Accordion title="syncConfig.resyncInterval">
+ The `resyncInterval` is a string-formatted duration that defines the time between each resync. The field is optional, and will default to 60 seconds if not defined.
+
+ The format of the field is `[duration][unit]` where `duration` is a number and `unit` is a string representing the unit of time.
+
+ The following units are supported:
+ - `s` for seconds _(must be at least 5 seconds)_
+ - `m` for minutes
+ - `h` for hours
+ - `d` for days
+ - `w` for weeks
+
+ The default value is `1m` _(1 minute)_.
+
+ Valid expressions for the `resyncInterval` field:
+ ```yaml
+ resyncInterval: 60s # 60 seconds
+ resyncInterval: 5m # 5 minutes
+ resyncInterval: 2h # 2 hours
+ resyncInterval: 3d # 3 days
+ resyncInterval: 4w # 4 weeks
+ ```
+
</Accordion>
-<Accordion title="instantUpdates">
+<Accordion title="syncConfig.instantUpdates">
This property enables instant updates from Infisical. When set to true,
changes made to secrets in Infisical will be immediately pushed to the
operator, triggering a configuration update. This reduces the need for
periodic re-syncs.
+ Instant updates leverages [Event Subscriptions](/documentation/platform/event-subscriptions) to receive real-time updates when secret changes occur within Infisical.
-<Info>
- Note that `Instant Updates` is a paid feature.
+ <Note>
+ **Instant Updates is a paid feature**
- If you're using Infisical Cloud, then it is available under the **Pro**,
- and **Enterprise Tier** with varying retention periods. If you're self-hosting Infisical,
- then you should contact [email protected] to purchase an enterprise license to use it.
-
-</Info>
+ Instant Updates is available under the Enterprise Tier.
+ Please contact [[email protected]](mailto:[email protected]) for more information.
+ </Note>
</Accordion>
<Accordion title="tls">
@@ -114,7 +139,9 @@ When `hostAPI` is not defined the operator fetches secrets from Infisical Cloud.
To retrieve the requested secrets, the operator must first authenticate with Infisical.
The list of available authentication methods are shown below.
-<Accordion title="authentication"></Accordion>
+<Accordion title="authentication">
+ This block defines the authentication credentials and secrets scope to be used when fetching secrets from Infisical.
+</Accordion>
<Accordion title="authentication.universalAuth">
The universal machine identity authentication method is used to authenticate with Infisical. The client ID and client secret needs to be stored in a Kubernetes secret. This block defines the reference to the name and namespace of secret that stores these credentials.