We are using implementation("org.springframework.cloud:spring-cloud-starter-kubernetes-client-config:2.1.1")
.
For configmap used 2 files:
application.yaml|yml
,
application-parent.yaml|yml
.
kind: ConfigMap
metadata:
name: {{ .Values.application }}
namespace: {{ .Release.Namespace }}
data:
application.yml: |
{{ (.Files.Glob "config/application.yaml").AsConfig | indent 2 }}
application-dev.yml: |
{{ (.Files.Glob "config/application-parent.yaml").AsConfig | indent 2 }}
After successful deploy and startup application reading values from application.yml
, but ignoring values from application-parent.yml
.
What can i do wrong?