Skip to content

Commit

Permalink
Merge pull request #12 from KhadijaBenAmmar/fix/helm-chart
Browse files Browse the repository at this point in the history
[FIX]: fix configmap and secret volumes path
  • Loading branch information
ccoeurderoy authored Sep 9, 2020
2 parents f9f7b7e + 94daad2 commit 6eee60d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .helm/budgetinsightconnector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Kubernetes allows you to deploy Algoan's NestJS Budget Insight connector
name: budgetinsightconnector
version: 1.0.1
version: 1.0.2
home: https://www.algoan.com
maintainers:
- name: ALGOAN SAS
Expand Down
4 changes: 2 additions & 2 deletions .helm/budgetinsightconnector/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ spec:
volumeMounts:
- name: {{ include "..name" . }}-secret
readOnly: true
mountPath: /usr/src/app/secret
mountPath: {{ .Values.volumeMounts.secret }}
- name: {{ include "..name" . }}-config
readOnly: true
mountPath: /usr/src/app/config
mountPath: {{ .Values.volumeMounts.config }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
16 changes: 2 additions & 14 deletions .helm/budgetinsightconnector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,9 @@ environmentVariables:
DEPLOYMENT: production.secret
DEBUG_LEVEL: debug

volumes:
- name: budgetinsightconnector-secret
secret:
secretName: budgetinsightconnector-secret
- name: budgetinsightconnector-config
configMap:
name: budgetinsightconnector-config

volumeMounts:
- name: budgetinsightconnector-secret
readOnly: true
mountPath: /usr/src/app/config/deployment
- name: budgetinsightconnector-config
readOnly: true
mountPath: /usr/src/app/config/env
secret: /usr/src/app/config/deployment
config: /usr/src/app/config/env

service:
type: ClusterIP
Expand Down

0 comments on commit 6eee60d

Please sign in to comment.