Fix migration workflow: upload as artifact instead of scp to practice EC2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.aiService.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@@ -105,3 +106,4 @@ spec:
|
||||
- name: http
|
||||
port: {{ .Values.aiService.service.port }}
|
||||
targetPort: http
|
||||
{{- end }}
|
||||
|
||||
@@ -8,6 +8,6 @@ metadata:
|
||||
type: Opaque
|
||||
stringData:
|
||||
postgres-password: {{ .Values.secret.postgresPassword | quote }}
|
||||
postgres-dsn: {{ printf "postgresql://duoc_thu:%s@%s-postgres:5432/duoc_thu" .Values.secret.postgresPassword (include "medical-chatbot.fullname" .) | quote }}
|
||||
postgres-dsn: {{ printf "postgresql://duoc_thu:%s@%s:5432/duoc_thu" .Values.secret.postgresPassword (default (printf "%s-postgres" (include "medical-chatbot.fullname" .)) .Values.secret.postgresHost) | quote }}
|
||||
grafana-admin-password: {{ .Values.secret.grafanaAdminPassword | quote }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.web.enabled }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -58,3 +59,4 @@ spec:
|
||||
{{- if and (eq .Values.web.service.type "NodePort") .Values.web.service.nodePort }}
|
||||
nodePort: {{ .Values.web.service.nodePort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user