Skip to content

Commit

Permalink
update migration operator
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nicolas committed Aug 31, 2023
1 parent b7b36de commit 1f12e12
Show file tree
Hide file tree
Showing 174 changed files with 499 additions and 328 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/formancehq/gateway:v0.1.7 as gateway
FROM ghcr.io/formancehq/ledger:v1.10.3 as ledger
FROM ghcr.io/formancehq/payments:v0.9.7 as payments
FROM formancehq/payments:latest as payments
FROM ghcr.io/formancehq/orchestration:v0.1.5 as orchestration
FROM ghcr.io/formancehq/auth:v0.4.3 as auth
FROM ghcr.io/formancehq/search:v0.7.0 as search
Expand All @@ -27,7 +27,7 @@ COPY --from=orchestration /usr/bin/orchestration /usr/bin/orchestration
COPY --from=dex /usr/local/bin/dex /usr/bin/dex
COPY --from=auth /usr/bin/auth /usr/bin/auth
COPY --from=ledger /usr/local/bin/numary /usr/bin/ledger
COPY --from=payments /usr/bin/payments /usr/bin/payments
COPY --from=payments /usr/local/bin/payments /usr/bin/payments
COPY --from=search /usr/bin/search /usr/bin/search
COPY --from=wallets /usr/bin/wallets /usr/bin/wallets
COPY --from=webhooks /usr/bin/webhooks /usr/bin/webhooks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-08-29T09:09:07Z"
lastUpdateTime: "2023-08-29T09:09:07Z"
- lastTransitionTime: "2023-08-31T13:06:10Z"
lastUpdateTime: "2023-08-31T13:06:10Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: stack.formance.com/v1beta3
kind: Migration
metadata:
annotations:
reloader.stakater.com/auto: "true"
generation: 1
labels:
stack: "true"
name: payments-v0.10.0-pre-upgrade
namespace: monopod-disabled-one-service
spec:
configuration: monopod-disabled-one-service
module: payments
postUpgrade: false
targetedVersion: v0.10.0
version: monopod-disabled-one-service
status:
terminated: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.194
clusterIP: 10.0.0.52
clusterIPs:
- 10.0.0.194
- 10.0.0.52
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.178
clusterIP: 10.0.0.110
clusterIPs:
- 10.0.0.178
- 10.0.0.110
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.252
clusterIP: 10.0.0.76
clusterIPs:
- 10.0.0.252
- 10.0.0.76
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: payments
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.128
clusterIP: 10.0.0.233
clusterIPs:
- 10.0.0.128
- 10.0.0.233
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search-benthos
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.61
clusterIP: 10.0.0.150
clusterIPs:
- 10.0.0.61
- 10.0.0.150
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.181
clusterIP: 10.0.0.217
clusterIPs:
- 10.0.0.181
- 10.0.0.217
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: stargate
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.200
clusterIP: 10.0.0.164
clusterIPs:
- 10.0.0.200
- 10.0.0.164
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: wallets
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.118
clusterIP: 10.0.0.108
clusterIPs:
- 10.0.0.118
- 10.0.0.108
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: webhooks
namespace: monopod-disabled-one-service
spec:
clusterIP: 10.0.0.179
clusterIP: 10.0.0.64
clusterIPs:
- 10.0.0.179
- 10.0.0.64
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -977,8 +977,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-08-29T09:09:07Z"
lastUpdateTime: "2023-08-29T09:09:07Z"
- lastTransitionTime: "2023-08-31T13:06:11Z"
lastUpdateTime: "2023-08-31T13:06:11Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: stack.formance.com/v1beta3
kind: Migration
metadata:
annotations:
reloader.stakater.com/auto: "true"
generation: 1
labels:
stack: "true"
name: payments-v0.10.0-pre-upgrade
namespace: monopod-latest
spec:
configuration: monopod-latest
module: payments
postUpgrade: false
targetedVersion: v0.10.0
version: monopod-latest
status:
terminated: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-latest
spec:
clusterIP: 10.0.0.123
clusterIP: 10.0.0.235
clusterIPs:
- 10.0.0.123
- 10.0.0.235
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-latest
spec:
clusterIP: 10.0.0.143
clusterIP: 10.0.0.230
clusterIPs:
- 10.0.0.143
- 10.0.0.230
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-latest
spec:
clusterIP: 10.0.0.158
clusterIP: 10.0.0.135
clusterIPs:
- 10.0.0.158
- 10.0.0.135
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: ledger
namespace: monopod-latest
spec:
clusterIP: 10.0.0.115
clusterIP: 10.0.0.60
clusterIPs:
- 10.0.0.115
- 10.0.0.60
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: orchestration
namespace: monopod-latest
spec:
clusterIP: 10.0.0.77
clusterIP: 10.0.0.129
clusterIPs:
- 10.0.0.77
- 10.0.0.129
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: payments
namespace: monopod-latest
spec:
clusterIP: 10.0.0.159
clusterIP: 10.0.0.81
clusterIPs:
- 10.0.0.159
- 10.0.0.81
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search-benthos
namespace: monopod-latest
spec:
clusterIP: 10.0.0.212
clusterIP: 10.0.0.2
clusterIPs:
- 10.0.0.212
- 10.0.0.2
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search
namespace: monopod-latest
spec:
clusterIP: 10.0.0.249
clusterIP: 10.0.0.30
clusterIPs:
- 10.0.0.249
- 10.0.0.30
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: stargate
namespace: monopod-latest
spec:
clusterIP: 10.0.0.253
clusterIP: 10.0.0.37
clusterIPs:
- 10.0.0.253
- 10.0.0.37
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: wallets
namespace: monopod-latest
spec:
clusterIP: 10.0.0.254
clusterIP: 10.0.0.82
clusterIPs:
- 10.0.0.254
- 10.0.0.82
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: webhooks
namespace: monopod-latest
spec:
clusterIP: 10.0.0.210
clusterIP: 10.0.0.161
clusterIPs:
- 10.0.0.210
- 10.0.0.161
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-08-29T09:09:08Z"
lastUpdateTime: "2023-08-29T09:09:08Z"
- lastTransitionTime: "2023-08-31T13:06:11Z"
lastUpdateTime: "2023-08-31T13:06:11Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: stack.formance.com/v1beta3
kind: Migration
metadata:
annotations:
reloader.stakater.com/auto: "true"
generation: 1
labels:
stack: "true"
name: payments-v0.10.0-pre-upgrade
namespace: monopod-ledgerv1
spec:
configuration: monopod-ledgerv1
module: payments
postUpgrade: false
targetedVersion: v0.10.0
version: monopod-ledgerv1
status:
terminated: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.243
clusterIP: 10.0.0.130
clusterIPs:
- 10.0.0.243
- 10.0.0.130
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.228
clusterIP: 10.0.0.144
clusterIPs:
- 10.0.0.228
- 10.0.0.144
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.117
clusterIP: 10.0.0.94
clusterIPs:
- 10.0.0.117
- 10.0.0.94
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: ledger
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.182
clusterIP: 10.0.0.11
clusterIPs:
- 10.0.0.182
- 10.0.0.11
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Loading

0 comments on commit 1f12e12

Please sign in to comment.