Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
misc: added missing helm configs
Sheen Capadngan35f7420447cd
diff --git a/docs/integrations/platforms/kubernetes.mdx b/docs/integrations/platforms/kubernetes.mdxindex 6defea1197..77bf94e6d7 100644--- a/docs/integrations/platforms/kubernetes.mdx+++ b/docs/integrations/platforms/kubernetes.mdx@@ -45,11 +45,21 @@ The operator can be install via [Helm](https://helm.sh) or [kubectl](https://gitThe operator can be configured to watch and manage secrets in a specific namespace instead of having cluster-wide access.+ **Note**: For multiple namespace-scoped installations, only the first installation should install CRDs. Subsequent installations should set `installCRDs: false` to avoid conflicts.+```bash- helm install operator infisical-helm-charts/secrets-operator \- --namespace your-namespace \- --set scopedNamespace=your-namespace \+ # First namespace installation (with CRDs)+ helm install operator-namespace1 infisical-helm-charts/secrets-operator \+ --namespace first-namespace \+ --set scopedNamespace=first-namespace \--set scopedRBAC=true++ # Subsequent namespace installations+ helm install operator-namespace2 infisical-helm-charts/secrets-operator \+ --namespace another-namespace \+ --set scopedNamespace=another-namespace \+ --set scopedRBAC=true \+ --set installCRDs=false```When scoped to a namespace, the operator will:@@ -61,14 +71,19 @@ The operator can be install via [Helm](https://helm.sh) or [kubectl](https://gitThe default configuration gives cluster-wide access:```yaml+ installCRDs: true # Install CRDs (set to false for additional namespace installations)scopedNamespace: "" # Empty for cluster-wide accessscopedRBAC: false # Cluster-wide permissions```+ If you want to install operators in multiple namespaces simultaneously:+ - Make sure to set `installCRDs: false` for all but one of the installations to avoid conflicts, as CRDs are cluster-wide resources.+ - Use unique release names for each installation (e.g., operator-namespace1, operator-namespace2).+</Tab>- <Tab title="Kubectl">- For production deployments, it is highly recommended to set the version of the Kubernetes operator manually instead of pointing to the latest version.- Doing so will help you avoid accidental updates to the newest release which may introduce unintended breaking changes. View all application versions [here](https://hub.docker.com/r/infisical/kubernetes-operator/tags).+ <Tab title="Kubectl">+ For production deployments, it is highly recommended to set the version of the Kubernetes operator manually instead of pointing to the latest version.+ Doing so will help you avoid accidental updates to the newest release which may introduce unintended breaking changes. View all application versions [here](https://hub.docker.com/r/infisical/kubernetes-operator/tags).The command below will install the most recent version of the Kubernetes operator.However, to set the version manually, download the manifest and set the image tag version of `infisical/kubernetes-operator` according to your desired version.@@ -714,6 +729,7 @@ Define secret keys and their corresponding templates.Each data value uses a Golang template with access to all secrets retrieved from the specified scope.Secrets are structured as follows:+```golangtype TemplateSecret struct {Value string `json:"value"`@@ -722,6 +738,7 @@ type TemplateSecret struct {```#### Example template configuration:+```golangmanagedSecretReference:secretName: managed-secret@@ -733,19 +750,23 @@ type TemplateSecret struct {```When you run the following command:+```bashkubectl get secret managed-secret -o jsonpath='{.data}'```You'll receive Kubernetes secrets output that includes the NEW_KEY:+```bash{... "KEY":"d29ybGQ=","NEW_KEY":"LyBoZWxsbw=="}```When you set `includeAllSecrets` as `false` the Kubernetes secrets outputs will be:+```bash{"NEW_KEY":"LyBoZWxsbw=="}```+</Accordion><Accordion title="managedSecretReference.creationPolicy">Creation polices allow you to control whether or not owner references should be added to the managed Kubernetes secret that is generated by the Infisical operator.diff --git a/helm-charts/secrets-operator/Chart.yaml b/helm-charts/secrets-operator/Chart.yamlindex ca6747984c..fc76e455fc 100644--- a/helm-charts/secrets-operator/Chart.yaml+++ b/helm-charts/secrets-operator/Chart.yaml@@ -13,9 +13,9 @@ type: application# This is the chart version. This version number should be incremented each time you make changes# to the chart and its templates, including the app version.# Versions are expected to follow Semantic Versioning (https://semver.org/)-version: v0.7.6+version: v0.7.7# This is the version number of the application being deployed. This version number should be# incremented each time you make changes to the application. Versions are not expected to# follow Semantic Versioning. They should reflect the version the application is using.# It is recommended to use it with quotes.-appVersion: "v0.7.6"+appVersion: "v0.7.7"diff --git a/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml b/helm-charts/secrets-operator/templates/infisicalsecret-crd.yamlindex 9d300eaf45..18198d3658 100644--- a/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml+++ b/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml@@ -1,3 +1,4 @@+{{- if .Values.installCRDs }}apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata:@@ -424,4 +425,5 @@ status:kind: ""plural: ""conditions: []- storedVersions: []\ No newline at end of file+ storedVersions: []+{{- end }}\ No newline at end of filediff --git a/helm-charts/secrets-operator/values.yaml b/helm-charts/secrets-operator/values.yamlindex 82668c5a4e..4b25f9d14f 100644--- a/helm-charts/secrets-operator/values.yaml+++ b/helm-charts/secrets-operator/values.yaml@@ -32,7 +32,7 @@ controllerManager:- ALLimage:repository: infisical/kubernetes-operator- tag: v0.7.6+ tag: v0.7.7resources:limits:cpu: 500m@@ -48,6 +48,7 @@ controllerManager:kubernetesClusterDomain: cluster.localscopedNamespace: ""scopedRBAC: false+installCRDs: truemetricsService:ports:- name: https