Skip to content
Snippets Groups Projects
Commit 0acda025 authored by Vojdan Kjorveziroski's avatar Vojdan Kjorveziroski
Browse files

Add environment env variable

parent f86a02bc
No related branches found
No related tags found
1 merge request!12Resolve "Alfa version of the Helm chart for version 1.7.0"
Pipeline #91874 passed
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
apiVersion: v2 apiVersion: v2
name: nmaas name: nmaas
description: GÉANT Network Management as a Service Helm chart for Kubernetes description: GÉANT Network Management as a Service Helm chart for Kubernetes
version: 1.3.0-alpha.3 version: 1.3.0-alpha.4
appVersion: 1.7.0-alfa appVersion: 1.7.0-alfa
keywords: keywords:
- Network Management - Network Management
......
...@@ -56,6 +56,8 @@ spec: ...@@ -56,6 +56,8 @@ spec:
- name: helm-access-key - name: helm-access-key
mountPath: /nmaas/.ssh mountPath: /nmaas/.ssh
env: env:
- name: ENVIRONMENT
value: "{{ .Values.platform.properties.environment }}"
{{- if .Values.postgresql.install }} {{- if .Values.postgresql.install }}
- name: POSTGRESQL_HOST - name: POSTGRESQL_HOST
value: {{ .Release.Name }}-postgresql value: {{ .Release.Name }}-postgresql
......
...@@ -87,6 +87,7 @@ platform: ...@@ -87,6 +87,7 @@ platform:
properties: properties:
maintenance: false maintenance: false
testInstance: false testInstance: false
environment: prod
defaultLanguage: en defaultLanguage: en
serviceDeploymentCheckInterval: 10 serviceDeploymentCheckInterval: 10
serviceDeploymentCheckTimeout: 600 serviceDeploymentCheckTimeout: 600
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment