Skip to content

Commit

Permalink
Feat : Added hcm-bff helm chart (#2233)
Browse files Browse the repository at this point in the history
* Feat : Added hcm-bff helm chart

* Changed Namespace
  • Loading branch information
ashish-egov authored Jan 2, 2024
1 parent 4bc4bf3 commit 8f6948b
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v2
name: hcm-bff
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# deployment.yaml
{{- template "common.deployment" . -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ingress.yaml
{{- template "common.ingress" . -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# service.yaml
{{- template "common.service" . -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Common Labels
labels:
app: "hcm-bff"
group: "rainmaker"

namespace: health

# Ingress Configs
ingress:
namespace: egov
enabled: true
zuul: true
context: "hcm-bff"


# Container Configs
image:
repository: "hcm-bff"
replicas: "1"

# Additional Container Envs
env: |
- name: EGOV_MDMS_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-mdms-service
- name: KAFKA_BROKER_HOST
valueFrom:
configMapKeyRef:
name: egov-config
key: kafka-brokers
- name: EGOV_FILESTORE_SERVICE_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-filestore
- name: CONTEXT_PATH
value: "/egov-bff"
- name: EGOV_HOST
valueFrom:
configMapKeyRef:
name: egov-config
key: egov-services-fqdn-name

0 comments on commit 8f6948b

Please sign in to comment.