add service ec-config-server
This commit is contained in:
13
apps/ec-config-server/env/k3s-cluster/templates/configmap.yaml
vendored
Normal file
13
apps/ec-config-server/env/k3s-cluster/templates/configmap.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "mr-config-server.fullname" . }}
|
||||
labels:
|
||||
{{- include "mr-config-server.labels" . | nindent 4 }}
|
||||
data:
|
||||
SPRING_PROFILES_ACTIVE: {{ .Values.spring.activeprofile }}
|
||||
{{- if .Values.environment }}
|
||||
{{- if .Values.environment.configNativeSearchLocation }}
|
||||
CONFIG_NATIVE_SEARCH_LOCATION: {{ .Values.environment.configNativeSearchLocation }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user