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 more scoping logic for namespace installation
Sheen Capadngan38d431ec77e3
diff --git a/helm-charts/secrets-operator/Chart.yaml b/helm-charts/secrets-operator/Chart.yamlindex b7965268e4..92a6611658 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.8.4+version: v0.8.5# 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.8.4"+appVersion: "v0.8.5"diff --git a/helm-charts/secrets-operator/templates/metrics-reader-rbac.yaml b/helm-charts/secrets-operator/templates/metrics-reader-rbac.yamlindex 7d7ceba46e..eec9e5bee0 100644--- a/helm-charts/secrets-operator/templates/metrics-reader-rbac.yaml+++ b/helm-charts/secrets-operator/templates/metrics-reader-rbac.yaml@@ -1,3 +1,4 @@+{{- if not .Values.scopedNamespace }}apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata:@@ -11,4 +12,5 @@ rules:- nonResourceURLs:- /metricsverbs:- - get\ No newline at end of file+ - get+{{- end }}\ No newline at end of filediff --git a/helm-charts/secrets-operator/templates/proxy-rbac.yaml b/helm-charts/secrets-operator/templates/proxy-rbac.yamlindex 5f07e29081..28b8f4e7d8 100644--- a/helm-charts/secrets-operator/templates/proxy-rbac.yaml+++ b/helm-charts/secrets-operator/templates/proxy-rbac.yaml@@ -1,3 +1,4 @@+{{- if not .Values.scopedNamespace }}apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata:@@ -37,4 +38,5 @@ roleRef:subjects:- kind: ServiceAccountname: '{{ include "secrets-operator.fullname" . }}-controller-manager'- namespace: '{{ .Release.Namespace }}'\ No newline at end of file+ namespace: '{{ .Release.Namespace }}'+{{- end }}\ No newline at end of filediff --git a/helm-charts/secrets-operator/values.yaml b/helm-charts/secrets-operator/values.yamlindex bdcff101ba..04ec63540b 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.8.4+ tag: v0.8.5resources:limits:cpu: 500m