update deployment
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: astra-api-gateway
|
name: astra-users
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
description: A Helm chart to deploy app - astra
|
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
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.1.1
|
version: 0.1.0
|
||||||
|
|
||||||
engine: gotpl
|
engine: gotpl
|
||||||
|
|
||||||
|
|||||||
@@ -27,9 +27,11 @@ spec:
|
|||||||
value: Europe/Moscow
|
value: Europe/Moscow
|
||||||
- name: PORT
|
- name: PORT
|
||||||
value: {{ .Values.app.server.port | quote }}
|
value: {{ .Values.app.server.port | quote }}
|
||||||
|
- name: CONNECTION_STRING
|
||||||
|
value: {{ .Values.app.db.connection_string }}
|
||||||
{{- .Values.envs | toYaml | nindent 12 }}
|
{{- .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
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
app:
|
app:
|
||||||
fullName: ${CI_PROJECT_TITLE}
|
fullName: ${CI_PROJECT_TITLE}
|
||||||
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
|
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
|
||||||
|
db:
|
||||||
|
connection_string: ${CONNECTION_STRING}
|
||||||
server:
|
server:
|
||||||
port: ${SERVICE_PORT}
|
port: ${SERVICE_PORT}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user