From 5782852d94984a77873c812b2f1aba1d553d0580 Mon Sep 17 00:00:00 2001
From: Danylo Vanin <danylo_vanin@epam.com>
Date: Tue, 5 Mar 2024 19:07:08 +0200
Subject: [PATCH] [GONRG-9211] Added labels to gc helm

---
 devops/gc/deploy/templates/deploy-redis.yaml | 2 ++
 devops/gc/deploy/templates/deployment.yaml   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/devops/gc/deploy/templates/deploy-redis.yaml b/devops/gc/deploy/templates/deploy-redis.yaml
index edca13796..70f3f6399 100644
--- a/devops/gc/deploy/templates/deploy-redis.yaml
+++ b/devops/gc/deploy/templates/deploy-redis.yaml
@@ -4,6 +4,8 @@ kind: Deployment
 metadata:
   name: {{ printf "redis-%s" .Values.conf.appName | quote }}
   namespace: {{ .Release.Namespace | quote }}
+  labels:
+    type: infra
 spec:
   replicas: 1
   selector:
diff --git a/devops/gc/deploy/templates/deployment.yaml b/devops/gc/deploy/templates/deployment.yaml
index 8ebe82965..ccb99d406 100644
--- a/devops/gc/deploy/templates/deployment.yaml
+++ b/devops/gc/deploy/templates/deployment.yaml
@@ -3,6 +3,8 @@ kind: Deployment
 metadata:
   labels:
     app: {{ .Values.conf.appName | quote }}
+    type: core
+    source: java
   name: {{ .Values.conf.appName | quote }}
   namespace: {{ .Release.Namespace | quote }}
 spec:
-- 
GitLab