Add an explicit ArgoCD sync and health-poll script

This commit is contained in:
2026-08-19 09:21:35 +07:00
parent b68005be1c
commit f50ccfc5f7
12 changed files with 298 additions and 54 deletions
@@ -81,6 +81,25 @@ spec:
secretKeyRef:
name: {{ include "medical-chatbot.secretName" . }}
key: postgres-dsn
{{- if .Values.aws.region }}
- name: AWS_REGION
value: {{ .Values.aws.region | quote }}
{{- end }}
{{- if .Values.aws.staticCredentials.enabled }}
# Only rendered for clusters with no instance role / IRSA; see the
# `aws` block in values.yaml. Environment variables take precedence
# over the instance role, so this must stay off on AWS-hosted nodes.
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: {{ include "medical-chatbot.secretName" . }}
key: aws-access-key-id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: {{ include "medical-chatbot.secretName" . }}
key: aws-secret-access-key
{{- end }}
readinessProbe:
httpGet: { path: /ready, port: http }
initialDelaySeconds: 5