You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
663 B
21 lines
663 B
{{- define "defaultValues" -}}
|
|
- ./generated-configs/helm-image.yaml
|
|
- ./generated-configs/config.yaml
|
|
- ./generated-configs/notification.yaml
|
|
{{- end -}}
|
|
|
|
{{- define "defaultRelease" -}}
|
|
namespace: openim
|
|
chart: ./{{ .name }}
|
|
values:
|
|
- ./{{ .name }}/values.yaml
|
|
{{- template "defaultValues" . }}
|
|
{{- end -}}
|
|
|
|
releases:
|
|
{{- $apps := list "openim-api" "openim-msggateway" "openim-msgtransfer" "openim-push" "openim-rpc-auth" "openim-rpc-conversation" "openim-rpc-friend" "openim-rpc-group" "openim-rpc-msg" "openim-rpc-third" "openim-rpc-user" }}
|
|
{{- range $app := $apps }}
|
|
- name: {{ $app }}
|
|
{{- template "defaultRelease" dict "name" $app }}
|
|
{{- end }}
|