Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: S-mishina <[email protected]>
  • Loading branch information
S-mishina committed Sep 24, 2024
1 parent 2f26993 commit 21f4459
Show file tree
Hide file tree
Showing 11 changed files with 1,181 additions and 42 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kustmize.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- role.yaml
- role_binding.yaml

33 changes: 33 additions & 0 deletions sample_manifest/kubernetes/apm_tempo/cluster/role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-role
namespace: kube-system
rules:
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-role
namespace: mockserver
rules:
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
verbs:
- get
- list
- watch
27 changes: 27 additions & 0 deletions sample_manifest/kubernetes/apm_tempo/cluster/role_binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: prometheus-rolebinding
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: prometheus-role
subjects:
- kind: ServiceAccount
name: prometheus
namespace: monitoring
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: prometheus-rolebinding
namespace: mockserver
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: prometheus-role
subjects:
- kind: ServiceAccount
name: prometheus
namespace: monitoring
Loading

0 comments on commit 21f4459

Please sign in to comment.