/
values.yaml
152 lines (147 loc) · 4.25 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Common Labels
labels:
app: "estimates"
group: "digit-works"
namespace: works
# Ingress Configs
ingress:
namespace: egov
enabled: true
zuul: true
context: "estimate"
# Init Containers Configs
initContainers:
dbMigration:
enabled: true
schemaTable: "estimates_schema"
image:
repository: "estimates-db"
# Container Configs
image:
repository: "estimates"
replicas: "1"
healthChecks:
enabled: true
livenessProbePath: "/estimate/health"
readinessProbePath: "/estimate/health"
appType: "java-spring"
tracing-enabled: true
memory_limits: 512Mi
heap: "-Xmx512m -Xms512m"
java-args: ""
# Additional Container Envs
env: |
- name: SERVER_PORT
value: "8080"
- name: JAVA_OPTS
value: {{ index .Values "heap" | quote }}
- name: JAVA_ARGS
value: {{ index .Values "java-args" | quote }}
{{- if index .Values "tracing-enabled" }}
- name: TRACER_OPENTRACING_ENABLED
value: "true"
{{- end }}
- name: SERVER_CONTEXT_PATH
value: /estimate
- name: SERVER_SERVLET_CONTEXT-PATH
value: /estimate
- name: EGOV_MDMS_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-mdms-service
{{- if index .Values "java-enable-debug" }}
- name: JAVA_ENABLE_DEBUG
value: "true"
{{- end }}
- name: EGOV_IDGEN_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-idgen
- name: EGOV_WORKFLOW_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-workflow-v2
- name: EGOV_LOCALIZATION_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-localization
- name: EGOV_HRMS_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-hrms
- name: EGOV_LOCATION_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-location
- name: EGOV_CONTRACT_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: contract-service
- name: EGOV_MEASUREMENTSERVICE_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: measurement-service
- name: EGOV_MDMS_HOST_V2
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-mdms-service-v2
- name: EGOV_FILESTORE_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-filestore
- name: ESTIMATE_KAFKA_CREATE_TOPIC
value: "save-estimate"
- name: ESTIMATE_KAFKA_UPDATE_TOPIC
value: "update-estimate"
- name: KAFKA_TOPICS_NOTIFICATION_SMS
value: "egov.core.notification.sms"
{{- if index .Values "estimate-default-limit" }}
- name: ESTIMATE_DEFAULT_LIMIT
value: {{ index .Values "estimate-default-limit" | quote }}
{{- end }}
{{- if index .Values "estimate-search-max-limit" }}
- name: ESTIMATE_SEARCH_MAX_LIMIT
value: {{ index .Values "estimate-search-max-limit" | quote }}
{{- end }}
{{- if index .Values "estimate-workflow-business-service" }}
- name: ESTIMATE_WORKFLOW_BUSINESS_SERVICE
value: {{ index .Values "estimate-workflow-business-service" | quote }}
{{- end }}
{{- if index .Values "estimate-workflow-module-name" }}
- name: ESTIMATE_WORKFLOW_MODULE_NAME
value: {{ index .Values "estimate-workflow-module-name" | quote }}
{{- end }}
{{- if index .Values "estimate-revision-workflow-business-service" }}
- name: ESTIMATE_REVISION_WORKFLOW_BUSINESS_SERVICE
value: {{ index .Values "estimate-revision-workflow-business-service" | quote }}
{{- end }}
{{- if index .Values "estimate-revision-measurement-validation" }}
- name: ESTIMATE_REVISION_MEASUREMENT_VALIDATION
value: {{ index .Values "estimate-revision-measurement-validation" | quote }}
{{- end }}
{{- if index .Values "estimate-revision-max-limit" }}
- name: ESTIMATE_REVISION_MAX_LIMIT
value: {{ index .Values "estimate-revision-max-limit" | quote }}
{{- end }}
- name: WORKS_PROJECT_SERVICE_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: project-management-system
- name: SPRING_KAFKA_CONSUMER_GROUP_ID
value: "estimate-service"
- name: KAFKA_CONFIG_BOOTSTRAP_SERVER_CONFIG
valueFrom:
configMapKeyRef:
name: egov-config
key: kafka-brokers