Set more precise labels, selectors and matchers

This commit is contained in:
erik 2023-08-30 12:40:13 +02:00
parent c93f08614d
commit ee69800d49
16 changed files with 24 additions and 25 deletions

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-async
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-async
spec:
containers:
- name: taiga-async

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-async-rabbitmq
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-async-rabbitmq
spec:
containers:
- name: taiga-async-rabbitmq

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-async-rabbitmq
ports:
- name: amqp
targetPort: amqp

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-async
ports:
- name: http
targetPort: http

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-back
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-back
spec:
containers:
- name: taiga-back

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-back
ports:
- name: http
targetPort: http

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga # ToDo: Check for consistent labels (maybe use app.kubernetes.io)
app.kubernetes.io/component: taiga-events
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-events
spec:
containers:
- name: taiga-events

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-events-rabbitmq
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-events-rabbitmq
spec:
containers:
- name: taiga-events-rabbitmq

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-events-rabbitmq
ports:
- name: amqp
targetPort: amqp

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-events
ports:
- name: http
targetPort: http

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-front
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-front
spec:
containers:
- name: taiga-front

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-front
ports:
- name: http
targetPort: http

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-gateway
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-gateway
spec:
restartPolicy: Always
containers:

View file

@ -9,7 +9,7 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-gateway
ports:
- name: http
targetPort: http

View file

@ -9,11 +9,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: taiga
app.kubernetes.io/component: taiga-protected
template:
metadata:
labels:
app: taiga
app.kubernetes.io/component: taiga-protected
spec:
containers:
- name: taiga-protected

View file

@ -9,10 +9,9 @@ metadata:
spec:
type: ClusterIP
selector:
app: taiga
app.kubernetes.io/component: taiga-protected
ports:
- name: http
targetPort: http
port: 8003
protocol: TCP