Skip to content

Commit 48e5ab0

Browse files
committed
feat: use a service variable
1 parent 05cf095 commit 48e5ab0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gn-tools-pipelines/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: gn-tools-pipelines
33
description: A Helm chart to deploy the tools-pipelines utility for geonetwork-ui
44
type: application
5-
version: 1.2.4
5+
version: 1.2.5
66
appVersion: "1.0"
77
maintainers:
88
- name: geOrchestra

gn-tools-pipelines/templates/gntoolspipelines-cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
initContainers:
1515
- name: init
1616
image: "{{ .Values.configuration.image.repository }}:{{ .Values.configuration.image.tag }}"
17-
command: ['sh', '-c', 'while ! nc -z {{ .Values.config.elasticsearch.host }} 9200; do sleep 2; done']
17+
command: ['sh', '-c', 'while ! nc -z {{ .Values.configuration.elasticsearch.service }} 9200; do sleep 2; done']
1818
containers:
1919
- name: {{ include "gn-tools-pipelines.fullname" . }}
2020
image: "{{ .Values.job.image.repository }}:{{ .Values.job.image.tag | default .Chart.AppVersion }}"

gn-tools-pipelines/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ configuration:
1818
config:
1919
elasticsearch:
2020
host: "http://localhost:9200"
21-
index: "gn-records"
21+
index: "gn-records"
22+
service: "georchestra-gn4-elasticsearch-svc"

0 commit comments

Comments
 (0)