Skip to content
Snippets Groups Projects
Commit 214b052c authored by Igor Zimovets (EPAM)'s avatar Igor Zimovets (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

GONRG-4690 refactor helm charts

parent a7d6af52
No related branches found
No related tags found
2 merge requests!229Merge branch 'dependency-upgrade' into 'master',!162GONRG-4690 refactor helm charts
{{ if .Values.conf.on_prem_enabled }}
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.conf.secret }}"
namespace: "{{ .Release.Namespace }}"
labels:
app: "{{ .Values.conf.app_name }}"
type: Opaque
data:
OSM_POSTGRES_PASSWORD: "{{ .Values.secret.osm_postgres_password }}"
OSM_POSTGRES_URL: "{{ .Values.secret.osm_postgres_url }}"
OSM_POSTGRES_USERNAME: "{{ .Values.secret.osm_postgres_username }}"
{{ end }}
......@@ -8,13 +8,7 @@ data:
partition_namespace: ""
spring_profiles_active: "gcp"
secret:
osm_postgres_password: ""
osm_postgres_url: ""
osm_postgres_username: ""
conf:
configmap: "partition-config"
secret: "partition-secret"
app_name: "partition"
on_prem_enabled: false
......@@ -13,7 +13,7 @@ data:
conf:
configmap: "partition-config"
secret: "partition-secret"
secret: "partition-postgres-secret"
app_name: "partition"
on_prem_enabled: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment