Skip to content

Commit

Permalink
Fix/config map ADD envfrom (#33)
Browse files Browse the repository at this point in the history
* fix-config-map

* add env_from

---------

Co-authored-by: Narek Matevosyan <nmatevosyan@provectus.com>
  • Loading branch information
Narekmat and Narek Matevosyan committed Feb 9, 2024
1 parent 59f3f28 commit c0277a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 8 additions & 0 deletions charts/odd-platform/templates/deployment.yaml
Expand Up @@ -58,6 +58,14 @@ spec:
key: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.extra }}
{{ toYaml .Values.extra | nindent 10 }}
{{- end }}
volumeMounts:
{{- if (.Values.config).yaml }}
- name: odd-platform-application-conf
mountPath: /app/config/
{{- end }}
volumes:
{{- if (.Values.config).yaml }}
- name: odd-platform-application-conf
Expand Down
10 changes: 8 additions & 2 deletions charts/odd-platform/values.yaml
Expand Up @@ -40,9 +40,15 @@ securityContext:

#secret_keys:
# - SPRING_DATASOURCE_PASSWORD


##extra:
## envFrom:
## - configMapRef:
## name: config_map
## - secretRef:
## name: secret
##
config:

# env:
# - name: AUTH_TYPE
# value: OAUTH2
Expand Down

0 comments on commit c0277a1

Please sign in to comment.