From 8fdf6f5f7cfbedc644408b338062a721bc4d1c91 Mon Sep 17 00:00:00 2001 From: Mikhail Piatliou <mikhail_piatliou@epam.com> Date: Fri, 18 Jun 2021 14:49:11 +0300 Subject: [PATCH] GONRG-2627: minor improvements for helms --- devops/gcp/configmap/Chart.yaml | 2 +- devops/gcp/deploy/Chart.yaml | 2 +- devops/gcp/deploy/templates/partition-deploy.yml | 2 +- devops/gcp/deploy/templates/partition-service.yml | 2 +- devops/gcp/deploy/templates/partition-virtual-service.yml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devops/gcp/configmap/Chart.yaml b/devops/gcp/configmap/Chart.yaml index d423a9dc2..75d7fdd94 100644 --- a/devops/gcp/configmap/Chart.yaml +++ b/devops/gcp/configmap/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: partition-configmap +name: gcp-partition-configmap description: A Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # diff --git a/devops/gcp/deploy/Chart.yaml b/devops/gcp/deploy/Chart.yaml index 18597150b..8db1c0289 100644 --- a/devops/gcp/deploy/Chart.yaml +++ b/devops/gcp/deploy/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: partition-deploy +name: gcp-partition-deploy description: A Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # diff --git a/devops/gcp/deploy/templates/partition-deploy.yml b/devops/gcp/deploy/templates/partition-deploy.yml index 7640b812e..34791b842 100644 --- a/devops/gcp/deploy/templates/partition-deploy.yml +++ b/devops/gcp/deploy/templates/partition-deploy.yml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: "{{ .Values.conf.app_name }}" - namespace: {{ .Release.Namespace }} + namespace: "{{ .Release.Namespace }}" spec: replicas: 1 selector: diff --git a/devops/gcp/deploy/templates/partition-service.yml b/devops/gcp/deploy/templates/partition-service.yml index d507d6833..d03488ae7 100644 --- a/devops/gcp/deploy/templates/partition-service.yml +++ b/devops/gcp/deploy/templates/partition-service.yml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: name: "{{ .Values.conf.app_name }}" - namespace: {{ .Release.Namespace }} + namespace: "{{ .Release.Namespace }}" annotations: cloud.google.com/neg: '{"ingress": true}' spec: diff --git a/devops/gcp/deploy/templates/partition-virtual-service.yml b/devops/gcp/deploy/templates/partition-virtual-service.yml index 4ac78d87c..13c21ddf1 100644 --- a/devops/gcp/deploy/templates/partition-virtual-service.yml +++ b/devops/gcp/deploy/templates/partition-virtual-service.yml @@ -2,7 +2,7 @@ apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: "{{ .Values.conf.app_name }}" - namespace: {{ .Release.Namespace }} + namespace: "{{ .Release.Namespace }}" spec: hosts: - "*" @@ -11,9 +11,9 @@ spec: http: - match: - uri: - prefix: /api/partition + prefix: "/api/partition" route: - destination: port: number: 80 - host: {{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local + host: "{{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local" -- GitLab