diff --git a/deploy-as-code/helm/charts/core-services/boundary-go/Chart.yaml b/deploy-as-code/helm/charts/core-services/boundary-go/Chart.yaml new file mode 100644 index 0000000000..0257f162c3 --- /dev/null +++ b/deploy-as-code/helm/charts/core-services/boundary-go/Chart.yaml @@ -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 diff --git a/deploy-as-code/helm/charts/core-services/boundary-go/templates/deployment.yaml b/deploy-as-code/helm/charts/core-services/boundary-go/templates/deployment.yaml new file mode 100644 index 0000000000..3455c00058 --- /dev/null +++ b/deploy-as-code/helm/charts/core-services/boundary-go/templates/deployment.yaml @@ -0,0 +1,2 @@ +# deployment.yaml +{{- template "common.deployment" . -}} \ No newline at end of file diff --git a/deploy-as-code/helm/charts/core-services/boundary-go/templates/ingress.yaml b/deploy-as-code/helm/charts/core-services/boundary-go/templates/ingress.yaml new file mode 100644 index 0000000000..9a573c0d7d --- /dev/null +++ b/deploy-as-code/helm/charts/core-services/boundary-go/templates/ingress.yaml @@ -0,0 +1,2 @@ +# ingress.yaml +{{- template "common.ingress" . -}} \ No newline at end of file diff --git a/deploy-as-code/helm/charts/core-services/boundary-go/templates/service.yaml b/deploy-as-code/helm/charts/core-services/boundary-go/templates/service.yaml new file mode 100644 index 0000000000..7356445764 --- /dev/null +++ b/deploy-as-code/helm/charts/core-services/boundary-go/templates/service.yaml @@ -0,0 +1,2 @@ +# service.yaml +{{- template "common.service" . -}} \ No newline at end of file diff --git a/deploy-as-code/helm/charts/core-services/boundary-go/values.yaml b/deploy-as-code/helm/charts/core-services/boundary-go/values.yaml new file mode 100644 index 0000000000..e6e5d08950 --- /dev/null +++ b/deploy-as-code/helm/charts/core-services/boundary-go/values.yaml @@ -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"