Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
/coder-xrayPublic archive

Commit7b477d4

Browse files
authored
fix: support monitoring workspaces in other namespaces (#14)
1 parent2016b04 commit7b477d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎helm/templates/service.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind:Role
33
metadata:
44
name:coder-xray-kube-role
5+
namespace:{{ .Values.namespace }}
56
rules:
67
-apiGroups:[""]
78
resources:["pods", "events"]
@@ -21,13 +22,15 @@ apiVersion: rbac.authorization.k8s.io/v1
2122
kind:RoleBinding
2223
metadata:
2324
name:coder-xray-kube-rolebinding
25+
namespace:{{ .Values.namespace }}
2426
roleRef:
2527
apiGroup:rbac.authorization.k8s.io
2628
kind:Role
2729
name:coder-xray-kube-role
2830
subjects:
2931
-kind:ServiceAccount
3032
name:{{ .Values.serviceAccount.name | quote }}
33+
namespace:{{ .Release.Namespace }}
3134
---
3235
apiVersion:apps/v1
3336
kind:Deployment

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp