Skip to content

Commit 955afe7

Browse files
add init, volume and mount (#412)
* add init, volume and mount * Update helm documentation * Update helm documentation --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 41c1324 commit 955afe7

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

charts/contract-management/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: contract-management
3-
version: 3.5.4
3+
version: 3.5.6
44
appVersion: 3.0.0
55
description: A Helm chart for running the contract-management on kubernetes.
66
icon: https://fiware.github.io/catalogue/img/fiware.png

charts/contract-management/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# contract-management
22

3-
![Version: 3.5.4](https://img.shields.io/badge/Version-3.5.4-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
3+
![Version: 3.5.6](https://img.shields.io/badge/Version-3.5.6-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
44

55
A Helm chart for running the contract-management on kubernetes.
66

charts/contract-management/templates/deployment.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ spec:
3636
{{- end }}
3737
spec:
3838
serviceAccountName: {{ include "contract.serviceAccountName" . }}
39+
{{- if .Values.deployment.initContainers }}
40+
initContainers:
41+
{{- with .Values.deployment.initContainers }}
42+
{{- toYaml . | nindent 8 }}
43+
{{- end }}
44+
{{- end }}
3945
containers:
4046
- name: {{ .Chart.Name }}
4147
imagePullPolicy: {{ .Values.deployment.image.pullPolicy }}
@@ -81,6 +87,11 @@ spec:
8187
- name: application-yaml
8288
mountPath: /application.yaml
8389
subPath: application.yaml
90+
{{- if .Values.deployment.additionalVolumeMounts }}
91+
{{- with .Values.deployment.additionalVolumeMounts }}
92+
{{- toYaml . | nindent 12 }}
93+
{{- end }}
94+
{{- end }}
8495
resources:
8596
{{- toYaml .Values.deployment.resources | nindent 12 }}
8697
volumes:
@@ -90,6 +101,11 @@ spec:
90101
items:
91102
- key: application.yaml
92103
path: application.yaml
104+
{{- if .Values.deployment.additionalVolumes }}
105+
{{- with .Values.deployment.additionalVolumes }}
106+
{{- toYaml . | nindent 8 }}
107+
{{- end }}
108+
{{- end }}
93109
{{- with .Values.deployment.nodeSelector }}
94110
nodeSelector:
95111
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)