add dashboard-config to bundles

Signed-off-by: kklinch0 <kklinch0@gmail.com>
This commit is contained in:
kklinch0 2025-08-05 16:47:21 +03:00
parent cf02ebcfd5
commit 22ddf3463a
2 changed files with 33 additions and 0 deletions

View file

@ -291,6 +291,23 @@ releases:
- keycloak-configure
{{- end }}
- name: dashboard-config
releaseName: dashboard-config
chart: cozy-dashboard-config
namespace: cozy-dashboard
values:
{{- $dashboardKCconfig := lookup "v1" "ConfigMap" "cozy-dashboard" "kubeapps-auth-config" }}
{{- $dashboardKCValues := dig "data" "values.yaml" "" $dashboardKCconfig | fromYaml }}
{{- toYaml (deepCopy $dashboardKCValues | mergeOverwrite (fromYaml (include "cozystack.defaultDashboardValues" .))) | nindent 4 }}
dependsOn:
- cilium
- kubeovn
- dashboard
{{- if eq $oidcEnabled "true" }}
- keycloak-configure
{{- end }}
- name: kamaji
releaseName: kamaji
chart: cozy-kamaji

View file

@ -182,6 +182,22 @@ releases:
dependsOn: []
{{- end }}
- name: dashboard-config
releaseName: dashboard-config
chart: cozy-dashboard-config
namespace: cozy-dashboard
values:
{{- $dashboardKCconfig := lookup "v1" "ConfigMap" "cozy-dashboard" "kubeapps-auth-config" }}
{{- $dashboardKCValues := dig "data" "values.yaml" "" $dashboardKCconfig | fromYaml }}
{{- toYaml (deepCopy $dashboardKCValues | mergeOverwrite (fromYaml (include "cozystack.defaultDashboardValues" .))) | nindent 4 }}
dependsOn:
- cilium
- kubeovn
- dashboard
{{- if eq $oidcEnabled "true" }}
- keycloak-configure
{{- end }}
{{- if $oidcEnabled }}
- name: keycloak
releaseName: keycloak