mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Limit permissions required for Logagent only setups (#20971)
Signed-off-by: Ciprian Hacman <ciprian.hacman@sematext.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
version: 1.0.21
|
||||
version: 1.0.22
|
||||
description: Helm chart for deploying Sematext Agent to Kubernetes
|
||||
keywords:
|
||||
- sematext
|
||||
|
||||
@@ -14,6 +14,14 @@ rules:
|
||||
resources:
|
||||
- events
|
||||
- pods
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
- watch
|
||||
{{- if or (.Values.containerToken) (.Values.infraToken) }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- configmaps
|
||||
- nodes
|
||||
- secrets
|
||||
@@ -53,3 +61,4 @@ rules:
|
||||
- watch
|
||||
- list
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user