Installation
1
Add the Helm repository
2
Install the chart
Install the operator cluster-wide or namespace-scoped.
Choosing cluster-wide or namespace-scoped
Choosing 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.
- Cluster-wide (default)
- Namespace-scoped
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 settingcontrollerManager.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.
Syncing resources in parallel
By default, the operator syncs one resource at a time. To speed up syncing, setmaxConcurrency at the top level of values.yaml to the number of resources the operator should sync at the same time.
values.yaml
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 anInfisicalAuth 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
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
InfisicalAuthandInfisicalConnection(the ones nameddefault, used wheninfisicalAuthReforinfisicalConnectionRefisn’t set) - An existing
InfisicalAuththat references another namespace stops working when you turn isolation on, even if it was ready before - v1alpha1 resources (
InfisicalSecret,InfisicalPushSecret, andInfisicalDynamicSecret) aren’t restricted, so use RBAC to control who can create them
namespaceIsolation is supported in chart version 0.11.19 and above.