fix: deploy dapr as normal helm chart to invoke post hooks

This commit is contained in:
2025-06-21 08:10:17 +02:00
parent 2584ff39f9
commit 301f7f0c75
5 changed files with 11 additions and 22 deletions
-9
View File
@@ -9,15 +9,6 @@ commonLabels:
tier: system
releases:
- name: dapr
namespace: dapr-system
chart: dapr/dapr
version: 1.14.4
condition: dapr.enabled
values:
- ../values/dapr/values/dapr.yaml.gotmpl
- ../values/dapr/values/dapr-{{ .Environment.Name }}.yaml.gotmpl
missingFileHandler: Info
- name: dapr-manifests
namespace: dapr-system
chart: _dapr-manifests
+2 -2
View File
@@ -4,5 +4,5 @@ default:
# Render a specifc helm chart
r HELMFILE ENV="default":
#helmfile --environment={{ENV}} lint --args --quiet -f helmfile.d/{{HELMFILE}}.yaml.gotmpl
helmfile --environment={{ENV}} template -q -f helmfile.d/{{HELMFILE}}.yaml.gotmpl --output-dir-template="../_manifests/{{HELMFILE}}/{{ENV}}"
helmfile --environment={{ENV}} lint --args --quiet -f helmfile.d/{{HELMFILE}}.yaml.gotmpl
helmfile --environment={{ENV}} template -q -f helmfile.d/{{HELMFILE}}.yaml.gotmpl --include-crds --output-dir-template="../_manifests/{{HELMFILE}}/{{ENV}}"
+1
View File
@@ -87,4 +87,5 @@ spec:
- https://helm.mariadb.com/mariadb-operator
- https://helm.cilium.io
- https://chartmuseum.github.io/charts
- https://dapr.github.io/helm-charts
+8 -11
View File
@@ -13,18 +13,15 @@ spec:
namespace: dapr-system
server: 'https://kubernetes.default.svc'
sources:
- repoURL: https://dapr.github.io/helm-charts/
targetRevision: 1.14.4
chart: dapr
helm:
valuesFiles:
- $values/values/dapr/values/dapr.yaml
- repoURL: {{ .Values.clusterConfig.manifests }}
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ .Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: default
- name: HELMFILE_FILE_PATH
value: dapr.yaml.gotmpl
targetRevision: main
ref: values
project: sys
syncPolicy:
managedNamespaceMetadata: