Skip to content

Commit

Permalink
Merge pull request #8961 from rook/mergify/bp/release-1.7/pr-8884
Browse files Browse the repository at this point in the history
helm: remove chart content not in common.yaml  (backport #8884)
  • Loading branch information
leseb committed Oct 13, 2021
2 parents 9125b20 + 25a555c commit ba77f9f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 35 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.json
Expand Up @@ -15,6 +15,7 @@
"core",
"csi",
"docs",
"helm",
"mds",
"mgr",
"mon",
Expand Down
18 changes: 0 additions & 18 deletions cluster/charts/rook-ceph/templates/clusterrole.yaml
Expand Up @@ -264,24 +264,6 @@ rules:
verbs:
- get
- list
# Use a default dict to avoid 'can't give argument to non-function' errors from text/template
{{- if ne ((.Values.agent | default (dict "mountSecurityMode" "")).mountSecurityMode | default "") "Any" }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: rook-ceph-agent-mount
labels:
operator: rook
storage-backend: ceph
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
{{- end }}
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
17 changes: 0 additions & 17 deletions cluster/charts/rook-ceph/templates/clusterrolebinding.yaml
Expand Up @@ -152,23 +152,6 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: rook-ceph-system-psp-users
labels:
operator: rook
storage-backend: ceph
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: rook-ceph-system-psp-user
subjects:
- kind: ServiceAccount
name: rook-ceph-system
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: rook-csi-cephfs-provisioner-sa-psp
roleRef:
Expand Down

0 comments on commit ba77f9f

Please sign in to comment.