Commit b8f48192 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add logging label

parent 7409b738
Pipeline #47594 passed with stages
in 4 minutes and 51 seconds
......@@ -2,10 +2,10 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-app-config"
namespace: memobase
namespace: "{{ .Values.k8sNamespace }}"
labels:
app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }}
environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}"
data:
APPLICATION_ID: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-{{.Values.applicationIdVersion }}-app"
......
......@@ -2,10 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-deployment"
namespace: memobase
namespace: "{{ .Values.k8sNamespace }}"
labels:
app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }}
environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}"
spec:
selector:
......@@ -18,8 +18,9 @@ spec:
metadata:
labels:
app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }}
environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}"
logging: "{{ .Values.k8sLogging }}"
spec:
containers:
- name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-container"
......
......@@ -6,8 +6,9 @@ tag: "latest"
k8sName: placeholder
k8sGroupId: placeholder
k8sGroupName: placeholder
k8sNamespace: memobase
k8sEnvironment: placeholder
k8sLogging: java
k8sReplicas: 1
k8sRequestsCpu: "0.1"
k8sRequestsMemory: "128Mi"
......
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