Skip to content

Commit

Permalink
add config volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanow committed Apr 16, 2024
1 parent a3de394 commit bfaaefb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/java-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: java-service
type: application
description: Helm chart for Spring Boot application with logging and tracing
version: 1.5.3
version: 1.5.4
appVersion: "v1.0"
home: https://github.com/Romanow/helm-charts/tree/master/charts/java-service
icon: https://raw.githubusercontent.com/Romanow/helm-charts/master/icons/spring-boot.png
Expand Down
2 changes: 1 addition & 1 deletion charts/java-service/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Helm Chart for java-service

![Version: 1.5.3](https://img.shields.io/badge/Version-1.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0](https://img.shields.io/badge/AppVersion-v1.0-informational?style=flat-square)
![Version: 1.5.4](https://img.shields.io/badge/Version-1.5.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0](https://img.shields.io/badge/AppVersion-v1.0-informational?style=flat-square)

Helm chart for Spring Boot application with logging and tracing

Expand Down
4 changes: 2 additions & 2 deletions charts/java-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ spec:
ports:
- name: {{ .Chart.Name }}
containerPort: {{ .Values.ports.internal }}
{{- if .Values.filebeat.enabled }}
volumeMounts:
{{- if .Values.filebeat.enabled }}
- name: {{ .Chart.Name }}-logs-volume
mountPath: "/var/log/{{ .Values.logFolder | default .Release.Name }}/"
{{- end }}
{{- range $config := .Values.configVolumes }}
- name: {{ $config.name }}
mountPath: {{ $config.mount }}
{{- if $config.path }}
subPath: {{ $config.path }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.filebeat.enabled }}
- name: {{ .Release.Name }}-filebeat
image: "{{ .Values.filebeat.image.repository }}:{{ .Values.filebeat.image.tag }}"
Expand Down

0 comments on commit bfaaefb

Please sign in to comment.