apiVersion: v1
kind: ConfigMap
metadata:
  name: application-config
  namespace: default
data:
  application.yml: |
    {{- with .Values.application }}
    {{- . | toYaml | nindent 5 -}}
    {{- end }}