helm: fix invalid domain

This commit is contained in:
Jens Langhammer 2020-08-25 17:45:03 +02:00
parent 885f8bae9f
commit 983bbb622d
7 changed files with 15 additions and 15 deletions

View File

@ -7,19 +7,19 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }} helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static
spec: spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static
spec: spec:
containers: containers:
- name: {{ .Chart.Name }}-static - name: {{ .Chart.Name }}-static

View File

@ -7,7 +7,7 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }} helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
@ -18,4 +18,4 @@ spec:
selector: selector:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static

View File

@ -13,5 +13,5 @@ spec:
- port: http - port: http
selector: selector:
matchLabels: matchLabels:
k8s.passbook.io/component: static k8s.passbook.beryju.org/component: static
{{- end }} {{- end }}

View File

@ -7,20 +7,20 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }} helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web
spec: spec:
replicas: 2 replicas: 2
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web
spec: spec:
initContainers: initContainers:
- name: passbook-database-migrations - name: passbook-database-migrations

View File

@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "passbook.chart" . }} helm.sh/chart: {{ include "passbook.chart" . }}
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
@ -18,4 +18,4 @@ spec:
selector: selector:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web

View File

@ -22,5 +22,5 @@ spec:
interval: 10s interval: 10s
selector: selector:
matchLabels: matchLabels:
k8s.passbook.io/component: web k8s.passbook.beryju.org/component: web
{{- end }} {{- end }}

View File

@ -7,20 +7,20 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }} helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
k8s.passbook.io/component: worker k8s.passbook.beryju.org/component: worker
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: worker k8s.passbook.beryju.org/component: worker
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
k8s.passbook.io/component: worker k8s.passbook.beryju.org/component: worker
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}