Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk upload configs #50

Merged
merged 2 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions deploy-as-code/helm/charts/bulk-upload/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v2
name: bulk-upload
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" . -}}
2 changes: 2 additions & 0 deletions deploy-as-code/helm/charts/bulk-upload/templates/ingress.yaml
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 deploy-as-code/helm/charts/bulk-upload/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# service.yaml
{{- template "common.service" . -}}
39 changes: 39 additions & 0 deletions deploy-as-code/helm/charts/bulk-upload/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Common Labels
labels:
app: "bulk-upload"
group: "rainmaker"

namespace: egov

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

# Init Containers Configs
#initContainers:
# dbMigration:
# enabled: true
# schemaTable: "works_pdf_schema"
# image:
# repository: "works-pdf-db"

# Container Configs
image:
repository: "bulk-upload"
replicas: "1"

# Additional Container Envs
env: |
- name: EGOV_MDMS_HOST_V2
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-mdms-service-v2
- name: EGOV_IDGEN_HOST
valueFrom:
configMapKeyRef:
name: egov-service-host
key: egov-idgen
13 changes: 5 additions & 8 deletions deploy-as-code/helm/environments/mukta-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ cluster-configs:
measurement-service: "http://measurement-service.works:8080/"
measurement-registry: "http://measurement-registry.works:8080/"
egov-mdms-service-v2: "http://mdms-v2.egov:8080/"
bulk-upload: "http://bulk-upload.egov:8080/"


#######------WORKS-----######
estimate-service:
Expand Down Expand Up @@ -169,14 +171,9 @@ contract-service:
contract-cbo-url-host : "https://mukta-uat.digit.org"
contract-cbo-url-endpoint : "/works-shg-app"

# project-management-system:
# tracing-enabled: true
# java-enable-debug: true
# project-default-offset: 0
# project-default-limit: 100
# project-search-max-limit: 200
# project-mdms-module: "works"
# egov-location-hierarchy-type: "ADMIN"
bulk-upload:
tracing-enabled: true
java-enable-debug: true

project:
tracing-enabled: true
Expand Down