Skip to content

Commit

Permalink
update: apollo chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
dellnoantechnp committed Jul 13, 2024
1 parent 531c118 commit 33e7d99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion charts/apollo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ maintainers:
url: https://github.com/dellnoantechnp/helm-chart-xxl-job-admin
name: apollo
type: application
version: 0.8.2
kubeVersion: ">=1.18.0"
version: 0.8.3
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
5 changes: 3 additions & 2 deletions charts/apollo/templates/portal/configmap-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ data:
{{- end }}
{{- if not .Values.portal.config.metaServers }}
{{ "# Auto generator metaServers" }}
{{- if contains "," .Values.portal.config.envs }}
{{- range $index, $env := (regexSplit "," .Values.portal.config.envs -1) }}
{{ $env }} = {{ $serviceUrl }}{{ $.Values.configService.config.contextPath }}
{{ trim $env }}.meta = {{ $serviceUrl }}{{ $.Values.configService.config.contextPath }}
{{- end }}
{{- else }}
{{ .Values.portal.config.envs }} = {{ $serviceUrl }}{{ .Values.configService.config.contextPath }}
{{ trim .Values.portal.config.envs }}.meta = {{ $serviceUrl }}{{ .Values.configService.config.contextPath }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 33e7d99

Please sign in to comment.