-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MicroplanUI/Resources-Gen/Egov-HRMS Updated (#278)
* MicroplanUI/Resources-Gen/Egov-HRMS Updated * updedtedHCM-demo yaml * Removed the e gov-hrms
- Loading branch information
1 parent
fa53531
commit 0dd8df0
Showing
12 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
config-as-code/helm/charts/frontend/microplan-ui/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: microplan-ui | ||
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
config-as-code/helm/charts/frontend/microplan-ui/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
config-as-code/helm/charts/frontend/microplan-ui/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
config-as-code/helm/charts/frontend/microplan-ui/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" . -}} |
11 changes: 11 additions & 0 deletions
11
...ig-as-code/helm/charts/frontend/microplan-ui/templates/subfilter-injection-configmap.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,11 @@ | ||
{{- $envOverrides := index .Values (tpl .Chart.Name .) -}} | ||
{{- $_ := set . "Values" (merge .Values $envOverrides) -}} | ||
{{- if index .Values "custom-js-injection" -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Chart.Name }}-js-injection | ||
namespace: {{ .Values.namespace }} | ||
data: | ||
{{- index .Values "custom-js-injection" | nindent 2 }} | ||
{{- end -}} |
34 changes: 34 additions & 0 deletions
34
config-as-code/helm/charts/frontend/microplan-ui/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,34 @@ | ||
# Common Labels | ||
labels: | ||
app: "microplan-ui" | ||
group: "web" | ||
|
||
namespace: egov | ||
|
||
# Ingress Configs | ||
ingress: | ||
enabled: true | ||
context: "microplan-ui" | ||
|
||
# Init Containers Configs | ||
initContainers: {} | ||
|
||
# Container Configs | ||
image: | ||
repository: "microplan-ui" | ||
replicas: "1" | ||
httpPort: 80 | ||
healthChecks: | ||
enabled: true | ||
livenessProbePath: "/microplan-ui/" | ||
readinessProbePath: "/microplan-ui/" | ||
|
||
extraVolumes: | | ||
- name: js-injection | ||
configMap: | ||
name: microplan-ui-js-injection | ||
extraVolumeMounts: | | ||
- mountPath: /etc/nginx/conf.d/sub_filter.conf | ||
name: js-injection | ||
subPath: sub_filter.conf |
26 changes: 26 additions & 0 deletions
26
config-as-code/helm/charts/health-services/resource-generator/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: resource-generator | ||
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.0.0 | ||
|
||
dependencies: | ||
- name: common | ||
version: 0.0.5 | ||
repository: file://../../common |
2 changes: 2 additions & 0 deletions
2
config-as-code/helm/charts/health-services/resource-generator/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
config-as-code/helm/charts/health-services/resource-generator/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
config-as-code/helm/charts/health-services/resource-generator/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" . -}} |
107 changes: 107 additions & 0 deletions
107
config-as-code/helm/charts/health-services/resource-generator/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,107 @@ | ||
# Common Labels | ||
labels: | ||
app: "resource-generator" | ||
group: "egov" | ||
|
||
namespace: egov | ||
|
||
# Ingress Configs | ||
ingress: | ||
namespace: egov | ||
enabled: false | ||
zuul: false | ||
context: "resource-generator" | ||
|
||
# Container Configs | ||
image: | ||
repository: "resource-generator" | ||
replicas: "1" | ||
healthChecks: | ||
enabled: true | ||
livenessProbePath: "/resource-generator/health" | ||
readinessProbePath: "/resource-generator/health" | ||
appType: "java-spring" | ||
tracing-enabled: true | ||
memory_limits: 512Mi | ||
heap: "-Xmx256m -Xms256m" | ||
java-args: "" | ||
egov-mdms-service-host-key: "mdms-service-v2" | ||
egov-mdms-service-endpoint-key: "/mdms-v2/v1/_search" | ||
egov-mdms-service-v2-endpoint-key: "/mdms-v2/v2/_search" | ||
|
||
# Additional Container Envs | ||
env: | | ||
- name: SPRING_KAFKA_CONSUMER_GROUP_ID | ||
value: resource-generator | ||
- name: SPRING_KAFKA_PRODUCER_KEY_SERIALIZER | ||
value: org.apache.kafka.common.serialization.StringSerializer | ||
{{- if index .Values "global" "tracer-errors-provideexceptionindetails" }} | ||
- name: TRACER_ERRORS_PROVIDEEXCEPTIONINDETAILS | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-config | ||
key: tracer-errors-provideexceptionindetails | ||
{{- end }} | ||
- name: EGOV_MDMS_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: {{ index .Values "egov-mdms-service-host-key" | quote }} | ||
- name: EGOV_MDMS_SEARCH_ENDPOINT | ||
value: {{ index .Values "egov-mdms-service-endpoint-key" | quote }} | ||
- name: EGOV_MDMS_SEARCH_V2_ENDPOINT | ||
value: {{ index .Values "egov-mdms-service-v2-endpoint-key" | quote }} | ||
- name: EGOV_MDMS_INTEGRATION_ENABLED | ||
value: "true" | ||
- name: EGOV_FILESTORE_SERVICE_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: egov-filestore | ||
- name: EGOV_FILESTORE_UPLOAD_ENDPOINT | ||
value: /filestore/v1/files | ||
- name: EGOV_PLAN_CONFIG_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: plan-service | ||
- name: EGOV_PLAN_CREATE_ENDPOINT | ||
value: /plan-service/plan/_create | ||
- name: EGOV_PROJECT_FACTORY_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: project-factory | ||
- name: EGOV_BOUNDARY_SERVICE_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: boundary-service | ||
- name: EGOV_LOCALE_SERVICE_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: egov-localization | ||
- name: EGOV_PROJECT_FACTORY_SEARCH_ENDPOINT | ||
value: /project-factory/v1/project-type/search | ||
- name: EGOV_PROJECT_FACTORY_UPDATE_ENDPOINT | ||
value: /project-factory/v1/project-type/update | ||
- name: EGOV_CENSUS_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
name: egov-service-host | ||
key: census-service | ||
- name: JAVA_OPTS | ||
value: {{ index .Values "heap" | quote }} | ||
- name: JAVA_ARGS | ||
value: {{ index .Values "java-args" | quote }} | ||
- name: SERVER_PORT | ||
value: "8080" | ||
- name: SECURITY_BASIC_ENABLED | ||
value: "false" | ||
- name: MANAGEMENT_SECURITY_ENABLED | ||
value: "false" | ||
- name: RESOURCE_MICROPLAN_CREATE_TOPIC | ||
value: "resource-microplan-create-topic" | ||
- name: INTEGRATE_WITH_ADMIN_CONSOLE | ||
value: "true" |
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