Skip to content

Commit 5909b77

Browse files
Result of make helm-charts
1 parent 0de7c92 commit 5909b77

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

signadot/operator/templates/allowed_namespaces.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Bind the ClusterRole containing namespaced permissions to the
22
# controller-manager's ServiceAccount only in the specified namespaces.
3-
{{ range $namespace := .Values.allowedNamespaces }}
3+
{{- $allowedNamespaces := (include "getAllowedNamespaces" . | fromJsonArray) -}}
4+
{{ range $namespace := $allowedNamespaces }}
45
---
56
apiVersion: rbac.authorization.k8s.io/v1
67
kind: RoleBinding

signadot/operator/templates/signadot-controller-manager-deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ spec:
4242
command:
4343
- /manager
4444
env:
45-
- name: ALLOWED_NAMESPACES
46-
value: {{ range $i, $val := .Values.allowedNamespaces }}{{ if gt $i 0 }},{{ end }}{{ $val }}{{ else }}""{{ end }}
4745
- name: SIDECAR_INIT_IMAGE_PULL_POLICY
4846
value: {{ with .Values }}{{ with .routeInit }}{{ with .imagePullPolicy }}{{ . }}{{- else -}}"IfNotPresent"{{- end }}{{- else -}}"IfNotPresent"{{- end }}{{- else -}}"IfNotPresent"{{- end }}
4947
- name: SIDECAR_INIT_IMAGE_PULL_SECRET

signadot/operator/templates/signadot-manager-namespaced-clusterrole.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ rules:
2626
- ""
2727
resources:
2828
- pods
29+
- endpoints
2930
verbs:
3031
- create
3132
- delete

signadot/operator/templates/signadot-manager-role-clusterrole.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ metadata:
1212
{{- end }}
1313
name: signadot-manager-role
1414
rules:
15-
- apiGroups:
16-
- ""
17-
resources:
18-
- endpoints
19-
verbs:
20-
- create
21-
- delete
22-
- get
23-
- list
24-
- patch
25-
- update
26-
- watch
2715
- apiGroups:
2816
- admissionregistration.k8s.io
2917
resourceNames:

0 commit comments

Comments
 (0)