strato-infra/flux/cluster/apps/test/deployment.yaml

28 lines
580 B
YAML
Raw Normal View History

2022-05-22 14:55:33 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami-deployment
2022-05-22 15:05:59 +02:00
namespace: test
2022-05-22 14:55:33 +02:00
labels:
app: whoami-deployment
keel.sh/policy: force
keel.sh/match-tag: "true"
spec:
replicas: 1
selector:
matchLabels:
app: whoami-deployment
template:
metadata:
labels:
app: whoami-deployment
spec:
containers:
2022-05-22 15:05:59 +02:00
- name: whoami-deployment
imagePullPolicy: Always
2022-05-23 00:19:51 +02:00
image: registry.asraphiel.dev/whoami
2022-05-22 15:05:59 +02:00
ports:
- containerPort: 80
imagePullSecrets:
2022-05-23 00:39:20 +02:00
- name: registry-creds