Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/data-sources/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ HolmesGPT includes read-only permissions for common Kubernetes operators and too
istio: true
gatewayApi: true
velero: true
externalSecrets: true
```

=== "Robusta Helm Chart"
Expand All @@ -37,6 +38,7 @@ HolmesGPT includes read-only permissions for common Kubernetes operators and too
istio: true
gatewayApi: true
velero: true
externalSecrets: true
```

## Adding Custom Permissions
Expand Down
137 changes: 128 additions & 9 deletions helm/holmes/templates/holmesgpt-service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,24 @@ rules:
- apiGroups:
- monitoring.coreos.com
resources:
- "*"
- alertmanagers
- alertmanagers/finalizers
- alertmanagers/status
- alertmanagerconfigs
- prometheuses
- prometheuses/finalizers
- prometheuses/status
- prometheusagents
- prometheusagents/finalizers
- prometheusagents/status
- thanosrulers
- thanosrulers/finalizers
- thanosrulers/status
- scrapeconfigs
- servicemonitors
- podmonitors
- probes
- prometheusrules
verbs:
- get
- list
Expand All @@ -194,7 +211,18 @@ rules:
- apiGroups:
- argoproj.io
resources:
- "*"
- applications
- applicationsets
- appprojects
- workflows
- workflowtemplates
- cronworkflows
- rollouts
- analysisruns
- analysistemplates
- experiments
- eventsources
- sensors
verbs:
- get
- list
Expand All @@ -203,11 +231,38 @@ rules:
{{- if .Values.crdPermissions.flux }}
- apiGroups:
- source.toolkit.fluxcd.io
resources:
- gitrepositories
- helmrepositories
- helmcharts
- buckets
- ocirepositories
verbs:
- get
- list
- watch
- apiGroups:
- kustomize.toolkit.fluxcd.io
resources:
- kustomizations
verbs:
- get
- list
- watch
- apiGroups:
- helm.toolkit.fluxcd.io
resources:
- helmreleases
verbs:
- get
- list
- watch
- apiGroups:
- notification.toolkit.fluxcd.io
resources:
- "*"
- alerts
- providers
- receivers
verbs:
- get
- list
Expand All @@ -217,7 +272,14 @@ rules:
- apiGroups:
- kafka.strimzi.io
resources:
- "*"
- kafkas
- kafkatopics
- kafkausers
- kafkaconnects
- kafkaconnectors
- kafkamirrormakers
- kafkabridges
- kafkarebalances
verbs:
- get
- list
Expand All @@ -227,7 +289,10 @@ rules:
- apiGroups:
- keda.sh
resources:
- "*"
- scaledobjects
- scaledjobs
- triggerauthentications
- clustertriggerauthentications
verbs:
- get
- list
Expand All @@ -236,9 +301,19 @@ rules:
{{- if .Values.crdPermissions.crossplane }}
- apiGroups:
- pkg.crossplane.io
resources:
- providers
- configurations
- functions
verbs:
- get
- list
- watch
- apiGroups:
- apiextensions.crossplane.io
resources:
- "*"
- compositions
- compositeresourcedefinitions
verbs:
- get
- list
Expand All @@ -247,9 +322,24 @@ rules:
{{- if .Values.crdPermissions.istio }}
- apiGroups:
- networking.istio.io
resources:
- virtualservices
- destinationrules
- gateways
- serviceentries
- sidecars
- workloadentries
- workloadgroups
- proxyconfigs
- envoyfilters
verbs:
- get
- list
- watch
- apiGroups:
- telemetry.istio.io
resources:
- "*"
- telemetries
verbs:
- get
- list
Expand All @@ -259,7 +349,14 @@ rules:
- apiGroups:
- gateway.networking.k8s.io
resources:
- "*"
- gatewayclasses
- gateways
- httproutes
- tcproutes
- tlsroutes
- udproutes
- grpcroutes
- referencegrants
verbs:
- get
- list
Expand All @@ -269,7 +366,29 @@ rules:
- apiGroups:
- velero.io
resources:
- "*"
- backups
- restores
- schedules
- backupstoragelocations
- volumesnapshotlocations
- podvolumebackups
- podvolumerestores
- downloadrequests
- deletebackuprequests
- serverstatusrequests
verbs:
- get
- list
- watch
{{- end }}
{{- if .Values.crdPermissions.externalSecrets }}
- apiGroups:
- external-secrets.io
resources:
- externalsecrets
- secretstores
- clustersecretstores
- clusterexternalsecrets
verbs:
- get
- list
Expand Down
3 changes: 2 additions & 1 deletion helm/holmes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ crdPermissions:
crossplane: true
istio: true
gatewayApi: true
velero: true
velero: true
externalSecrets: true

enablePostProcessing: false
postProcessingPrompt: "builtin://generic_post_processing.jinja2"
Expand Down
Loading