Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Commit fdd4e73

Browse files
authored
Merge pull request #136 from stepanstipl/GPII-3339-disable-kube-dashboard
GPII-3339: Disable Kubernetes Dashboard
2 parents f58d8b8 + 2fed487 commit fdd4e73

File tree

6 files changed

+3
-54
lines changed

6 files changed

+3
-54
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
description: Chart for simplifying common cluster administration charts
33
name: administration-tasks
4-
version: 0.3.1
4+
version: 0.3.2

gcp/modules/administration-tasks/administration-tasks/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,3 @@ clusterAdmins:
3838
users:
3939
- user@example.com
4040
```
41-
42-
## Assign roles to the Kubernetes Dashboard
43-
44-
```yaml
45-
dashboardPermissions:
46-
create: true
47-
clusterRoles:
48-
- view
49-
- secret-lister
50-
- cluster-object-viewer
51-
```

gcp/modules/administration-tasks/administration-tasks/templates/rolebinding-dashboard.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

gcp/modules/administration-tasks/administration-tasks/values.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,3 @@ clusterAdmins:
1717
create: false
1818
users: []
1919
# - user@example.com
20-
21-
# List roles to limit things you can view / modify with the dashboard
22-
# By default, you only get the "view" role
23-
dashboardPermissions:
24-
create: true
25-
clusterRoles:
26-
- view
27-
# - secret-lister
28-
# - cluster-object-viewer

gcp/modules/administration-tasks/values.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,3 @@ namespaces:
99
clusterAdmins:
1010
create: false
1111
users: []
12-
13-
# List roles to limit things you can view / modify with the dashboard
14-
# By default, you only get the "view" role
15-
# TODO We should move dashboard deployment from GKE to Helm chart
16-
dashboardPermissions:
17-
create: true
18-
clusterRoles:
19-
- view
20-
# - secret-lister
21-
# - cluster-object-viewer
22-
- cluster-admin

gcp/modules/gke-cluster/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ module "gke_cluster" {
2323
"https://www.googleapis.com/auth/logging.write",
2424
"https://www.googleapis.com/auth/monitoring",
2525
]
26+
27+
dashboard_disabled = true
2628
}

0 commit comments

Comments
 (0)