fix: deploy dapr as normal helm chart to invoke post hooks
This commit is contained in:
@@ -9,15 +9,6 @@ commonLabels:
|
|||||||
tier: system
|
tier: system
|
||||||
|
|
||||||
releases:
|
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
|
- name: dapr-manifests
|
||||||
namespace: dapr-system
|
namespace: dapr-system
|
||||||
chart: _dapr-manifests
|
chart: _dapr-manifests
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ default:
|
|||||||
|
|
||||||
# Render a specifc helm chart
|
# Render a specifc helm chart
|
||||||
r HELMFILE ENV="default":
|
r HELMFILE ENV="default":
|
||||||
#helmfile --environment={{ENV}} lint --args --quiet -f helmfile.d/{{HELMFILE}}.yaml.gotmpl
|
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}} 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.mariadb.com/mariadb-operator
|
||||||
- https://helm.cilium.io
|
- https://helm.cilium.io
|
||||||
- https://chartmuseum.github.io/charts
|
- https://chartmuseum.github.io/charts
|
||||||
|
- https://dapr.github.io/helm-charts
|
||||||
|
|
||||||
|
|||||||
@@ -13,18 +13,15 @@ spec:
|
|||||||
namespace: dapr-system
|
namespace: dapr-system
|
||||||
server: 'https://kubernetes.default.svc'
|
server: 'https://kubernetes.default.svc'
|
||||||
sources:
|
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 }}
|
- repoURL: {{ .Values.clusterConfig.manifests }}
|
||||||
targetRevision: HEAD
|
targetRevision: main
|
||||||
path: helmfile.d
|
ref: values
|
||||||
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
|
|
||||||
project: sys
|
project: sys
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
managedNamespaceMetadata:
|
managedNamespaceMetadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user