Files
argocd-apps/apps/base/arrstack/arrproxy/ui-deployment.yaml
T
unkin-agent ba947c92ad
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
arrproxy: bump images to v0.5.0 (per-token method scoping)
arrproxy v0.5.0 adds per-token HTTP method scoping for machine tokens, so a
minted token can be limited to e.g. GET only. Existing tokens keep an empty
methods list and stay unrestricted.

- Bump arrproxy-api and arrproxy-ui pins to v0.5.0
- Mirror migrations 0002_tier_tokens.sql and 0003_token_methods.sql into the
  migrations ConfigMap, which had drifted at 0001 while v0.4.0 already queried
  tier/read_only and v0.5.0 queries methods
- Have the wave-1 migrate Job apply all three files in order (every statement
  is idempotent, so a resync over a migrated database is a no-op)
2026-08-30 14:20:47 +10:00

73 lines
1.8 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: arrproxy-ui
namespace: arrstack
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
replicas: 2
selector:
matchLabels:
app: arrproxy-ui
strategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: arrproxy-ui
spec:
serviceAccountName: default
automountServiceAccountToken: false
securityContext:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
fsGroup: 65532
seccompProfile:
type: RuntimeDefault
containers:
- name: ui
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/arrproxy-ui:v0.5.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
protocol: TCP
env:
- name: ARRPROXY_UI_ADDR
value: ":8080"
livenessProbe:
httpGet:
path: /livez
port: http
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /readyz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
resources:
requests:
cpu: 50m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
restartPolicy: Always