Files
geo-service/k8s/deploy.yaml
T
argoyleandClaude Opus 5.5 3ed363e386
geo-service / build (pull_request) Successful in 1m2s
geo-service / 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:19 +02:00

80 lines
1.9 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: geo-service
name: geo-service
annotations:
kubernetes.io/change-cause: "${TIMESTAMP} Deployed commit id: ${COMMIT}"
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: geo-service
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app.kubernetes.io/name: geo-service
spec:
imagePullSecrets:
- name: oci-registry
securityContext:
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
type: RuntimeDefault
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: "app.kubernetes.io/name"
operator: In
values:
- geo-service
topologyKey: kubernetes.io/hostname
containers:
- name: geo-service
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
resources:
limits:
memory: "100Mi"
requests:
memory: "100Mi"
imagePullPolicy: Always
image: ${IMAGE}
ports:
- containerPort: 8080
name: http
env:
- name: PORT
value: "8080"
envFrom:
- secretRef:
name: geo-service
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: geo-service
spec:
ports:
- port: 80
name: http
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/name: geo-service
type: ClusterIP