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

28 lines
580 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami-deployment
namespace: test
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:
- name: whoami-deployment
imagePullPolicy: Always
image: registry.asraphiel.dev/whoami
ports:
- containerPort: 80
imagePullSecrets:
- name: registry-creds