From 4bd9696b3df578f1bacbb3800cc2fe9e6eceec4c Mon Sep 17 00:00:00 2001 From: Ragot Geoffrey Date: Fri, 30 Jun 2023 17:21:11 +0200 Subject: [PATCH] fix: tests (#404) --- .../stack/stack_reconciler_test.go | 4 +- .../search-benthos-streams.yaml | 5 ++ .../deployments-apps-v1/monopod-latest.yaml | 61 +++---------------- .../payments-v0.6.5-post-upgrade.yaml | 18 ++++++ .../payments-v0.6.5-pre-upgrade.yaml | 18 ++++++ .../payments-v0.6.7-pre-upgrade.yaml | 18 ++++++ .../search-v0.7.0-post-upgrade.yaml | 18 ++++++ .../wallets-v0.4.3-post-upgrade.yaml | 18 ++++++ .../results/services--v1/auth.yaml | 4 +- .../results/services--v1/control.yaml | 4 +- .../results/services--v1/gateway.yaml | 4 +- .../results/services--v1/ledger.yaml | 4 +- .../results/services--v1/orchestration.yaml | 4 +- .../results/services--v1/payments.yaml | 4 +- .../results/services--v1/search-benthos.yaml | 4 +- .../results/services--v1/search.yaml | 4 +- .../results/services--v1/stargate.yaml | 4 +- .../results/services--v1/wallets.yaml | 4 +- .../results/services--v1/webhooks.yaml | 4 +- .../search-benthos-streams.yaml | 5 ++ .../deployments-apps-v1/monopod-ledgerv1.yaml | 61 +++---------------- .../payments-v0.6.5-post-upgrade.yaml | 18 ++++++ .../payments-v0.6.5-pre-upgrade.yaml | 18 ++++++ .../payments-v0.6.7-pre-upgrade.yaml | 18 ++++++ .../search-v0.7.0-post-upgrade.yaml | 18 ++++++ .../wallets-v0.4.3-post-upgrade.yaml | 18 ++++++ .../results/services--v1/auth.yaml | 4 +- .../results/services--v1/control.yaml | 4 +- .../results/services--v1/gateway.yaml | 4 +- .../results/services--v1/ledger.yaml | 4 +- .../results/services--v1/orchestration.yaml | 4 +- .../results/services--v1/payments.yaml | 4 +- .../results/services--v1/search-benthos.yaml | 4 +- .../results/services--v1/search.yaml | 4 +- .../results/services--v1/stargate.yaml | 4 +- .../results/services--v1/wallets.yaml | 4 +- .../results/services--v1/webhooks.yaml | 4 +- .../search-benthos-streams.yaml | 5 ++ .../monopod-search-before-v0-7-0.yaml | 60 +++--------------- .../payments-v0.6.5-post-upgrade.yaml | 18 ++++++ .../payments-v0.6.5-pre-upgrade.yaml | 18 ++++++ .../payments-v0.6.7-pre-upgrade.yaml | 18 ++++++ .../wallets-v0.4.3-post-upgrade.yaml | 18 ++++++ .../results/services--v1/auth.yaml | 4 +- .../results/services--v1/control.yaml | 4 +- .../results/services--v1/gateway.yaml | 4 +- .../results/services--v1/ledger.yaml | 4 +- .../results/services--v1/orchestration.yaml | 4 +- .../results/services--v1/payments.yaml | 4 +- .../results/services--v1/search-benthos.yaml | 4 +- .../results/services--v1/search.yaml | 4 +- .../results/services--v1/stargate.yaml | 4 +- .../results/services--v1/wallets.yaml | 4 +- .../results/services--v1/webhooks.yaml | 4 +- .../results/deployments-apps-v1/auth.yaml | 4 +- .../results/deployments-apps-v1/control.yaml | 4 +- .../results/deployments-apps-v1/gateway.yaml | 4 +- .../results/deployments-apps-v1/ledger.yaml | 4 +- .../orchestration-worker.yaml | 4 +- .../deployments-apps-v1/orchestration.yaml | 4 +- .../results/deployments-apps-v1/payments.yaml | 4 +- .../deployments-apps-v1/search-benthos.yaml | 4 +- .../results/deployments-apps-v1/search.yaml | 4 +- .../results/deployments-apps-v1/stargate.yaml | 4 +- .../results/deployments-apps-v1/wallets.yaml | 4 +- .../deployments-apps-v1/webhooks-worker.yaml | 4 +- .../results/deployments-apps-v1/webhooks.yaml | 4 +- .../results/services--v1/auth.yaml | 4 +- .../results/services--v1/control.yaml | 4 +- .../results/services--v1/gateway.yaml | 4 +- .../results/services--v1/ledger.yaml | 4 +- .../results/services--v1/orchestration.yaml | 4 +- .../results/services--v1/payments.yaml | 4 +- .../results/services--v1/search-benthos.yaml | 4 +- .../results/services--v1/search.yaml | 4 +- .../results/services--v1/stargate.yaml | 4 +- .../results/services--v1/wallets.yaml | 4 +- .../results/services--v1/webhooks.yaml | 4 +- 78 files changed, 403 insertions(+), 278 deletions(-) create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml create mode 100644 components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml diff --git a/components/operator/internal/controllers/stack/stack_reconciler_test.go b/components/operator/internal/controllers/stack/stack_reconciler_test.go index 876f4c258d..80fc040ec9 100644 --- a/components/operator/internal/controllers/stack/stack_reconciler_test.go +++ b/components/operator/internal/controllers/stack/stack_reconciler_test.go @@ -54,9 +54,7 @@ var _ = Describe("Check stack deployment", func() { if !dirEntry.IsDir() { continue } - if dirEntry.Name() != "multipod-latest" { - continue - } + name := strings.ReplaceAll(dirEntry.Name(), ".", "-") dirName := dirEntry.Name() diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/configmaps--v1/search-benthos-streams.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/configmaps--v1/search-benthos-streams.yaml index 1d71e88f6f..0fea21b50f 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/configmaps--v1/search-benthos-streams.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/configmaps--v1/search-benthos-streams.yaml @@ -434,6 +434,11 @@ data: "match": { "indexed.provider": this.payload.connector } + }, + { + "match": { + "stack": env("STACK") + } } ] } diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/deployments-apps-v1/monopod-latest.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/deployments-apps-v1/monopod-latest.yaml index d9bc0e6aa2..f7bc72dda3 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/deployments-apps-v1/monopod-latest.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/deployments-apps-v1/monopod-latest.yaml @@ -921,59 +921,6 @@ spec: terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst - initContainers: - - command: - - payments - - migrate - env: - - name: POSTGRES_HOST - value: localhost - - name: POSTGRES_PORT - value: "5432" - - name: POSTGRES_DATABASE - value: monopod-latest-payments - - name: POSTGRES_USERNAME - value: root - - name: POSTGRES_PASSWORD - value: root - - name: POSTGRES_NO_DATABASE_URI - value: postgresql://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT) - - name: POSTGRES_URI - value: $(POSTGRES_NO_DATABASE_URI)/$(POSTGRES_DATABASE)?sslmode=disable - - name: LISTEN - value: :10003 - - name: OTEL_TRACES - value: "true" - - name: OTEL_TRACES_EXPORTER - value: otlp - - name: OTEL_TRACES_EXPORTER_OTLP_INSECURE - value: "true" - - name: OTEL_TRACES_EXPORTER_OTLP_MODE - value: grpc - - name: OTEL_TRACES_PORT - value: "4317" - - name: OTEL_TRACES_ENDPOINT - value: localhost - - name: OTEL_TRACES_EXPORTER_OTLP_ENDPOINT - value: $(OTEL_TRACES_ENDPOINT):$(OTEL_TRACES_PORT) - - name: OTEL_RESOURCE_ATTRIBUTES - - name: BROKER - value: kafka - - name: PUBLISHER_KAFKA_ENABLED - value: "true" - - name: PUBLISHER_KAFKA_BROKER - value: kafka:1234 - - name: POSTGRES_DATABASE_NAME - value: $(POSTGRES_DATABASE) - - name: CONFIG_ENCRYPTION_KEY - - name: PUBLISHER_TOPIC_MAPPING - value: '*:monopod-latest-payments' - image: ghcr.io/formancehq/payments:latest - imagePullPolicy: Always - name: migrate - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File restartPolicy: Always schedulerName: default-scheduler securityContext: {} @@ -1003,4 +950,10 @@ spec: defaultMode: 420 name: search-benthos-templates name: search-benthos-templates -status: {} +status: + conditions: + - lastTransitionTime: "2023-06-30T15:11:03Z" + lastUpdateTime: "2023-06-30T15:11:03Z" + status: "True" + type: Available + observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml new file mode 100644 index 0000000000..36a976f5a6 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml @@ -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.6.5-post-upgrade + namespace: monopod-latest +spec: + configuration: monopod-latest + module: payments + postUpgrade: true + targetedVersion: v0.6.5 + version: monopod-latest +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml new file mode 100644 index 0000000000..9b0d0b00ea --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml @@ -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.6.5-pre-upgrade + namespace: monopod-latest +spec: + configuration: monopod-latest + module: payments + postUpgrade: false + targetedVersion: v0.6.5 + version: monopod-latest +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml new file mode 100644 index 0000000000..5468d8ea48 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml @@ -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.6.7-pre-upgrade + namespace: monopod-latest +spec: + configuration: monopod-latest + module: payments + postUpgrade: false + targetedVersion: v0.6.7 + version: monopod-latest +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml new file mode 100644 index 0000000000..73b75bad2c --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml @@ -0,0 +1,18 @@ +apiVersion: stack.formance.com/v1beta3 +kind: Migration +metadata: + annotations: + reloader.stakater.com/auto: "true" + generation: 1 + labels: + stack: "true" + name: search-v0.7.0-post-upgrade + namespace: monopod-latest +spec: + configuration: monopod-latest + module: search + postUpgrade: true + targetedVersion: v0.7.0 + version: monopod-latest +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml new file mode 100644 index 0000000000..8d7d52caf2 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml @@ -0,0 +1,18 @@ +apiVersion: stack.formance.com/v1beta3 +kind: Migration +metadata: + annotations: + reloader.stakater.com/auto: "true" + generation: 1 + labels: + stack: "true" + name: wallets-v0.4.3-post-upgrade + namespace: monopod-latest +spec: + configuration: monopod-latest + module: wallets + postUpgrade: true + targetedVersion: v0.4.3 + version: monopod-latest +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/auth.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/auth.yaml index 061030e24f..2cc78b6bb5 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/auth.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/auth.yaml @@ -6,9 +6,9 @@ metadata: name: auth namespace: monopod-latest spec: - clusterIP: 10.0.0.140 + clusterIP: 10.0.0.167 clusterIPs: - - 10.0.0.140 + - 10.0.0.167 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/control.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/control.yaml index 31c7dbeff8..dc27b6a351 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/control.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/control.yaml @@ -6,9 +6,9 @@ metadata: name: control namespace: monopod-latest spec: - clusterIP: 10.0.0.163 + clusterIP: 10.0.0.245 clusterIPs: - - 10.0.0.163 + - 10.0.0.245 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/gateway.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/gateway.yaml index 5682a9e886..4f696e594b 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/gateway.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/gateway.yaml @@ -6,9 +6,9 @@ metadata: name: gateway namespace: monopod-latest spec: - clusterIP: 10.0.0.50 + clusterIP: 10.0.0.237 clusterIPs: - - 10.0.0.50 + - 10.0.0.237 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/ledger.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/ledger.yaml index 8cb636dfc0..5520175b7a 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/ledger.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/ledger.yaml @@ -6,9 +6,9 @@ metadata: name: ledger namespace: monopod-latest spec: - clusterIP: 10.0.0.20 + clusterIP: 10.0.0.163 clusterIPs: - - 10.0.0.20 + - 10.0.0.163 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/orchestration.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/orchestration.yaml index ab174d308d..0759a8086c 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/orchestration.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/orchestration.yaml @@ -6,9 +6,9 @@ metadata: name: orchestration namespace: monopod-latest spec: - clusterIP: 10.0.0.103 + clusterIP: 10.0.0.159 clusterIPs: - - 10.0.0.103 + - 10.0.0.159 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/payments.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/payments.yaml index 9d6729deb9..88937b0f1d 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/payments.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/payments.yaml @@ -6,9 +6,9 @@ metadata: name: payments namespace: monopod-latest spec: - clusterIP: 10.0.0.164 + clusterIP: 10.0.0.235 clusterIPs: - - 10.0.0.164 + - 10.0.0.235 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search-benthos.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search-benthos.yaml index 242582d54c..a0921f9f5a 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search-benthos.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search-benthos.yaml @@ -6,9 +6,9 @@ metadata: name: search-benthos namespace: monopod-latest spec: - clusterIP: 10.0.0.149 + clusterIP: 10.0.0.180 clusterIPs: - - 10.0.0.149 + - 10.0.0.180 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search.yaml index 5c0d12d7d4..8aa2de9282 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/search.yaml @@ -6,9 +6,9 @@ metadata: name: search namespace: monopod-latest spec: - clusterIP: 10.0.0.133 + clusterIP: 10.0.0.184 clusterIPs: - - 10.0.0.133 + - 10.0.0.184 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/stargate.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/stargate.yaml index 12450f6742..1b9ac2b7ab 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/stargate.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/stargate.yaml @@ -6,9 +6,9 @@ metadata: name: stargate namespace: monopod-latest spec: - clusterIP: 10.0.0.249 + clusterIP: 10.0.0.229 clusterIPs: - - 10.0.0.249 + - 10.0.0.229 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/wallets.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/wallets.yaml index 5d8d938562..faecb7934a 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/wallets.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/wallets.yaml @@ -6,9 +6,9 @@ metadata: name: wallets namespace: monopod-latest spec: - clusterIP: 10.0.0.81 + clusterIP: 10.0.0.102 clusterIPs: - - 10.0.0.81 + - 10.0.0.102 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/webhooks.yaml b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/webhooks.yaml index 63eb8e8f4c..73d6cd22eb 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/webhooks.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-latest/results/services--v1/webhooks.yaml @@ -6,9 +6,9 @@ metadata: name: webhooks namespace: monopod-latest spec: - clusterIP: 10.0.0.219 + clusterIP: 10.0.0.121 clusterIPs: - - 10.0.0.219 + - 10.0.0.121 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/configmaps--v1/search-benthos-streams.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/configmaps--v1/search-benthos-streams.yaml index 0b89795641..bd65dcca66 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/configmaps--v1/search-benthos-streams.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/configmaps--v1/search-benthos-streams.yaml @@ -434,6 +434,11 @@ data: "match": { "indexed.provider": this.payload.connector } + }, + { + "match": { + "stack": env("STACK") + } } ] } diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/deployments-apps-v1/monopod-ledgerv1.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/deployments-apps-v1/monopod-ledgerv1.yaml index ae3075b8fa..8b9f85ba12 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/deployments-apps-v1/monopod-ledgerv1.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/deployments-apps-v1/monopod-ledgerv1.yaml @@ -924,59 +924,6 @@ spec: terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst - initContainers: - - command: - - payments - - migrate - env: - - name: POSTGRES_HOST - value: localhost - - name: POSTGRES_PORT - value: "5432" - - name: POSTGRES_DATABASE - value: monopod-ledgerv1-payments - - name: POSTGRES_USERNAME - value: root - - name: POSTGRES_PASSWORD - value: root - - name: POSTGRES_NO_DATABASE_URI - value: postgresql://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT) - - name: POSTGRES_URI - value: $(POSTGRES_NO_DATABASE_URI)/$(POSTGRES_DATABASE)?sslmode=disable - - name: LISTEN - value: :10003 - - name: OTEL_TRACES - value: "true" - - name: OTEL_TRACES_EXPORTER - value: otlp - - name: OTEL_TRACES_EXPORTER_OTLP_INSECURE - value: "true" - - name: OTEL_TRACES_EXPORTER_OTLP_MODE - value: grpc - - name: OTEL_TRACES_PORT - value: "4317" - - name: OTEL_TRACES_ENDPOINT - value: localhost - - name: OTEL_TRACES_EXPORTER_OTLP_ENDPOINT - value: $(OTEL_TRACES_ENDPOINT):$(OTEL_TRACES_PORT) - - name: OTEL_RESOURCE_ATTRIBUTES - - name: BROKER - value: kafka - - name: PUBLISHER_KAFKA_ENABLED - value: "true" - - name: PUBLISHER_KAFKA_BROKER - value: kafka:1234 - - name: POSTGRES_DATABASE_NAME - value: $(POSTGRES_DATABASE) - - name: CONFIG_ENCRYPTION_KEY - - name: PUBLISHER_TOPIC_MAPPING - value: '*:monopod-ledgerv1-payments' - image: ghcr.io/formancehq/payments:latest - imagePullPolicy: Always - name: migrate - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File restartPolicy: Always schedulerName: default-scheduler securityContext: {} @@ -1006,4 +953,10 @@ spec: defaultMode: 420 name: search-benthos-templates name: search-benthos-templates -status: {} +status: + conditions: + - lastTransitionTime: "2023-06-30T15:11:05Z" + lastUpdateTime: "2023-06-30T15:11:05Z" + status: "True" + type: Available + observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml new file mode 100644 index 0000000000..0f6cb0e4b0 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml @@ -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.6.5-post-upgrade + namespace: monopod-ledgerv1 +spec: + configuration: monopod-ledgerv1 + module: payments + postUpgrade: true + targetedVersion: v0.6.5 + version: monopod-ledgerv1 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml new file mode 100644 index 0000000000..336b0e7221 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml @@ -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.6.5-pre-upgrade + namespace: monopod-ledgerv1 +spec: + configuration: monopod-ledgerv1 + module: payments + postUpgrade: false + targetedVersion: v0.6.5 + version: monopod-ledgerv1 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml new file mode 100644 index 0000000000..c626bdb6d5 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml @@ -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.6.7-pre-upgrade + namespace: monopod-ledgerv1 +spec: + configuration: monopod-ledgerv1 + module: payments + postUpgrade: false + targetedVersion: v0.6.7 + version: monopod-ledgerv1 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml new file mode 100644 index 0000000000..879497bfcd --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/search-v0.7.0-post-upgrade.yaml @@ -0,0 +1,18 @@ +apiVersion: stack.formance.com/v1beta3 +kind: Migration +metadata: + annotations: + reloader.stakater.com/auto: "true" + generation: 1 + labels: + stack: "true" + name: search-v0.7.0-post-upgrade + namespace: monopod-ledgerv1 +spec: + configuration: monopod-ledgerv1 + module: search + postUpgrade: true + targetedVersion: v0.7.0 + version: monopod-ledgerv1 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml new file mode 100644 index 0000000000..fcbee2acba --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml @@ -0,0 +1,18 @@ +apiVersion: stack.formance.com/v1beta3 +kind: Migration +metadata: + annotations: + reloader.stakater.com/auto: "true" + generation: 1 + labels: + stack: "true" + name: wallets-v0.4.3-post-upgrade + namespace: monopod-ledgerv1 +spec: + configuration: monopod-ledgerv1 + module: wallets + postUpgrade: true + targetedVersion: v0.4.3 + version: monopod-ledgerv1 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/auth.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/auth.yaml index 5b7809ff53..c0f9c45ec7 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/auth.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/auth.yaml @@ -6,9 +6,9 @@ metadata: name: auth namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.22 + clusterIP: 10.0.0.225 clusterIPs: - - 10.0.0.22 + - 10.0.0.225 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/control.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/control.yaml index 229377aacf..3a53689237 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/control.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/control.yaml @@ -6,9 +6,9 @@ metadata: name: control namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.78 + clusterIP: 10.0.0.45 clusterIPs: - - 10.0.0.78 + - 10.0.0.45 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/gateway.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/gateway.yaml index 9fefff0a3b..526f755cef 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/gateway.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/gateway.yaml @@ -6,9 +6,9 @@ metadata: name: gateway namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.193 + clusterIP: 10.0.0.252 clusterIPs: - - 10.0.0.193 + - 10.0.0.252 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/ledger.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/ledger.yaml index 00709e66f3..549826d033 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/ledger.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/ledger.yaml @@ -6,9 +6,9 @@ metadata: name: ledger namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.73 + clusterIP: 10.0.0.57 clusterIPs: - - 10.0.0.73 + - 10.0.0.57 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/orchestration.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/orchestration.yaml index 4ee0e0b66c..af4cb44f93 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/orchestration.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/orchestration.yaml @@ -6,9 +6,9 @@ metadata: name: orchestration namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.55 + clusterIP: 10.0.0.224 clusterIPs: - - 10.0.0.55 + - 10.0.0.224 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/payments.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/payments.yaml index c3c4d10d48..09e8b31ee3 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/payments.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/payments.yaml @@ -6,9 +6,9 @@ metadata: name: payments namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.155 + clusterIP: 10.0.0.8 clusterIPs: - - 10.0.0.155 + - 10.0.0.8 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search-benthos.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search-benthos.yaml index 3dd2dd5347..3c36598c8d 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search-benthos.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search-benthos.yaml @@ -6,9 +6,9 @@ metadata: name: search-benthos namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.216 + clusterIP: 10.0.0.72 clusterIPs: - - 10.0.0.216 + - 10.0.0.72 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search.yaml index aef5fc6690..762541c252 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/search.yaml @@ -6,9 +6,9 @@ metadata: name: search namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.127 + clusterIP: 10.0.0.160 clusterIPs: - - 10.0.0.127 + - 10.0.0.160 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/stargate.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/stargate.yaml index 473a8084be..9fb2863d45 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/stargate.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/stargate.yaml @@ -6,9 +6,9 @@ metadata: name: stargate namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.166 + clusterIP: 10.0.0.81 clusterIPs: - - 10.0.0.166 + - 10.0.0.81 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/wallets.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/wallets.yaml index 5f72c517e9..6fe7a49db6 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/wallets.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/wallets.yaml @@ -6,9 +6,9 @@ metadata: name: wallets namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.3 + clusterIP: 10.0.0.37 clusterIPs: - - 10.0.0.3 + - 10.0.0.37 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/webhooks.yaml b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/webhooks.yaml index 362fc96994..efd1323d13 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/webhooks.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-ledgerv1/results/services--v1/webhooks.yaml @@ -6,9 +6,9 @@ metadata: name: webhooks namespace: monopod-ledgerv1 spec: - clusterIP: 10.0.0.82 + clusterIP: 10.0.0.94 clusterIPs: - - 10.0.0.82 + - 10.0.0.94 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/configmaps--v1/search-benthos-streams.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/configmaps--v1/search-benthos-streams.yaml index 80824b3559..0d77f90739 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/configmaps--v1/search-benthos-streams.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/configmaps--v1/search-benthos-streams.yaml @@ -434,6 +434,11 @@ data: "match": { "indexed.provider": this.payload.connector } + }, + { + "match": { + "stack": env("STACK") + } } ] } diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/deployments-apps-v1/monopod-search-before-v0-7-0.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/deployments-apps-v1/monopod-search-before-v0-7-0.yaml index 34419384fc..0de8e67e7f 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/deployments-apps-v1/monopod-search-before-v0-7-0.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/deployments-apps-v1/monopod-search-before-v0-7-0.yaml @@ -922,58 +922,6 @@ spec: terminationMessagePolicy: File dnsPolicy: ClusterFirst initContainers: - - command: - - payments - - migrate - env: - - name: POSTGRES_HOST - value: localhost - - name: POSTGRES_PORT - value: "5432" - - name: POSTGRES_DATABASE - value: monopod-search-before-v0-7-0-payments - - name: POSTGRES_USERNAME - value: root - - name: POSTGRES_PASSWORD - value: root - - name: POSTGRES_NO_DATABASE_URI - value: postgresql://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT) - - name: POSTGRES_URI - value: $(POSTGRES_NO_DATABASE_URI)/$(POSTGRES_DATABASE)?sslmode=disable - - name: LISTEN - value: :10003 - - name: OTEL_TRACES - value: "true" - - name: OTEL_TRACES_EXPORTER - value: otlp - - name: OTEL_TRACES_EXPORTER_OTLP_INSECURE - value: "true" - - name: OTEL_TRACES_EXPORTER_OTLP_MODE - value: grpc - - name: OTEL_TRACES_PORT - value: "4317" - - name: OTEL_TRACES_ENDPOINT - value: localhost - - name: OTEL_TRACES_EXPORTER_OTLP_ENDPOINT - value: $(OTEL_TRACES_ENDPOINT):$(OTEL_TRACES_PORT) - - name: OTEL_RESOURCE_ATTRIBUTES - - name: BROKER - value: kafka - - name: PUBLISHER_KAFKA_ENABLED - value: "true" - - name: PUBLISHER_KAFKA_BROKER - value: kafka:1234 - - name: POSTGRES_DATABASE_NAME - value: $(POSTGRES_DATABASE) - - name: CONFIG_ENCRYPTION_KEY - - name: PUBLISHER_TOPIC_MAPPING - value: '*:monopod-search-before-v0-7-0-payments' - image: ghcr.io/formancehq/payments:latest - imagePullPolicy: Always - name: migrate - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - args: - -c - 'curl -H ''Content-Type: application/json'' -X PUT -v -d ''{"mappings":{"properties":{"data":{"type":"object","enabled":false},"indexed":{"properties":{"account":{"type":"keyword"},"address":{"type":"keyword"},"amount":{"type":"float"},"asset":{"type":"keyword"},"createdAt":{"type":"date"},"destination":{"type":"keyword"},"id":{"type":"keyword"},"initialAmount":{"type":"long"},"ledger":{"type":"keyword"},"name":{"type":"keyword"},"provider":{"type":"keyword"},"reference":{"type":"keyword"},"scheme":{"type":"keyword"},"source":{"type":"keyword"},"status":{"type":"keyword"},"timestamp":{"type":"date"},"txid":{"type":"long"},"type":{"type":"keyword"}},"type":"object"},"kind":{"type":"keyword"},"ledger":{"type":"keyword"},"stack":{"type":"keyword"},"when":{"type":"date"}}}}'' ${OPEN_SEARCH_SCHEME}://${OPEN_SEARCH_SERVICE}/monopod-search-before-v0-7-0' @@ -1039,4 +987,10 @@ spec: defaultMode: 420 name: search-benthos-templates name: search-benthos-templates -status: {} +status: + conditions: + - lastTransitionTime: "2023-06-30T15:11:07Z" + lastUpdateTime: "2023-06-30T15:11:07Z" + status: "True" + type: Available + observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml new file mode 100644 index 0000000000..2cf7788581 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-post-upgrade.yaml @@ -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.6.5-post-upgrade + namespace: monopod-search-before-v0-7-0 +spec: + configuration: monopod-search-before-v0-7-0 + module: payments + postUpgrade: true + targetedVersion: v0.6.5 + version: monopod-search-before-v0-7-0 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml new file mode 100644 index 0000000000..5055c84b81 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.5-pre-upgrade.yaml @@ -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.6.5-pre-upgrade + namespace: monopod-search-before-v0-7-0 +spec: + configuration: monopod-search-before-v0-7-0 + module: payments + postUpgrade: false + targetedVersion: v0.6.5 + version: monopod-search-before-v0-7-0 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml new file mode 100644 index 0000000000..4ca250c273 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/payments-v0.6.7-pre-upgrade.yaml @@ -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.6.7-pre-upgrade + namespace: monopod-search-before-v0-7-0 +spec: + configuration: monopod-search-before-v0-7-0 + module: payments + postUpgrade: false + targetedVersion: v0.6.7 + version: monopod-search-before-v0-7-0 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml new file mode 100644 index 0000000000..14f34f3355 --- /dev/null +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/migrations-stack.formance.com-v1beta3/wallets-v0.4.3-post-upgrade.yaml @@ -0,0 +1,18 @@ +apiVersion: stack.formance.com/v1beta3 +kind: Migration +metadata: + annotations: + reloader.stakater.com/auto: "true" + generation: 1 + labels: + stack: "true" + name: wallets-v0.4.3-post-upgrade + namespace: monopod-search-before-v0-7-0 +spec: + configuration: monopod-search-before-v0-7-0 + module: wallets + postUpgrade: true + targetedVersion: v0.4.3 + version: monopod-search-before-v0-7-0 +status: + terminated: true diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/auth.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/auth.yaml index cf871b5d77..c69655a824 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/auth.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/auth.yaml @@ -6,9 +6,9 @@ metadata: name: auth namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.90 + clusterIP: 10.0.0.200 clusterIPs: - - 10.0.0.90 + - 10.0.0.200 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/control.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/control.yaml index 09d210eba4..c428f31d1f 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/control.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/control.yaml @@ -6,9 +6,9 @@ metadata: name: control namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.165 + clusterIP: 10.0.0.164 clusterIPs: - - 10.0.0.165 + - 10.0.0.164 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/gateway.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/gateway.yaml index 44d488fb41..c6240112aa 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/gateway.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/gateway.yaml @@ -6,9 +6,9 @@ metadata: name: gateway namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.126 + clusterIP: 10.0.0.131 clusterIPs: - - 10.0.0.126 + - 10.0.0.131 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/ledger.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/ledger.yaml index 541deb39d4..5ee404fd6e 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/ledger.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/ledger.yaml @@ -6,9 +6,9 @@ metadata: name: ledger namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.86 + clusterIP: 10.0.0.125 clusterIPs: - - 10.0.0.86 + - 10.0.0.125 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/orchestration.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/orchestration.yaml index eeaba477d2..d173162054 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/orchestration.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/orchestration.yaml @@ -6,9 +6,9 @@ metadata: name: orchestration namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.35 + clusterIP: 10.0.0.78 clusterIPs: - - 10.0.0.35 + - 10.0.0.78 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/payments.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/payments.yaml index 407a89fd76..a50cb97ef0 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/payments.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/payments.yaml @@ -6,9 +6,9 @@ metadata: name: payments namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.195 + clusterIP: 10.0.0.216 clusterIPs: - - 10.0.0.195 + - 10.0.0.216 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search-benthos.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search-benthos.yaml index ebfea2eb9f..3797cc78a5 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search-benthos.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search-benthos.yaml @@ -6,9 +6,9 @@ metadata: name: search-benthos namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.178 + clusterIP: 10.0.0.10 clusterIPs: - - 10.0.0.178 + - 10.0.0.10 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search.yaml index 2d8647e8e1..246e24a8dc 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/search.yaml @@ -6,9 +6,9 @@ metadata: name: search namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.231 + clusterIP: 10.0.0.248 clusterIPs: - - 10.0.0.231 + - 10.0.0.248 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/stargate.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/stargate.yaml index bedf0f0b18..e0bc3e00e2 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/stargate.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/stargate.yaml @@ -6,9 +6,9 @@ metadata: name: stargate namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.189 + clusterIP: 10.0.0.246 clusterIPs: - - 10.0.0.189 + - 10.0.0.246 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/wallets.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/wallets.yaml index c3e19b1ecf..414004d1d7 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/wallets.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/wallets.yaml @@ -6,9 +6,9 @@ metadata: name: wallets namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.105 + clusterIP: 10.0.0.6 clusterIPs: - - 10.0.0.105 + - 10.0.0.6 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/webhooks.yaml b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/webhooks.yaml index d1770b2675..6d3f66b919 100644 --- a/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/webhooks.yaml +++ b/components/operator/internal/controllers/stack/testdata/monopod-search-before-v0.7.0/results/services--v1/webhooks.yaml @@ -6,9 +6,9 @@ metadata: name: webhooks namespace: monopod-search-before-v0-7-0 spec: - clusterIP: 10.0.0.167 + clusterIP: 10.0.0.28 clusterIPs: - - 10.0.0.167 + - 10.0.0.28 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/auth.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/auth.yaml index 12b976dbb2..8af13e310e 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/auth.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/auth.yaml @@ -123,8 +123,8 @@ spec: name: config status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/control.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/control.yaml index 0bfbe12f5b..d522d4734b 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/control.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/control.yaml @@ -88,8 +88,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/gateway.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/gateway.yaml index 54887cad2a..d77fb75feb 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/gateway.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/gateway.yaml @@ -93,8 +93,8 @@ spec: name: config status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/ledger.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/ledger.yaml index c16d62cd99..ace6efa7c9 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/ledger.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/ledger.yaml @@ -109,8 +109,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration-worker.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration-worker.yaml index 3df1504e43..ec51382f7a 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration-worker.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration-worker.yaml @@ -98,8 +98,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration.yaml index 60b077d826..6a39590e2c 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/orchestration.yaml @@ -110,8 +110,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/payments.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/payments.yaml index 5f09e7b47d..f75ec919dc 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/payments.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/payments.yaml @@ -111,8 +111,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search-benthos.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search-benthos.yaml index 438fd3bec0..194559260b 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search-benthos.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search-benthos.yaml @@ -140,8 +140,8 @@ spec: name: templates status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search.yaml index 7ecf4b0a11..1fa619b319 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/search.yaml @@ -105,8 +105,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/stargate.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/stargate.yaml index 1b7eed02d4..bd41e2dc7b 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/stargate.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/stargate.yaml @@ -96,8 +96,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/wallets.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/wallets.yaml index c27827a87a..9c56343162 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/wallets.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/wallets.yaml @@ -92,8 +92,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks-worker.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks-worker.yaml index 00b0a80141..aafdf67e37 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks-worker.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks-worker.yaml @@ -98,8 +98,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks.yaml index a1aedc5553..02f4da90b9 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/deployments-apps-v1/webhooks.yaml @@ -108,8 +108,8 @@ spec: terminationGracePeriodSeconds: 30 status: conditions: - - lastTransitionTime: "2023-06-30T11:56:08Z" - lastUpdateTime: "2023-06-30T11:56:08Z" + - lastTransitionTime: "2023-06-30T15:11:08Z" + lastUpdateTime: "2023-06-30T15:11:08Z" status: "True" type: Available observedGeneration: 1 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/auth.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/auth.yaml index 3eac44506b..a2d6a55a72 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/auth.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/auth.yaml @@ -6,9 +6,9 @@ metadata: name: auth namespace: multipod-latest spec: - clusterIP: 10.0.0.54 + clusterIP: 10.0.0.201 clusterIPs: - - 10.0.0.54 + - 10.0.0.201 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/control.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/control.yaml index 29c93c144d..b1882a3d75 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/control.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/control.yaml @@ -6,9 +6,9 @@ metadata: name: control namespace: multipod-latest spec: - clusterIP: 10.0.0.186 + clusterIP: 10.0.0.165 clusterIPs: - - 10.0.0.186 + - 10.0.0.165 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/gateway.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/gateway.yaml index c6f9cdf896..9e94cbcf0b 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/gateway.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/gateway.yaml @@ -6,9 +6,9 @@ metadata: name: gateway namespace: multipod-latest spec: - clusterIP: 10.0.0.49 + clusterIP: 10.0.0.249 clusterIPs: - - 10.0.0.49 + - 10.0.0.249 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/ledger.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/ledger.yaml index 29668ebe28..3045fe5f2a 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/ledger.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/ledger.yaml @@ -6,9 +6,9 @@ metadata: name: ledger namespace: multipod-latest spec: - clusterIP: 10.0.0.107 + clusterIP: 10.0.0.30 clusterIPs: - - 10.0.0.107 + - 10.0.0.30 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/orchestration.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/orchestration.yaml index f0b8b02e2e..a96fe30be5 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/orchestration.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/orchestration.yaml @@ -6,9 +6,9 @@ metadata: name: orchestration namespace: multipod-latest spec: - clusterIP: 10.0.0.35 + clusterIP: 10.0.0.253 clusterIPs: - - 10.0.0.35 + - 10.0.0.253 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/payments.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/payments.yaml index bda3f9c542..df1dec5ccb 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/payments.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/payments.yaml @@ -6,9 +6,9 @@ metadata: name: payments namespace: multipod-latest spec: - clusterIP: 10.0.0.53 + clusterIP: 10.0.0.219 clusterIPs: - - 10.0.0.53 + - 10.0.0.219 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search-benthos.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search-benthos.yaml index 5e01269122..70e99516c3 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search-benthos.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search-benthos.yaml @@ -6,9 +6,9 @@ metadata: name: search-benthos namespace: multipod-latest spec: - clusterIP: 10.0.0.131 + clusterIP: 10.0.0.148 clusterIPs: - - 10.0.0.131 + - 10.0.0.148 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search.yaml index de4fc2230c..8a05da4d75 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/search.yaml @@ -6,9 +6,9 @@ metadata: name: search namespace: multipod-latest spec: - clusterIP: 10.0.0.127 + clusterIP: 10.0.0.48 clusterIPs: - - 10.0.0.127 + - 10.0.0.48 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/stargate.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/stargate.yaml index 5f6719fc0f..fe4995e7ee 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/stargate.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/stargate.yaml @@ -6,9 +6,9 @@ metadata: name: stargate namespace: multipod-latest spec: - clusterIP: 10.0.0.117 + clusterIP: 10.0.0.124 clusterIPs: - - 10.0.0.117 + - 10.0.0.124 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/wallets.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/wallets.yaml index 3541c016e2..a82fc7a891 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/wallets.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/wallets.yaml @@ -6,9 +6,9 @@ metadata: name: wallets namespace: multipod-latest spec: - clusterIP: 10.0.0.95 + clusterIP: 10.0.0.103 clusterIPs: - - 10.0.0.95 + - 10.0.0.103 internalTrafficPolicy: Cluster ipFamilies: - IPv4 diff --git a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/webhooks.yaml b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/webhooks.yaml index 7bd9580238..d0469395c3 100644 --- a/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/webhooks.yaml +++ b/components/operator/internal/controllers/stack/testdata/multipod-latest/results/services--v1/webhooks.yaml @@ -6,9 +6,9 @@ metadata: name: webhooks namespace: multipod-latest spec: - clusterIP: 10.0.0.250 + clusterIP: 10.0.0.83 clusterIPs: - - 10.0.0.250 + - 10.0.0.83 internalTrafficPolicy: Cluster ipFamilies: - IPv4