Skip to content

Commit

Permalink
fix chart linter
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Dec 13, 2023
1 parent 5258406 commit 2052687
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ spec:
{{- end }}
{{- end }}
volumeMounts:
{{- toYaml .Values.controlplane.volumeMounts | default "" | nindent 12 }}
{{- if .Values.controlplane.volumeMounts }}
{{- toYaml .Values.controlplane.volumeMounts | nindent 12 }}
{{- end}}
- name: "configuration"
mountPath: "/app/opentelemetry.properties"
subPath: "opentelemetry.properties"
Expand All @@ -392,7 +394,9 @@ spec:
- name: "tmp"
mountPath: "/tmp"
volumes:
{{- toYaml .Values.controlplane.volumes | default "" | nindent 8 }}
{{- if .Values.controlplane.volumeMounts }}
{{- toYaml .Values.controlplane.volumes | nindent 8 }}
{{- end}}
- name: "configuration"
configMap:
name: {{ include "txdc.fullname" . }}-controlplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ spec:
{{- end }}
{{- end }}
volumeMounts:
{{- toYaml .Values.dataplane.volumeMounts | default "" | nindent 12 }}
{{- if .Values.dataplane.volumeMounts }}
{{- toYaml .Values.dataplane.volumeMounts | nindent 12 }}
{{- end}}
- name: "configuration"
mountPath: "/app/opentelemetry.properties"
subPath: "opentelemetry.properties"
Expand All @@ -257,7 +259,9 @@ spec:
- name: "tmp"
mountPath: "/tmp"
volumes:
{{- toYaml .Values.dataplane.volumes | default "" | nindent 8 }}
{{- if .Values.dataplane.volumes }}
{{- toYaml .Values.dataplane.volumes | nindent 8 }}
{{- end}}
- name: "configuration"
configMap:
name: {{ include "txdc.fullname" . }}-dataplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ spec:
{{- end }}
{{- end }}
volumeMounts:
{{- toYaml .Values.controlplane.volumeMounts | default "" | nindent 12 }}
{{- if .Values.controlplane.volumeMounts }}
{{- toYaml .Values.controlplane.volumeMounts | nindent 12 }}
{{- end}}
- name: "configuration"
mountPath: "/app/opentelemetry.properties"
subPath: "opentelemetry.properties"
Expand All @@ -391,7 +393,9 @@ spec:
- name: "tmp"
mountPath: "/tmp"
volumes:
{{- toYaml .Values.controlplane.volumes | default "" | nindent 8 }}
{{- if .Values.controlplane.volumeMounts }}
{{- toYaml .Values.controlplane.volumes | nindent 8 }}
{{- end}}
- name: "configuration"
configMap:
name: {{ include "txdc.fullname" . }}-controlplane
Expand Down
8 changes: 6 additions & 2 deletions charts/tractusx-connector/templates/deployment-dataplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ spec:
{{- end }}
{{- end }}
volumeMounts:
{{- toYaml .Values.dataplane.volumeMounts | default "" | nindent 12 }}
{{- if .Values.dataplane.volumeMounts }}
{{- toYaml .Values.dataplane.volumeMounts | nindent 12 }}
{{- end}}
- name: "configuration"
mountPath: "/app/opentelemetry.properties"
subPath: "opentelemetry.properties"
Expand All @@ -256,7 +258,9 @@ spec:
- name: "tmp"
mountPath: "/tmp"
volumes:
{{- toYaml .Values.dataplane.volumes | default "" | nindent 8 }}
{{- if .Values.dataplane.volumeMounts }}
{{- toYaml .Values.dataplane.volumes | nindent 8 }}
{{- end}}
- name: "configuration"
configMap:
name: {{ include "txdc.fullname" . }}-dataplane
Expand Down

0 comments on commit 2052687

Please sign in to comment.