-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix application-log-reader ClusterRole not aggregating to admin Clust…
…erRole
- Loading branch information
1 parent
55866f5
commit 044a64f
Showing
6 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/golden/defaults/openshift4-logging/openshift4-logging/50_loki_logreader_fix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: logging-application-logs-reader-aggregate | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
name: logging-application-logs-reader-aggregate | ||
rules: | ||
- apiGroups: | ||
- loki.grafana.com | ||
resourceNames: | ||
- logs | ||
resources: | ||
- application | ||
verbs: | ||
- get |
17 changes: 17 additions & 0 deletions
17
tests/golden/legacy/openshift4-logging/openshift4-logging/50_loki_logreader_fix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: logging-application-logs-reader-aggregate | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
name: logging-application-logs-reader-aggregate | ||
rules: | ||
- apiGroups: | ||
- loki.grafana.com | ||
resourceNames: | ||
- logs | ||
resources: | ||
- application | ||
verbs: | ||
- get |
17 changes: 17 additions & 0 deletions
17
tests/golden/master/openshift4-logging/openshift4-logging/50_loki_logreader_fix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: logging-application-logs-reader-aggregate | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
name: logging-application-logs-reader-aggregate | ||
rules: | ||
- apiGroups: | ||
- loki.grafana.com | ||
resourceNames: | ||
- logs | ||
resources: | ||
- application | ||
verbs: | ||
- get |
17 changes: 17 additions & 0 deletions
17
tests/golden/multilineerr/openshift4-logging/openshift4-logging/50_loki_logreader_fix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: logging-application-logs-reader-aggregate | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
name: logging-application-logs-reader-aggregate | ||
rules: | ||
- apiGroups: | ||
- loki.grafana.com | ||
resourceNames: | ||
- logs | ||
resources: | ||
- application | ||
verbs: | ||
- get |