Change default SAL_HOST to nebulous-sal

Change-Id: Idb18d729e39482e9d7749b07781eb2edfce0243e
This commit is contained in:
gsavvas 2024-05-08 16:53:56 +03:00
parent ef7de76229
commit d8a82421f9
3 changed files with 15 additions and 5 deletions

View File

@ -39,6 +39,15 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: 'SAL_HOST'
value: {{ .Values.SAL_HOST | default "nebulous-sal" | quote }}
- name: 'SAL_PORT'
value: {{ .Values.SAL_PORT | default "8080" | quote }}
- name: 'ACTIVEMQ_HOST'
value: {{ .Values.ACTIVEMQ_HOST | default "nebulous-activemq" | quote }}
- name: 'ACTIVEMQ_PORT'
value: {{ .Values.ACTIVEMQ_PORT | default "5672" | quote }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -2,7 +2,8 @@
FROM docker.io/library/openjdk:11 AS builder
RUN apt-get update && \
apt-get install --no-install-recommends -y maven=3.6.3-5
apt-get install --no-install-recommends -y \
maven=3.6.3-5
#Set the working directory
WORKDIR /app

View File

@ -12,14 +12,14 @@ spring:
application:
exn:
config:
url: 'nebulous-activemq'
port: '5672'
url: '${ACTIVEMQ_HOST:nebulous-activemq}'
port: '${ACTIVEMQ_PORT:5672}'
username: 'admin'
password: 'admin'
sal:
protocol: 'http'
host: 'sal'
port: '8080'
host: '${SAL_HOST:nebulous-sal}'
port: '${SAL_PORT:8080}'
api: 'sal'
username: 'admin'
password: 'admin'