Skip to content

Commit dfe6fa9

Browse files
jkrukeJonas Krukenberg
and
Jonas Krukenberg
authored
[tablestar-controller] STSI-470: make cloud spring profile default (#156)
Co-authored-by: Jonas Krukenberg <[email protected]>
1 parent 4b80b60 commit dfe6fa9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/sophora-tablestar-controller/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ spec:
4949
name: {{ required "A valid secret name must be provided in .Values.sophora.authentication.secret.name" .Values.sophora.authentication.secret.name | quote }}
5050
- name: TZ
5151
value: {{ .Values.timeZone | quote }}
52+
- name: SPRING_PROFILES_ACTIVE
53+
value: {{ .Values.springProfiles }}
5254
{{- with .Values.livenessProbe }}
5355
livenessProbe:
5456
httpGet:

charts/sophora-tablestar-controller/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ sophora:
2727
username: # in secret
2828
password: # in secret
2929

30+
# comma separated list of active spring profiles. Profile "cloud" enables json logging
31+
springProfiles: cloud
32+
3033
service:
3134
annotations: {}
3235
type: ClusterIP

0 commit comments

Comments
 (0)