Skip to content

Commit c0cf623

Browse files
authored
Helm chart updates (#141)
* update plugin version * fix pipeline * fix pipeline * add needs * update chart icon * allow all api groups * allow write actions by default
1 parent 9876b6a commit c0cf623

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
image:
6262
runs-on: ubuntu-latest
63-
needs: release
63+
needs: [release, pre_release]
6464
timeout-minutes: 60
6565
steps:
6666
- name: Check out the repo
@@ -85,13 +85,13 @@ jobs:
8585
with:
8686
context: .
8787
push: ${{ github.event_name != 'pull_request' }}
88-
tags: ${{ needs.pre_release.outputs.release_tag }}
88+
tags: komodorio/helm-dashboard:${{ needs.pre_release.outputs.release_tag }},komodorio/helm-dashboard:latest
8989
labels: ${{ steps.meta.outputs.labels }}
9090
build-args: VER=${{ needs.pre_release.outputs.release_tag }}
9191

9292
publish_chart:
9393
runs-on: ubuntu-latest
94-
need: image
94+
needs: [image, pre_release]
9595
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
9696
steps:
9797
- name: Checkout

charts/helm-dashboard/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ type: application
33

44
name: helm-dashboard
55
description: A GUI Dashboard for Helm by Komodor
6-
icon: "https://github.com/komodorio/helm-dashboard/blob/main/pkg/dashboard/static/logo.png"
6+
icon: "https://raw.githubusercontent.com/komodorio/helm-dashboard/main/pkg/dashboard/static/logo.svg"
77

88
version: 0.1.1
9-
appVersion: "0.3.0"
9+
appVersion: "0.3.0"

charts/helm-dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following table lists the configurable parameters of the chart and their def
4949
| `image.tag` | Image tag | |
5050
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
5151
| `replicaCount` | Number of dashboard Pods to run | `1` |
52-
| `dashboard.allowWriteActions` | Enables write actions. Allow modifying, deleting and creating charts and kubernetes resources. | `false` |
52+
| `dashboard.allowWriteActions` | Enables write actions. Allow modifying, deleting and creating charts and kubernetes resources. | `true` |
5353
| `resources.requests.cpu` | CPU resource requests | `200m` |
5454
| `resources.limits.cpu` | CPU resource limits | `1` |
5555
| `resources.requests.memory` | Memory resource requests | `256Mi` |

charts/helm-dashboard/templates/serviceaccount.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ apiVersion: rbac.authorization.k8s.io/v1
1717
metadata:
1818
name: {{ include "helm-dashboard.serviceAccountName" . }}
1919
rules:
20-
- apiGroups: ["", "apps", "rbac.authorization.k8s.io", "rbac", "batch", "extensions", "networking.k8s.io", "storage.k8s.io"]
20+
- apiGroups: ["*"]
2121
resources: ["*"]
2222
verbs: ["get", "list", "watch"]
2323
{{- if .Values.dashboard.allowWriteActions }}
24-
- apiGroups: ["", "apps", "rbac.authorization.k8s.io", "rbac", "batch", "extensions", "networking.k8s.io", "storage.k8s.io"]
24+
- apiGroups: ["*"]
2525
resources: ["*"]
2626
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
2727
{{- end }}

charts/helm-dashboard/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ resources:
2626
memory: 1Gi
2727

2828
dashboard:
29-
allowWriteActions: false
29+
allowWriteActions: true
3030
persistence:
3131
enabled: true
3232

0 commit comments

Comments
 (0)