Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
d1f401a7
Commit
d1f401a7
authored
4 years ago
by
viperstars
Browse files
Options
Downloads
Patches
Plain Diff
add cluster role to list and watch ingresses in api group "networking.k8s.io"
parent
003daae4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jsonnet/kube-prometheus/components/prometheus.libsonnet
+5
-0
5 additions, 0 deletions
jsonnet/kube-prometheus/components/prometheus.libsonnet
manifests/prometheus-roleSpecificNamespaces.yaml
+24
-0
24 additions, 0 deletions
manifests/prometheus-roleSpecificNamespaces.yaml
with
29 additions
and
0 deletions
jsonnet/kube-prometheus/components/prometheus.libsonnet
+
5
−
0
View file @
d1f401a7
...
@@ -229,6 +229,11 @@ function(params) {
...
@@ -229,6 +229,11 @@ function(params) {
resources
:
[
'ingresses'
],
resources
:
[
'ingresses'
],
verbs
:
[
'get'
,
'list'
,
'watch'
],
verbs
:
[
'get'
,
'list'
,
'watch'
],
},
},
{
apiGroups
:
[
'networking.k8s.io'
],
resources
:
[
'ingresses'
],
verbs
:
[
'get'
,
'list'
,
'watch'
],
},
],
],
};
};
{
{
...
...
This diff is collapsed.
Click to expand it.
manifests/prometheus-roleSpecificNamespaces.yaml
+
24
−
0
View file @
d1f401a7
...
@@ -29,6 +29,14 @@ items:
...
@@ -29,6 +29,14 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiGroups
:
-
networking.k8s.io
resources
:
-
ingresses
verbs
:
-
get
-
list
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
-
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
kind
:
Role
metadata
:
metadata
:
...
@@ -58,6 +66,14 @@ items:
...
@@ -58,6 +66,14 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiGroups
:
-
networking.k8s.io
resources
:
-
ingresses
verbs
:
-
get
-
list
-
watch
-
apiVersion
:
rbac.authorization.k8s.io/v1
-
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
kind
:
Role
metadata
:
metadata
:
...
@@ -87,4 +103,12 @@ items:
...
@@ -87,4 +103,12 @@ items:
-
get
-
get
-
list
-
list
-
watch
-
watch
-
apiGroups
:
-
networking.k8s.io
resources
:
-
ingresses
verbs
:
-
get
-
list
-
watch
kind
:
RoleList
kind
:
RoleList
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment