Skip to content

Commit

Permalink
Merge pull request #3018 from Infisical/misc/added-more-scoping-for-n…
Browse files Browse the repository at this point in the history
…amespace

misc: added more scoping logic for namespace installation
  • Loading branch information
maidul98 authored Jan 21, 2025
2 parents d202fdf + 38d431e commit 938c06a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions helm-charts/secrets-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.scopedNamespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand All @@ -11,4 +12,5 @@ rules:
- nonResourceURLs:
- /metrics
verbs:
- get
- get
{{- end }}
4 changes: 3 additions & 1 deletion helm-charts/secrets-operator/templates/proxy-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.scopedNamespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down Expand Up @@ -37,4 +38,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: '{{ include "secrets-operator.fullname" . }}-controller-manager'
namespace: '{{ .Release.Namespace }}'
namespace: '{{ .Release.Namespace }}'
{{- end }}
2 changes: 1 addition & 1 deletion helm-charts/secrets-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ controllerManager:
- ALL
image:
repository: infisical/kubernetes-operator
tag: v0.8.4
tag: v0.8.5
resources:
limits:
cpu: 500m
Expand Down

0 comments on commit 938c06a

Please sign in to comment.