7 Commits

Author SHA1 Message Date
Aleksandr Cupacenko
69fe906c7d fix context decoding issue in Installed component (#563)
remove redundant code

correct encode decode

Co-authored-by: Aleksandr Cupacenko <alcu@danskebank.lt>
2024-11-26 16:15:32 +00:00
Aleksandr Cupacenko
3b0b44f392 refactor helm-dashboard.fullname template (#562)
fix ci

Co-authored-by: Aleksandr Cupacenko <alcu@danskebank.lt>
2024-11-25 10:46:36 +00:00
Aleksandr Cupacenko
922bb1c7c2 update service acccount name template logic (#561)
Co-authored-by: Aleksandr Cupacenko <alcu@danskebank.lt>
2024-11-22 09:29:55 +00:00
Aleksandr Cupacenko
f85343a173 add image digest field (#560)
Co-authored-by: Aleksandr Cupacenko <alcu@danskebank.lt>
2024-11-21 13:22:37 +00:00
dependabot[bot]
14fa9b8894 Bump cross-spawn from 7.0.3 to 7.0.6 in /frontend (#559)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 11:05:52 +00:00
Aleksandr Cupacenko
0436eabb51 simplify image tag assignment (#558)
Co-authored-by: Aleksandr Cupacenko <alcu@danskebank.lt>
2024-11-20 10:45:25 +00:00
komodor-bot
fb39d7e324 Increment chart versions [skip ci] 2024-11-13 11:38:40 +00:00
8 changed files with 17 additions and 29 deletions

View File

@@ -5,5 +5,5 @@ name: helm-dashboard
description: A GUI Dashboard for Helm by Komodor
icon: "https://raw.githubusercontent.com/komodorio/helm-dashboard/refs/heads/main/images/logo.svg"
version: 2.0.1
appVersion: "1.3.3"
version: 2.0.2
appVersion: "2.0.2"

View File

@@ -11,16 +11,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
If release name contains chart name it will be used as a full name.
*/}}
{{- define "helm-dashboard.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- $fullname := default (ternary .Release.Name (printf "%s-%s" .Release.Name $name) (contains $name .Release.Name)) .Values.fullnameOverride }}
{{- $fullname | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
@@ -54,11 +47,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
Create the name of the service account to use
*/}}
{{- define "helm-dashboard.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "helm-dashboard.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- default (.Values.serviceAccount.create | ternary (include "helm-dashboard.fullname" .) "default") .Values.serviceAccount.name }}
{{- end }}
{{/*
@@ -74,10 +63,7 @@ Return the proper image name
*/}}
{{- define "helm-dashboard.image" -}}
{{- $image := .Values.image -}}
{{- $tag := .Chart.AppVersion -}}
{{- if $image.tag -}}
{{- $tag = $image.tag -}}
{{- end -}}
{{- $tag := default .Chart.AppVersion $image.tag -}}
{{- $_ := set $image "tag" $tag -}}
{{ include "common.images.image" (dict "imageRoot" $_ "global" .Values.global) }}
{{- end -}}

View File

@@ -17,6 +17,8 @@ image:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# Specifies the exact image digest to pull.
digest: ""
imagePullSecrets: []
nameOverride: ""

View File

@@ -16161,9 +16161,9 @@
}
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",

View File

@@ -35,7 +35,7 @@ const PageLayout = () => {
const SyncContext: React.FC = () => {
const { context } = useParams();
if (context) {
apiService.setCluster(context);
apiService.setCluster(decodeURIComponent(context));
}
return <Outlet />;

View File

@@ -21,7 +21,7 @@ function Installed() {
const handleClusterChange = (clusterName: string) => {
navigate({
pathname: `/${clusterName}/installed`,
pathname: `/${encodeURIComponent(clusterName)}/installed`,
});
};

View File

@@ -5147,9 +5147,9 @@ cross-fetch@^3.1.5:
node-fetch "^2.6.12"
cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
version "7.0.6"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"

View File

@@ -1,5 +1,5 @@
name: "dashboard"
version: "1.3.3"
version: "2.0.2"
usage: "A simplified way of working with Helm"
description: "View HELM situation in nice web UI"
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"