manual configs added
This commit is contained in:
13
config/dashboard/cluster-role.yaml
Normal file
13
config/dashboard/cluster-role.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: admin-user
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: admin-user
|
||||
namespace: kubernetes-dashboard
|
||||
|
||||
32
config/dashboard/dashboard-traefik.yaml
Normal file
32
config/dashboard/dashboard-traefik.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: ServersTransport
|
||||
metadata:
|
||||
name: dashboard-transport
|
||||
namespace: kubernetes-dashboard
|
||||
spec:
|
||||
serverName: dashboard-kong-proxy
|
||||
insecureSkipVerify: true
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: dashboard
|
||||
namespace: kubernetes-dashboard
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`dashboard.innohub.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: dashboard-kong-proxy
|
||||
port: 443
|
||||
scheme: https
|
||||
serversTransport: dashboard-transport
|
||||
namespace: kubernetes-dashboard
|
||||
tls:
|
||||
secretName: dashboard.innohub.local
|
||||
domains:
|
||||
- main: dashboard.innohub.local
|
||||
5
config/dashboard/service-account.yaml
Normal file
5
config/dashboard/service-account.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: admin-user
|
||||
namespace: kubernetes-dashboard
|
||||
Reference in New Issue
Block a user