-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#SM-3177 added user-event service in unified-dev (#2075)
- Loading branch information
1 parent
5565ad9
commit b18930c
Showing
7 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
deploy-as-code/helm/charts/core-services/egov-user-event/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: v2 | ||
name: egov-user-event | ||
description: A Helm chart for Kubernetes | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
version: 0.1.0 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. | ||
appVersion: 1.16.0 | ||
|
||
dependencies: | ||
- name: common | ||
version: 0.0.5 | ||
repository: file://../../common |
2 changes: 2 additions & 0 deletions
2
deploy-as-code/helm/charts/core-services/egov-user-event/templates/deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# deployment.yaml | ||
{{- template "common.deployment" . -}} |
2 changes: 2 additions & 0 deletions
2
deploy-as-code/helm/charts/core-services/egov-user-event/templates/ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ingress.yaml | ||
{{- template "common.ingress" . -}} |
2 changes: 2 additions & 0 deletions
2
deploy-as-code/helm/charts/core-services/egov-user-event/templates/service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# service.yaml | ||
{{- template "common.service" . -}} |
88 changes: 88 additions & 0 deletions
88
deploy-as-code/helm/charts/core-services/egov-user-event/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Common Labels | ||
labels: | ||
app: "egov-user-event" | ||
group: "rainmaker" | ||
|
||
# Ingress Configs | ||
ingress: | ||
enabled: true | ||
zuul: true | ||
context: "egov-user-event" | ||
|
||
# Init Containers Configs | ||
initContainers: | ||
dbMigration: | ||
enabled: true | ||
schemaTable: "egov_user_event_schema_version" | ||
image: | ||
repository: "egov-user-event-db" | ||
|
||
# Container Configs | ||
image: | ||
repository: "egov-user-event" | ||
replicas: "1" | ||
healthChecks: | ||
enabled: true | ||
livenessProbePath: "/egov-user-event/health" | ||
readinessProbePath: "/egov-user-event/health" | ||
appType: "java-spring" | ||
tracing-enabled: true | ||
heap: "-Xmx192m -Xms192m" | ||
java-args: "" | ||
|
||
# Additional Container Envs | ||
env: | | ||
- name: EGOV_MDMS_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: egov-mdms-service | ||
- name: EGOV_MDMS_SEARCH_ENDPOINT | ||
value: /egov-mdms-service/v1/_search | ||
- name: SPRING_KAFKA_CONSUMER_GROUP_ID | ||
value: egov-user-events | ||
- name: SPRING_KAFKA_PRODUCER_KEY_SERIALIZER | ||
value: org.apache.kafka.common.serialization.StringSerializer | ||
- name: SPRING_KAFKA_PRODUCER_VALUE_SERIALIZER | ||
value: org.springframework.kafka.support.serializer.JsonSerializer | ||
- name: KAFKA_TOPICS_PERSISTER_SAVE_EVENTS | ||
value: save-user-events | ||
- name: KAFKA_TOPICS_PERSISTER_UPDATE_EVENTS | ||
value: update-user-events | ||
- name: KAFKA_TOPICS_LLT_DETAILS | ||
value: user-events-llt | ||
- name: KAFKA_TOPICS_SAVE_EVENTS | ||
value: persist-user-events-async | ||
- name: KAFKA_TOPICS_UPDATE_EVENTS | ||
value: update-user-events-async | ||
- name: MSEVA_NOTIF_SEARCH_OFFSET | ||
value: "0" | ||
- name: MSEVA_NOTIF_SEARCH_LIMIT | ||
value: "200" | ||
- name: JAVA_OPTS | ||
value: {{ index .Values "heap" | quote }} | ||
- name: SERVER_PORT | ||
value: "8080" | ||
- name: JAVA_ARGS | ||
value: {{ index .Values "java-args" | quote }} | ||
- name: JAVA_ENABLE_DEBUG | ||
value: "true" | ||
- name: SECURITY_BASIC_ENABLED | ||
value: "false" | ||
- name: MANAGEMENT_SECURITY_ENABLED | ||
value: "false" | ||
- name: EGOV_LOCALISATION_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: egov-localization | ||
- name: EGOV_LOCALISATION_IS_STATELEVEL | ||
value: "false" | ||
- name: MSEVA_NOTIF_SEARCH_OFFSET | ||
value: "0" | ||
- name: MSEVA_NOTIF_SEARCH_LIMIT | ||
value: "200" | ||
{{- if index .Values "tracing-enabled" }} | ||
- name: TRACER_OPENTRACING_ENABLED | ||
value: "true" | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters