fix: deploy dapr as normal helm chart to invoke post hooks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}}"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user