Commit 713ae715 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Try some changes

parent 4b45ae87
Pipeline #25124 passed with stages
in 2 minutes and 8 seconds
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/import-api"
tag: "latest"
k8sName: import
k8sGroupName: api
k8sEnvironment: prod
......
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/import-api"
tag: "latest"
k8sName: import
k8sGroupName: api
k8sEnvironment: stage
......
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/import-api"
tag: "latest"
k8sName: import
k8sGroupName: api
k8sEnvironment: test
......
......@@ -22,7 +22,6 @@ spec:
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-app"
group: "{{ .Values.k8sGroupName }}"
environment: "{{ .Values.k8sEnvironment }}"
tier: web
spec:
serviceAccountName: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-service-account #to be able to manage other pods inside the cluster
containers:
......
......@@ -10,13 +10,13 @@ metadata:
spec:
tls:
- hosts:
- {{ .Values.ingressUri }}
secretName: {{ .Values.ingressUri }}-tls
- "{{ .Values.ingressUri }}"
secretName: "{{ .Values.ingressUri }}-tls"
rules:
- host: {{ .Values.ingressUri }}
http:
paths:
- path: /
backend:
serviceName: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-service
servicePort: 5000
\ No newline at end of file
- host: "{{ .Values.ingressUri }}"
http:
paths:
- path: /
backend:
serviceName: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-service"
servicePort: 5000
\ No newline at end of file
......@@ -7,13 +7,12 @@ metadata:
app: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-app
group: "{{ .Values.k8sGroupName }}"
environment: "{{ .Values.k8sEnvironment }}"
tier: web
spec:
ports:
- port: 5000
targetPort: 5000
selector:
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-app"
group: "{{ .Values.k8sGroupName }}"
environment: "{{ .Values.k8sEnvironment }}"
tier: web
clusterIP: None
\ No newline at end of file
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