Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions helm/ph-ee-engine/connector-ams-mifos/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,17 @@ spec:
# {{- end }}
initContainers:
- name: wait-db
image: jwilder/dockerize
image: busybox:1.35
imagePullPolicy: IfNotPresent
command: ['sh', '-c']
args:
- -timeout=120s
- -wait
- tcp://{{ .Values.operations_app.datasource.host }}:3306
- |
echo "Waiting for database connection..."
until nc -z {{ .Values.operations_app.datasource.host }} 3306; do
echo "Database not ready, waiting..."
sleep 2
done
echo "Database is ready!"
volumes:
- name: ph-ee-config
configMap:
Expand Down
24 changes: 12 additions & 12 deletions helm/ph-ee-engine/connector-notifications/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ spec:
{{- end }}
ports:
- containerPort: 5000
livenessProbe:
httpGet:
path: {{ .Values.livenessProbe.path | default "/actuator/health/liveness" }}
port: {{ .Values.livenessProbe.port | default 8080 }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 20 }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds | default 30 }}
readinessProbe:
httpGet:
path: {{ .Values.readinessProbe.path | default "/actuator/health/readiness" }}
port: {{ .Values.readinessProbe.port | default 8080 }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 20 }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds | default 30 }}
# livenessProbe:
# httpGet:
# path: {{ .Values.livenessProbe.path | default "/actuator/health/liveness" }}
# port: {{ .Values.livenessProbe.port | default 8080 }}
# initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 20 }}
# periodSeconds: {{ .Values.livenessProbe.periodSeconds | default 30 }}
# readinessProbe:
# httpGet:
# path: {{ .Values.readinessProbe.path | default "/actuator/health/readiness" }}
# port: {{ .Values.readinessProbe.port | default 8080 }}
# initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 20 }}
# periodSeconds: {{ .Values.readinessProbe.periodSeconds | default 30 }}
env:
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.springProfilesActive | default "" }}"
Expand Down
13 changes: 9 additions & 4 deletions helm/ph-ee-engine/operations-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,17 @@ spec:
mountPath: "/config"
initContainers:
- name: wait-db
image: jwilder/dockerize
image: busybox:1.35
imagePullPolicy: IfNotPresent
command: ['sh', '-c']
args:
- -timeout=120s
- -wait
- tcp://{{ .Values.secret.datasource.host }}:3306
- |
echo "Waiting for database connection..."
until nc -z {{ .Values.secret.datasource.host }} 3306; do
echo "Database not ready, waiting..."
sleep 2
done
echo "Database is ready!"
volumes:
- name: ph-ee-config
configMap:
Expand Down
2 changes: 1 addition & 1 deletion helm/ph-ee-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ connector_bulk:
# ph-ee-connector-bulk.yml: |

ph_ee_connector_gsma:
enabled: true
enabled: false
replicas: 1
image: docker.io/openmf/ph-ee-connector-gsma:v1.3.0-gazelle-1.1.0
imagePullPolicy: IfNotPresent
Expand Down