Skip to content

Commit

Permalink
Merge pull request #13 from lightspin-tech/remove_ns_from_clusterrole
Browse files Browse the repository at this point in the history
remove namespace from clusterrole & clusterrolebinding
  • Loading branch information
michaell-lightspin authored Feb 21, 2023
2 parents 5e779c2 + 04010ae commit 9ac18d5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kubecollector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubecollector
description: A Helm chart for Lightspin Kuberenetes CSPM
type: application
version: 0.1.8
version: 0.1.9
appVersion: "2.0.0"
home: https://lightspin.io/
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/kubecollector/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lightspin KubeCollector

![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

[Lightspin](https://www.lightspin.io/) is a graph-based technology immediately visualizes, prioritizes, and dynamically remediates critical cloud risks with no custom configuration needed. This repository contains the Helm chart for the Lightspin KubeCollector application to be deployed on customers Kubernetes clusters.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "lightspin-kubecollector.runtime.falco.fullname" . }}
{{ include "lightspin-kubecollector.namespace" . | indent 2 }}
labels:
{{- include "lightspin-kubecollector.runtime.falco.labels" . | nindent 4 }}
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: lightspin-secaudit
{{ include "lightspin-kubecollector.namespace" . | indent 2 }}
rules:
- apiGroups: ["*"]
resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations", "customresourcedefinitions", "apiservices", "controllerrevisions", "daemonsets", "deployments", "replicasets", "statefulsets", "horizontalpodautoscalers", "cronjobs", "jobs", "certificatesigningrequests", "leases", "endpointslices", "events", "flowschemas", "prioritylevelconfigurations", "nodes", "pods", "storagestates", "storageversionmigrations", "ingressclasses", "ingresses", "networkpolicies", "runtimeclasses", "poddisruptionbudgets", "podsecuritypolicies", "clusterrolebindings", "clusterroles", "rolebindings", "roles", "priorityclasses", "volumesnapshotclasses", "volumesnapshotcontents", "volumesnapshots", "csidrivers", "csinodes", "storageclasses", "volumeattachments", "csistoragecapacities", "componentstatuses", "configmaps", "endpoints", "events", "limitranges", "namespaces", "nodes", "persistentvolumeclaims", "persistentvolumes", "pods", "podtemplates", "replicationcontrollers", "resourcequotas", "serviceaccounts", "services"]
Expand Down

0 comments on commit 9ac18d5

Please sign in to comment.