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 ...@@ -2,10 +2,10 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-app-config" name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-app-config"
namespace: memobase namespace: "{{ .Values.k8sNamespace }}"
labels: labels:
app: "{{ .Values.k8sName }}" app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }} environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}" group: "{{ .Values.k8sGroupName }}"
data: data:
APPLICATION_ID: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-{{.Values.applicationIdVersion }}-app" APPLICATION_ID: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-{{.Values.applicationIdVersion }}-app"
......
...@@ -2,10 +2,10 @@ apiVersion: apps/v1 ...@@ -2,10 +2,10 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-deployment" name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-deployment"
namespace: memobase namespace: "{{ .Values.k8sNamespace }}"
labels: labels:
app: "{{ .Values.k8sName }}" app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }} environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}" group: "{{ .Values.k8sGroupName }}"
spec: spec:
selector: selector:
...@@ -18,8 +18,9 @@ spec: ...@@ -18,8 +18,9 @@ spec:
metadata: metadata:
labels: labels:
app: "{{ .Values.k8sName }}" app: "{{ .Values.k8sName }}"
environment: {{ .Values.k8sEnvironment }} environment: "{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupName }}" group: "{{ .Values.k8sGroupName }}"
logging: "{{ .Values.k8sLogging }}"
spec: spec:
containers: containers:
- name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-container" - name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-container"
......
...@@ -6,8 +6,9 @@ tag: "latest" ...@@ -6,8 +6,9 @@ tag: "latest"
k8sName: placeholder k8sName: placeholder
k8sGroupId: placeholder k8sGroupId: placeholder
k8sGroupName: placeholder k8sGroupName: placeholder
k8sNamespace: memobase
k8sEnvironment: placeholder k8sEnvironment: placeholder
k8sLogging: java
k8sReplicas: 1 k8sReplicas: 1
k8sRequestsCpu: "0.1" k8sRequestsCpu: "0.1"
k8sRequestsMemory: "128Mi" k8sRequestsMemory: "128Mi"
......
Supports Markdown
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