## Summary - Pin ArgoCD kustomization to v3.2.6 tag instead of `stable` branch - This gives intentional control over ArgoCD version upgrades ## Deployment and Testing - [ ] Sync the `apps` application: `argocd app sync apps` - [ ] Point argocd at feature branch: `argocd app set argocd --revision feature/pin-argocd-v3.2.6` - [ ] Sync argocd: `argocd app sync argocd` - [ ] Verify ArgoCD is running v3.2.6 - [ ] After merge, reset to main: `argocd app set argocd --revision main && argocd app sync argocd` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.tail8d86e.ts.net/eblume/blumeops/pulls/44
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: devpi
|
|
namespace: devpi
|
|
spec:
|
|
serviceName: devpi
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: devpi
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: devpi
|
|
spec:
|
|
securityContext:
|
|
fsGroup: 1000
|
|
containers:
|
|
- name: devpi
|
|
# TODO: Tag builds with semantic versions (e.g., v1.0.0) for reproducibility
|
|
image: registry.tail8d86e.ts.net/blumeops/devpi:latest
|
|
env:
|
|
- name: DEVPI_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: devpi-root
|
|
key: password
|
|
- name: DEVPI_OUTSIDE_URL
|
|
value: "https://pypi.tail8d86e.ts.net"
|
|
ports:
|
|
- containerPort: 3141
|
|
name: http
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /devpi
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "2Gi" # High limit for initial PyPI index build, reclaimed after
|
|
cpu: "500m"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /+api
|
|
port: 3141
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /+api
|
|
port: 3141
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
volumeClaimTemplates:
|
|
- metadata:
|
|
name: data
|
|
spec:
|
|
accessModes: ["ReadWriteOnce"]
|
|
resources:
|
|
requests:
|
|
storage: 50Gi
|