Commit 8fdf6f5f authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM)
Browse files

GONRG-2627: minor improvements for helms

parent 60bd1955
Pipeline #46939 passed with stages
in 21 minutes and 42 seconds
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.
#
......
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.
#
......
......@@ -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:
......
......@@ -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:
......
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment