Skip to content
Snippets Groups Projects
Commit 8fdf6f5f authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM)
Browse files

GONRG-2627: minor improvements for helms

parent 60bd1955
No related branches found
No related tags found
2 merge requests!82Revert "Merge branch 'Add-pages-publishing' into 'master'",!67Minor improvements for helms [GONRG-2627]
Pipeline #46939 passed with warnings
apiVersion: v2 apiVersion: v2
name: partition-configmap name: gcp-partition-configmap
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart. # A chart can be either an 'application' or a 'library' chart.
# #
......
apiVersion: v2 apiVersion: v2
name: partition-deploy name: gcp-partition-deploy
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart. # A chart can be either an 'application' or a 'library' chart.
# #
......
...@@ -2,7 +2,7 @@ apiVersion: apps/v1 ...@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: "{{ .Values.conf.app_name }}" name: "{{ .Values.conf.app_name }}"
namespace: {{ .Release.Namespace }} namespace: "{{ .Release.Namespace }}"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
......
...@@ -2,7 +2,7 @@ apiVersion: v1 ...@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: "{{ .Values.conf.app_name }}" name: "{{ .Values.conf.app_name }}"
namespace: {{ .Release.Namespace }} namespace: "{{ .Release.Namespace }}"
annotations: annotations:
cloud.google.com/neg: '{"ingress": true}' cloud.google.com/neg: '{"ingress": true}'
spec: spec:
......
...@@ -2,7 +2,7 @@ apiVersion: networking.istio.io/v1alpha3 ...@@ -2,7 +2,7 @@ apiVersion: networking.istio.io/v1alpha3
kind: VirtualService kind: VirtualService
metadata: metadata:
name: "{{ .Values.conf.app_name }}" name: "{{ .Values.conf.app_name }}"
namespace: {{ .Release.Namespace }} namespace: "{{ .Release.Namespace }}"
spec: spec:
hosts: hosts:
- "*" - "*"
...@@ -11,9 +11,9 @@ spec: ...@@ -11,9 +11,9 @@ spec:
http: http:
- match: - match:
- uri: - uri:
prefix: /api/partition prefix: "/api/partition"
route: route:
- destination: - destination:
port: port:
number: 80 number: 80
host: {{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local host: "{{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment