update deployment
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user