ops(argocd): enforce sync waves (nats first) and add redeploy stamp annotation
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "0"
|
||||
name: nats-config
|
||||
namespace: stone-server
|
||||
data:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user