Skip to main content
The Infisical Kubernetes Operator automates secret management between Infisical and your Kubernetes cluster. It syncs secrets from Infisical into Kubernetes, pushes secrets from Kubernetes to Infisical, and manages dynamic secrets with time-bound leases. For usage details, CRD reference, and examples, see the Kubernetes Operator documentation.

Installation

1

Add the Helm repository

2

Install the chart

Install the operator cluster-wide or namespace-scoped.
The installation mode decides whether a resource in one namespace can use credentials from another namespace:In either mode, you can also turn on namespace isolation so that v1beta1 resources can only reference objects in their own namespace.
The operator will watch and manage CRDs across all namespaces in the cluster. This is the default and quickest way to get started.
3

Verify the deployment

Check the pods in the namespace you installed the operator into:
If you installed cluster-wide without a --namespace flag, the operator is deployed into your current namespace (typically default), so run kubectl get pods without the flag.

Using your own service account

By default a service account is created for the operator based on the release name. You can bring your own service account by setting controllerManager.serviceAccount.create to false and controllerManager.serviceAccount.name to the name of your existing service account.
values.yaml
The service account must already exist in the namespace you’re installing the operator in.
Custom service accounts are supported in chart version 0.10.11 and above.

Syncing resources in parallel

By default, the operator syncs one resource at a time. To speed up syncing, set maxConcurrency at the top level of values.yaml to the number of resources the operator should sync at the same time.
values.yaml
The value must be at least 1, and a higher value sends more requests to Infisical at the same time. maxConcurrency is supported in chart version 0.11.15 and above.
maxConcurrency currently only applies to InfisicalStaticSecret and InfisicalStaticSecretPush resources. The operator still syncs every other resource type one at a time.

Namespace isolation

By default, a v1beta1 resource can reference objects in any namespace the operator can access, such as an InfisicalAuth or a credentials Secret in another namespace. Set namespaceIsolation to true so that each v1beta1 resource can only reference objects in its own namespace. It works in both cluster-wide and namespace-scoped installs.
values.yaml
With namespace isolation on, these references must be in the same namespace as the resource: A reference to another namespace fails validation, and the error shows in the resource’s status.
  • Only resources in the operator’s namespace can use the default InfisicalAuth and InfisicalConnection (the ones named default, used when infisicalAuthRef or infisicalConnectionRef isn’t set)
  • An existing InfisicalAuth that references another namespace stops working when you turn isolation on, even if it was ready before
  • v1alpha1 resources (InfisicalSecret, InfisicalPushSecret, and InfisicalDynamicSecret) aren’t restricted, so use RBAC to control who can create them
namespaceIsolation is supported in chart version 0.11.19 and above.

Uninstall

The managed secrets created by the operator won’t be deleted when the operator is uninstalled.

Configuration reference

Default Helm values