ops(argocd): enforce sync waves (nats first) and add redeploy stamp annotation

This commit is contained in:
dingo
2026-03-02 03:52:17 +00:00
parent cec6773a12
commit ad611ee4ca
12 changed files with 46 additions and 0 deletions
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
name: sor-webclient
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-webclient
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-webclient
spec:
+2
View File
@@ -1,6 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
name: nats-config
namespace: stone-server
data:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-admin
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-admin
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-admin
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-bazaar
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-bazaar
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-bazaar
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-collection
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-collection
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-collection
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-content
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-content
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-content
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-game
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-game
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-game
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-gateway
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-gateway
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-gateway
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-matchmaking
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-matchmaking
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-matchmaking
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
name: nats
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: nats
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: nats
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-versioning
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-versioning
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-versioning
spec:
+4
View File
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
name: sor-chat
namespace: stone-server
labels:
@@ -12,6 +14,8 @@ spec:
app: sor-chat
template:
metadata:
annotations:
sor/redeploy-at: "initial"
labels:
app: sor-chat
spec: