mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Merge branch 'main' of github.com:komodorio/helm-dashboard
This commit is contained in:
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release
|
needs: [release, pre_release]
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@@ -85,13 +85,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ needs.pre_release.outputs.release_tag }}
|
tags: komodorio/helm-dashboard:${{ needs.pre_release.outputs.release_tag }},komodorio/helm-dashboard:latest
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: VER=${{ needs.pre_release.outputs.release_tag }}
|
build-args: VER=${{ needs.pre_release.outputs.release_tag }}
|
||||||
|
|
||||||
publish_chart:
|
publish_chart:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
need: image
|
needs: [image, pre_release]
|
||||||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ type: application
|
|||||||
|
|
||||||
name: helm-dashboard
|
name: helm-dashboard
|
||||||
description: A GUI Dashboard for Helm by Komodor
|
description: A GUI Dashboard for Helm by Komodor
|
||||||
icon: "https://github.com/komodorio/helm-dashboard/blob/main/pkg/dashboard/static/logo.png"
|
icon: "https://raw.githubusercontent.com/komodorio/helm-dashboard/main/pkg/dashboard/static/logo.svg"
|
||||||
|
|
||||||
version: 0.1.1
|
version: 0.1.1
|
||||||
appVersion: "0.3.0"
|
appVersion: "0.3.0"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ The following table lists the configurable parameters of the chart and their def
|
|||||||
| `image.tag` | Image tag | |
|
| `image.tag` | Image tag | |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `replicaCount` | Number of dashboard Pods to run | `1` |
|
| `replicaCount` | Number of dashboard Pods to run | `1` |
|
||||||
| `dashboard.allowWriteActions` | Enables write actions. Allow modifying, deleting and creating charts and kubernetes resources. | `false` |
|
| `dashboard.allowWriteActions` | Enables write actions. Allow modifying, deleting and creating charts and kubernetes resources. | `true` |
|
||||||
| `resources.requests.cpu` | CPU resource requests | `200m` |
|
| `resources.requests.cpu` | CPU resource requests | `200m` |
|
||||||
| `resources.limits.cpu` | CPU resource limits | `1` |
|
| `resources.limits.cpu` | CPU resource limits | `1` |
|
||||||
| `resources.requests.memory` | Memory resource requests | `256Mi` |
|
| `resources.requests.memory` | Memory resource requests | `256Mi` |
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ include "helm-dashboard.serviceAccountName" . }}
|
name: {{ include "helm-dashboard.serviceAccountName" . }}
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: ["", "apps", "rbac.authorization.k8s.io", "rbac", "batch", "extensions", "networking.k8s.io", "storage.k8s.io"]
|
- apiGroups: ["*"]
|
||||||
resources: ["*"]
|
resources: ["*"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
{{- if .Values.dashboard.allowWriteActions }}
|
{{- if .Values.dashboard.allowWriteActions }}
|
||||||
- apiGroups: ["", "apps", "rbac.authorization.k8s.io", "rbac", "batch", "extensions", "networking.k8s.io", "storage.k8s.io"]
|
- apiGroups: ["*"]
|
||||||
resources: ["*"]
|
resources: ["*"]
|
||||||
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
|
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ resources:
|
|||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
allowWriteActions: false
|
allowWriteActions: true
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user