arrproxy: v0.6.0 self-migrating, drop external migrate Job
Bump arrproxy-api and arrproxy-ui to v0.6.0 and remove the psql migrate Job plus its migrations ConfigMap. v0.6.0 applies its own schema at startup under a Postgres advisory lock and holds /readyz until it is current, so the external hook is dead weight and a drift trap.
This commit is contained in:
@@ -5,7 +5,9 @@ metadata:
|
||||
name: arrproxy-api
|
||||
namespace: arrstack
|
||||
annotations:
|
||||
# Wave 2: serve only after the wave-1 migrate Job completes.
|
||||
# Wave 2: start only after the wave-0 CNPG Cluster and VSO-synced Secrets
|
||||
# exist. The api self-migrates at startup under a Postgres advisory lock and
|
||||
# holds /readyz until the schema is current, so no migration ordering is needed.
|
||||
argocd.argoproj.io/sync-wave: "2"
|
||||
secret.reloader.stakater.com/reload: "arrproxy-pepper,arrproxy-admin-token,arrproxy-db-app,sonarr-adult-apikey,radarr-adult-apikey,sonarr-kids-apikey,radarr-kids-apikey"
|
||||
configmap.reloader.stakater.com/reload: "arrproxy-tiers"
|
||||
@@ -34,7 +36,7 @@ spec:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: api
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/arrproxy-api:v0.5.0
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/arrproxy-api:v0.6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
||||
Reference in New Issue
Block a user