提交 9edb82b4 编写于 作者: I innerpeacez

modify role to clusterrole

上级 fafaa1cb
apiVersion: v1
apiVersion: v2
name: skywalking
home: https://skywalking.apache.org
version: 0.1.1
version: 0.1.2
appVersion: 6.4.0
description: Apache SkyWalking APM System
icon: https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg
......
kind: Role
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "skywalking.fullname" . }}
......@@ -11,3 +11,6 @@ rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list"]
- apiGroups: ["extensions"]
resources: ["deployments", "replicasets"]
verbs: ["get", "watch", "list"]
\ No newline at end of file
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
kind: ClusterRoleBinding
metadata:
name: {{ template "skywalking.fullname" . }}
labels:
......@@ -9,7 +9,7 @@ metadata:
heritage: "{{ .Release.Service }}"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
kind: ClusterRole
name: {{ template "skywalking.fullname" . }}
subjects:
- kind: ServiceAccount
......
......@@ -33,7 +33,9 @@ oap:
# example: oap-foo
env:
# more env, please refer to https://hub.docker.com/r/apache/skywalking-oap-server
# or https://github.com/apache/skywalking-docker/blob/master/6/6.4/oap/README.md#sw_telemetry
# for example :
# SW_ENVOY_ALS_ENABLED: true
ui:
name: skywalking-ui
replicas: 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册