update deployment

This commit is contained in:
kandrusyak
2023-07-18 02:09:19 +03:00
parent e6918c6e51
commit f6f05c6764
4 changed files with 43 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
apiVersion: v2
name: astra-api-gateway
name: astra-users
appVersion: latest
description: A Helm chart to deploy app - astra
@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.0
engine: gotpl

View File

@@ -27,9 +27,11 @@ spec:
value: Europe/Moscow
- name: PORT
value: {{ .Values.app.server.port | quote }}
- name: CONNECTION_STRING
value: {{ .Values.app.db.connection_string }}
{{- .Values.envs | toYaml | nindent 12 }}
image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} #"docker-registry.dopcore.com/andrusyakka/urban-couscous:latest"
image: {{ .Values.app.image }}:{{ .Chart.AppVersion }}
imagePullPolicy: Always
ports:
- name: http

View File

@@ -1,6 +1,8 @@
app:
fullName: ${CI_PROJECT_TITLE}
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
db:
connection_string: ${CONNECTION_STRING}
server:
port: ${SERVICE_PORT}