Files
dancefinder-app/k8s/deploy.yaml
T
argoyleandClaude Opus 5.5 ddbceeb7b5
dancefinder-app / build (pull_request) Successful in 1m42s
dancefinder-app / deploy-prod-frostmoln (pull_request) Skipped
feat: deploy to Frostmoln production
Replace the AWS deploy-prod job (failing since CI left AWS) with deploy-prod-frostmoln, and run under the restricted Pod Security profile with the namespace's oci-registry pull secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
2026-10-16 10:23:16 +02:00

83 lines
1.9 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: dancefinder-app
labels:
app.kubernetes.io/name: dancefinder-app
annotations:
kubernetes.io/change-cause: "${TIMESTAMP} Deployed commit id: ${COMMIT}"
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 30
selector:
matchLabels:
app.kubernetes.io/name: dancefinder-app
template:
metadata:
labels:
app.kubernetes.io/name: dancefinder-app
spec:
imagePullSecrets:
- name: oci-registry
securityContext:
runAsNonRoot: true
runAsUser: 101
seccompProfile:
type: RuntimeDefault
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: "app.kubernetes.io/name"
operator: In
values:
- dancefinder-app
topologyKey: kubernetes.io/hostname
containers:
- name: dancefinder-app
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
imagePullPolicy: Always
image: ${IMAGE}
ports:
- containerPort: 8080
resources:
requests:
cpu: 10m
memory: 10Mi
limits:
memory: 300Mi
---
apiVersion: v1
kind: Service
metadata:
name: dancefinder-app
labels:
app.kubernetes.io/name: dancefinder-app
spec:
selector:
app.kubernetes.io/name: dancefinder-app
ports:
- port: 80
targetPort: 8080