263 lines
4.1 KiB
YAML
263 lines
4.1 KiB
YAML
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: console-sa
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: console-sa-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- secrets
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- deletecollection
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- namespaces
|
||
|
- services
|
||
|
- events
|
||
|
- resourcequotas
|
||
|
- nodes
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pods
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- delete
|
||
|
- deletecollection
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- persistentvolumeclaims
|
||
|
verbs:
|
||
|
- deletecollection
|
||
|
- list
|
||
|
- get
|
||
|
- watch
|
||
|
- update
|
||
|
- apiGroups:
|
||
|
- storage.k8s.io
|
||
|
resources:
|
||
|
- storageclasses
|
||
|
verbs:
|
||
|
- get
|
||
|
- watch
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- apps
|
||
|
resources:
|
||
|
- statefulsets
|
||
|
- deployments
|
||
|
verbs:
|
||
|
- get
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- watch
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- batch
|
||
|
resources:
|
||
|
- jobs
|
||
|
verbs:
|
||
|
- get
|
||
|
- create
|
||
|
- list
|
||
|
- patch
|
||
|
- watch
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- certificates.k8s.io
|
||
|
resources:
|
||
|
- certificatesigningrequests
|
||
|
- certificatesigningrequests/approval
|
||
|
- certificatesigningrequests/status
|
||
|
verbs:
|
||
|
- update
|
||
|
- create
|
||
|
- get
|
||
|
- apiGroups:
|
||
|
- minio.min.io
|
||
|
resources:
|
||
|
- '*'
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups:
|
||
|
- min.io
|
||
|
resources:
|
||
|
- '*'
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- persistentvolumes
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- persistentvolumeclaims
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- update
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- events
|
||
|
verbs:
|
||
|
- create
|
||
|
- list
|
||
|
- watch
|
||
|
- update
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- snapshot.storage.k8s.io
|
||
|
resources:
|
||
|
- volumesnapshots
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- snapshot.storage.k8s.io
|
||
|
resources:
|
||
|
- volumesnapshotcontents
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- storage.k8s.io
|
||
|
resources:
|
||
|
- csinodes
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- storage.k8s.io
|
||
|
resources:
|
||
|
- volumeattachments
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- endpoints
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- coordination.k8s.io
|
||
|
resources:
|
||
|
- leases
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- direct.csi.min.io
|
||
|
resources:
|
||
|
- volumes
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- apiextensions.k8s.io
|
||
|
resources:
|
||
|
- customresourcedefinitions
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- direct.csi.min.io
|
||
|
resources:
|
||
|
- directcsidrives
|
||
|
- directcsivolumes
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pod
|
||
|
- pods/log
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
name: console-sa-binding
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: console-sa-role
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: console-sa
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
data:
|
||
|
CONSOLE_PORT: "9090"
|
||
|
CONSOLE_TLS_PORT: "9443"
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: console-env
|
||
|
namespace: {{ .Release.Namespace }}
|