selector and labels updated

This commit is contained in:
Steffen Illium 2024-04-15 14:37:47 +02:00
parent 9ec8e9830b
commit 6e14ce1586
3 changed files with 21 additions and 1 deletions

View File

@ -4,11 +4,17 @@ metadata:
name: traefik
namespace: traefik
spec:
selector:
matchLabels:
app: front-traefik
template:
metadata:
labels:
app: front-traefik
spec:
hostNetwork: false
containers:
- name: traefik
- name: front-traefik
env:
- name: IONOS_API_KEY
valueFrom:

View File

@ -13,4 +13,5 @@ resources:
- ../base
patches:
- path: patches/traefik-deployment-patch.yaml
- path: patches/traefik-service-patch.yaml

View File

@ -0,0 +1,13 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: traefik
namespace: traefik
spec:
selector:
matchLabels:
app: local-traefik
template:
metadata:
labels:
app: local-traefik