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
26 changes: 26 additions & 0 deletions deploy-as-code/helm/charts/core-services/boundary-go/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v2
name: boundary-go
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" . -}}
71 changes: 71 additions & 0 deletions deploy-as-code/helm/charts/core-services/boundary-go/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Common Labels
labels:
app: "boundary-go"
group: "core"

# Ingress Configs
ingress:
enabled: true
zuul: true
context: "boundary-go"


# Container Configs

initContainers:
dbMigration:
enabled: false # Go service handles its own migrations

# Container Configs
image:
repository: "sahuaradhya222/boundary-go"
tag: "v4"
replicas: 1
appType: "go"
tracing-enabled: true # Assuming you want to keep tracing
memory_limits: 100Mi
cpu_limits: 50m
healthChecks:
enabled: false # Disabled as requested
livenessProbePath: "/health"
readinessProbePath: "/health"

# Additional Container Envs
env: |
- name: DB_HOST
value: "postgresql-lts.egov"
- name: DB_PORT
value: "5432"
- name: DB_USER
valueFrom:
secretKeyRef:
name: db
key: username
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: db
key: password
- name: DB_NAME
value: "postgres"
- name: DB_SSL_MODE
value: "disable"
- name: SERVER_PORT
value: "8081"
- name: SERVER_CONTEXT_PATH
value: "/boundary-service"
- name: FILESTORE_BASEPATH
value: "http://localhost:8001"
- name: FILESTORE_ENDPOINT
value: "/filestore/v1/files"
- name: CACHE_TYPE
value: "inmemory"
# If you want to use Redis, uncomment and set these:
# - name: CACHE_TYPE
# value: "redis"
# - name: CACHE_REDIS_ADDR
# value: "localhost:6379"
# - name: CACHE_REDIS_PASSWORD
# value: ""
# - name: CACHE_REDIS_DB
# value: "0"