From 535916adaa8e2140a60308fa3c5213be3b027de6 Mon Sep 17 00:00:00 2001 From: Akash LM Date: Fri, 24 May 2024 15:04:45 +0530 Subject: [PATCH] fix: add missing quotes in deployments --- charts/kad/Chart.yaml | 2 +- charts/kad/templates/agent-deployment.yaml | 3 +-- charts/kad/templates/config-worker-deployment.yaml | 2 +- charts/kad/templates/deployment-worker-deployment.yaml | 2 +- charts/kad/values.yaml | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/charts/kad/Chart.yaml b/charts/kad/Chart.yaml index 218a4176..faa5c6c3 100644 --- a/charts/kad/Chart.yaml +++ b/charts/kad/Chart.yaml @@ -15,7 +15,7 @@ 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.2 +version: 1.0.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/kad/templates/agent-deployment.yaml b/charts/kad/templates/agent-deployment.yaml index 3f70f296..da97363e 100644 --- a/charts/kad/templates/agent-deployment.yaml +++ b/charts/kad/templates/agent-deployment.yaml @@ -74,7 +74,7 @@ spec: - name: PG_DB_HOST value: {{ .Values.postgres.host }} - name: PG_DB_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: PG_DB_SERVICE_USERNAME value: {{ .Values.postgres.userName }} - name: PG_DB_ENTITY_NAME @@ -86,7 +86,6 @@ spec: configMapKeyRef: name: kad-agent-config key: clusterIssuerName - value: {{ .Values.postgres.dbName }} - name: PG_DB_ADMIN_CRED_IDENTIFIER value: {{ .Values.postgres.adminCredIdentifer }} resources: diff --git a/charts/kad/templates/config-worker-deployment.yaml b/charts/kad/templates/config-worker-deployment.yaml index 57ec9a46..7a871acd 100644 --- a/charts/kad/templates/config-worker-deployment.yaml +++ b/charts/kad/templates/config-worker-deployment.yaml @@ -74,7 +74,7 @@ spec: - name: PG_DB_HOST value: {{ .Values.postgres.host }} - name: PG_DB_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: PG_DB_SERVICE_USERNAME value: {{ .Values.postgres.userName }} - name: PG_DB_ENTITY_NAME diff --git a/charts/kad/templates/deployment-worker-deployment.yaml b/charts/kad/templates/deployment-worker-deployment.yaml index 50e104fd..5d56f4a1 100644 --- a/charts/kad/templates/deployment-worker-deployment.yaml +++ b/charts/kad/templates/deployment-worker-deployment.yaml @@ -60,7 +60,7 @@ spec: - name: PG_DB_HOST value: {{ .Values.postgres.host }} - name: PG_DB_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: PG_DB_SERVICE_USERNAME value: {{ .Values.postgres.userName }} - name: PG_DB_ENTITY_NAME diff --git a/charts/kad/values.yaml b/charts/kad/values.yaml index 8aa503a2..a663f2ad 100644 --- a/charts/kad/values.yaml +++ b/charts/kad/values.yaml @@ -54,7 +54,7 @@ vaultCred: postgres: host: postgres - port: 9042 + port: 5432 userName: capten entityName: postgres dbName: capten