Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions config-as-code/environments/egov-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@ egov-idgen:
memory_limits: 512Mi
autocreate-new-seq: "true"

# Metabase Configuration
metabase:
image:
tag: 'v0.55.10.3'
httpPort: 3000
healthChecks:
enabled: true
livenessProbePath: "/api/health"
readinessProbePath: "/api/health"

egov-notification-sms:
sms-provider-url: "sms provider url" ## Add sms provider url
sms.provider.class: "Generic"
Expand Down
11 changes: 11 additions & 0 deletions config-as-code/helm/charts/health-services/metabase/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v2
name: metabase
description: Metabase Helm chart for DIGIT dev environment
type: application
version: 0.1.0
appVersion: "v0.55.10.3"

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" . -}}
68 changes: 68 additions & 0 deletions config-as-code/helm/charts/health-services/metabase/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Common Labels
labels:
app: "metabase"
group: "analytics"

namespace: egov

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

# Container Configs
image:
repository: metabase/metabase
tag: v0.55.10.3
replicas: 1
healthChecks:
enabled: true
livenessProbePath: "/api/health"
readinessProbePath: "/api/health"
appType: "java-spring"
tracing-enabled: false
httpPort: 3000

# Environment Variables
env: |
- name: MB_DB_TYPE
value: "postgres"
- name: MB_DB_HOST
valueFrom:
configMapKeyRef:
name: egov-config
key: db-host
- name: MB_DB_PORT
value: "5432"
- name: MB_DB_USER
valueFrom:
secretKeyRef:
name: db
key: username
- name: MB_DB_PASS
valueFrom:
secretKeyRef:
name: db
key: password
- name: MB_DB_DBNAME
valueFrom:
configMapKeyRef:
name: egov-config
key: db-name
- name: JAVA_TIMEZONE
valueFrom:
configMapKeyRef:
key: timezone
name: egov-config
- name: MB_SAMPLE_DATA_ENABLED
value: "false"

resources: |
limits:
memory: 1024Mi
requests:
memory: 512Mi

# Service will be auto-configured based on httpPort