Files
dancefetcher/k8s/deploy.yaml
argoyleandClaude Opus 5.5 b970bee95c
dancefetcher / build (pull_request) Successful in 2m37s
dancefetcher / 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:21 +02:00

36 lines
905 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
labels:
app.kubernetes.io/name: dancefetcher
name: dancefetcher
spec:
schedule: '0 0 * * *'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
imagePullSecrets:
- name: oci-registry
securityContext:
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
type: RuntimeDefault
containers:
- name: dancefetcher
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
image: ${IMAGE}
imagePullPolicy: Always
resources:
limits:
memory: 200Mi
requests:
cpu: 20m
memory: 30Mi
restartPolicy: OnFailure