From 82c81b25c43894fc56f328a05d844dbcaa177d5f Mon Sep 17 00:00:00 2001 From: Robert Castley Date: Tue, 8 Oct 2024 23:34:07 +0100 Subject: [PATCH 1/2] release/v1.1.1 --- iac/tf-anthos-gke/terraform.tfvars | 2 +- kubernetes-manifests/accounts-db.yaml | 46 ++++++++++++++++++- kubernetes-manifests/balance-reader.yaml | 9 ++-- kubernetes-manifests/config.yaml | 7 --- kubernetes-manifests/contacts.yaml | 7 ++- kubernetes-manifests/frontend.yaml | 6 +-- kubernetes-manifests/ledger-db.yaml | 2 +- kubernetes-manifests/ledger-writer.yaml | 10 ++-- kubernetes-manifests/loadgenerator.yaml | 3 +- kubernetes-manifests/transaction-history.yaml | 9 ++-- kubernetes-manifests/userservice.yaml | 6 +-- 11 files changed, 68 insertions(+), 39 deletions(-) diff --git a/iac/tf-anthos-gke/terraform.tfvars b/iac/tf-anthos-gke/terraform.tfvars index 6ccc4cd74..3c1503da0 100644 --- a/iac/tf-anthos-gke/terraform.tfvars +++ b/iac/tf-anthos-gke/terraform.tfvars @@ -18,6 +18,6 @@ region = "us-central1" zone = "us-central1-b" cluster_name = "anthos-sample-cluster1" sync_repo = "https://github.com/GoogleCloudPlatform/bank-of-anthos" -sync_branch = "release/v0.6.5" +sync_branch = "release/v1.1.1" sync_rev = "" policy_dir = "/kubernetes-manifests" diff --git a/kubernetes-manifests/accounts-db.yaml b/kubernetes-manifests/accounts-db.yaml index 37790bf53..c241dd11e 100644 --- a/kubernetes-manifests/accounts-db.yaml +++ b/kubernetes-manifests/accounts-db.yaml @@ -73,7 +73,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/accounts-db:v0.6.5@sha256:abb955756a82b115e0fd9c5fa1527ae1a744b398b357fd6d7a26348feccad181 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -93,3 +93,47 @@ spec: volumes: - emptyDir: {} name: postgresdb +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + annotations: + iam.gke.io/gcp-service-account: gke-workload-development@bank-of-anthos-ci.iam.gserviceaccount.com + name: bank-of-anthos +--- +apiVersion: v1 +data: + DEMO_LOGIN_PASSWORD: bankofanthos + DEMO_LOGIN_USERNAME: testuser + USE_DEMO_DATA: "True" +kind: ConfigMap +metadata: + name: demo-data-config +--- +apiVersion: v1 +data: + LOCAL_ROUTING_NUM: "883745000" + PUB_KEY_PATH: /tmp/.ssh/publickey +kind: ConfigMap +metadata: + name: environment-config +--- +apiVersion: v1 +data: + BALANCES_API_ADDR: balancereader:8080 + CONTACTS_API_ADDR: contacts:8080 + HISTORY_API_ADDR: transactionhistory:8080 + TRANSACTIONS_API_ADDR: ledgerwriter:8080 + USERSERVICE_API_ADDR: userservice:8080 +kind: ConfigMap +metadata: + name: service-api-config +--- +apiVersion: v1 +data: + jwtRS256.key: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS3dJQkFBS0NBZ0VBNEd2Wk5Ta2o1aWlXYjJEWk0yZkN4NWJHR1lnd2FLNFNNc3lJOEs4b0ZRZXBMMTNZClJPWEt3NVMrbEVMSDlBZXRUZGNUQWRrYkN6eWFwU2RrM1Bxd3hoQ2FmNGtudktlUmk3NmNzRzZtYzBrcngxR0kKdFk2NVgrTnEwcWFSdkxkT09iRlFHbUlIeDc1emtaNjU0K2Z0dm52Q1k1T1BqVjQ0TGt0dTF3bHJCbXIyMjVRUwpGYklhOEE5NkJTcEp6S20wYWhLKzZyOFZ2dk9xMUJIR1pJSUtLR1E3L3pMdXhQT24rYzN3Q0YwVlFZMjBZNFhvCm8rRFZ0LyswTUk4T1p2ZEF1YWIyVVh1YitUaXdBZ0c3Njh5bkpQaDdla2xMdGR0QTFCR2dsWG1vRVI0eHZoaFgKUXNPUnRUaTYwRlpQWDdDM1Y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pLbTBhaEsrNnI4VnZ2T3ExQkhHWklJSwpLR1E3L3pMdXhQT24rYzN3Q0YwVlFZMjBZNFhvbytEVnQvKzBNSThPWnZkQXVhYjJVWHViK1Rpd0FnRzc2OHluCkpQaDdla2xMdGR0QTFCR2dsWG1vRVI0eHZoaFhRc09SdFRpNjBGWlBYN0MzVjFybFVlK3JVOUJZNkNscldsZUoKdGdCZjFYUi90Qm1MZGZCNFlWbkt0ekI3dkxDbE9LdWx0YWR1U1ZuZnY4QzB1ejF6UEJaSXdYbnNWTzdYeVNWUApBSkJUOFBWR1Iza2JnOW5FRGsvclZsS1lNSW5EU084U0hOeUtPK2s2cFRobWFtb3FNQkpCQ3BjQytHMVVQVXFZCmV1Szh3NjZaU3BLV2ZQY3RtWWViUHNraUpiS2VPckhWVTJEajd6emRpbUwyYmVocVN3U2kzekFrbFdmNEZTQXoKaC80enBENFdxM0lDd2NYbFBxYTU5T0IwcXFBQ3g1QW1FRmx2UXVVSTBxNndaNnZybEFZSytNZG00RHZGQVVsWApzNW1mbDZPRnZ0YkZTZHF1ckU2SXROVnlSVlFBbHpYV21oQzhHcldCSWh0MU9KTFdES081bHZabUpRL2xrN2JzClVyNCsyK05ObnNzTXBuTUI2QytJejZzQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= +kind: Secret +metadata: + name: jwt-key +type: Opaque diff --git a/kubernetes-manifests/balance-reader.yaml b/kubernetes-manifests/balance-reader.yaml index c8fa6f267..a70749500 100644 --- a/kubernetes-manifests/balance-reader.yaml +++ b/kubernetes-manifests/balance-reader.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.9@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -193,8 +193,7 @@ spec: tier: backend template: metadata: - annotations: - instrumentation.opentelemetry.io/inject-java: "true" + annotations: null labels: app: balancereader application: bank-of-splunk @@ -205,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v0.6.5 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -229,7 +228,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/balancereader:v0.6.5@sha256:de01f16554ae2d0b49ac85116e6307da8c0f8a35f50a0cf25e1e4a4fe18dca83 + image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.1.1@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/config.yaml b/kubernetes-manifests/config.yaml index 78039bbc1..0d0a74254 100644 --- a/kubernetes-manifests/config.yaml +++ b/kubernetes-manifests/config.yaml @@ -40,10 +40,3 @@ data: DEMO_LOGIN_USERNAME: "testuser" # All demo user accounts are hardcoded to use the login password 'bankofanthos' DEMO_LOGIN_PASSWORD: "bankofanthos" ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - annotations: - iam.gke.io/gcp-service-account: gke-workload-development@bank-of-anthos-ci.iam.gserviceaccount.com - name: bank-of-anthos \ No newline at end of file diff --git a/kubernetes-manifests/contacts.yaml b/kubernetes-manifests/contacts.yaml index c65243a0c..f2c654ca1 100644 --- a/kubernetes-manifests/contacts.yaml +++ b/kubernetes-manifests/contacts.yaml @@ -86,7 +86,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.9@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -203,8 +203,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.9 - value: v0.6.5 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -224,7 +223,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/contacts:v1.0.9@sha256:b1b56dda0fe5b245cdf2074d5cd5fdc336c51ec2ae05d82f166e6895237b9051 + image: ghcr.io/splunk/bank-of-splunk/contacts:v1.1.1@sha256:ef0c560caf8cd3c2dffed93843aa28bf859d8a20f73f44f9640efa098bcc31e4 name: contacts readinessProbe: httpGet: diff --git a/kubernetes-manifests/frontend.yaml b/kubernetes-manifests/frontend.yaml index 148431983..02c2a15b7 100644 --- a/kubernetes-manifests/frontend.yaml +++ b/kubernetes-manifests/frontend.yaml @@ -63,8 +63,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.9 - value: v0.6.5 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -142,8 +141,7 @@ spec: name: environment-config - configMapRef: name: service-api-config - image: ghcr.io/splunk/bank-of-splunk/frontend:v1.0.9@sha256:6ceb3db845b3176f447914db4a518787ed5c7f10cc70c6e299c0d757f6e935af - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/frontend:v0.6.5@sha256:d72050f70d12383e4434ad04d189b681dc625f696087ddf0b5df641645c9dafa + image: ghcr.io/splunk/bank-of-splunk/frontend:v1.1.1@sha256:f3f54ea4ac17090f8fb6f5f5881eddace1f9aca8908a61828e6a9d0091c0c788 livenessProbe: httpGet: path: /ready diff --git a/kubernetes-manifests/ledger-db.yaml b/kubernetes-manifests/ledger-db.yaml index 1d6b72e3f..ea42a075c 100644 --- a/kubernetes-manifests/ledger-db.yaml +++ b/kubernetes-manifests/ledger-db.yaml @@ -74,7 +74,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/ledger-db:v0.6.5@sha256:cc4fd25f301ab6d46b1312244d6931babc4c6cb66c5cb6d31d4a1adfa318a321 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 diff --git a/kubernetes-manifests/ledger-writer.yaml b/kubernetes-manifests/ledger-writer.yaml index 9d47f01d0..b17550443 100644 --- a/kubernetes-manifests/ledger-writer.yaml +++ b/kubernetes-manifests/ledger-writer.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.9@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -193,8 +193,7 @@ spec: tier: backend template: metadata: - annotations: - instrumentation.opentelemetry.io/inject-java: "true" + annotations: null labels: app: ledgerwriter application: bank-of-splunk @@ -205,8 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.9 - value: v0.6.5 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -228,7 +226,7 @@ spec: name: service-api-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.0.9@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c + image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.1.1@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c name: ledgerwriter readinessProbe: httpGet: diff --git a/kubernetes-manifests/loadgenerator.yaml b/kubernetes-manifests/loadgenerator.yaml index 09ab8b487..308719c19 100644 --- a/kubernetes-manifests/loadgenerator.yaml +++ b/kubernetes-manifests/loadgenerator.yaml @@ -45,8 +45,7 @@ spec: value: "5" - name: LOG_LEVEL value: error - image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.0.9@sha256:c95d9e97b46ca44bafc305586b0634fcb5c195fe3e9c349f46c3e7b5129961c4 - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/loadgenerator:v0.6.5@sha256:24369e6b21c773d6afc016997d805b08b1a3ec1c5a6e1d281298180f2f45e0b5 + image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.1.1@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 name: loadgenerator resources: limits: diff --git a/kubernetes-manifests/transaction-history.yaml b/kubernetes-manifests/transaction-history.yaml index 170188e1b..e57841183 100644 --- a/kubernetes-manifests/transaction-history.yaml +++ b/kubernetes-manifests/transaction-history.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.9@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -193,8 +193,7 @@ spec: tier: backend template: metadata: - annotations: - instrumentation.opentelemetry.io/inject-java: "true" + annotations: null labels: app: transactionhistory application: bank-of-splunk @@ -205,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.9 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -233,7 +232,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.0.9@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 + image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.1.1@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/userservice.yaml b/kubernetes-manifests/userservice.yaml index c430f707f..128263526 100644 --- a/kubernetes-manifests/userservice.yaml +++ b/kubernetes-manifests/userservice.yaml @@ -86,7 +86,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.9@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -203,7 +203,7 @@ spec: containers: - env: - name: VERSION - value: v0.6.5 + value: v1.1.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -227,7 +227,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: us-central1-docker.pkg.dev/bank-of-anthos-ci/bank-of-anthos/userservice:v0.6.5@sha256:f91e0e5bd6cdb16f6b867b2e3e874b23dd01f11592de006776f1dfb136702941 + image: ghcr.io/splunk/bank-of-splunk/userservice:v1.1.1@sha256:9f42c442d50db1d545c08a80881892ef748a380e738cd96977c69de443213570 name: userservice ports: - containerPort: 8080 From a62f1a7e3058f59c9334413a25cc79a28f4834a8 Mon Sep 17 00:00:00 2001 From: Robert Castley Date: Tue, 8 Oct 2024 23:38:39 +0100 Subject: [PATCH 2/2] release/v1.1.2 --- iac/tf-anthos-gke/terraform.tfvars | 2 +- kubernetes-manifests/accounts-db.yaml | 2 +- kubernetes-manifests/balance-reader.yaml | 6 +++--- kubernetes-manifests/contacts.yaml | 6 +++--- kubernetes-manifests/frontend.yaml | 4 ++-- kubernetes-manifests/ledger-db.yaml | 2 +- kubernetes-manifests/ledger-writer.yaml | 6 +++--- kubernetes-manifests/loadgenerator.yaml | 2 +- kubernetes-manifests/transaction-history.yaml | 6 +++--- kubernetes-manifests/userservice.yaml | 6 +++--- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/iac/tf-anthos-gke/terraform.tfvars b/iac/tf-anthos-gke/terraform.tfvars index 3c1503da0..295e5caf5 100644 --- a/iac/tf-anthos-gke/terraform.tfvars +++ b/iac/tf-anthos-gke/terraform.tfvars @@ -18,6 +18,6 @@ region = "us-central1" zone = "us-central1-b" cluster_name = "anthos-sample-cluster1" sync_repo = "https://github.com/GoogleCloudPlatform/bank-of-anthos" -sync_branch = "release/v1.1.1" +sync_branch = "release/v1.1.2" sync_rev = "" policy_dir = "/kubernetes-manifests" diff --git a/kubernetes-manifests/accounts-db.yaml b/kubernetes-manifests/accounts-db.yaml index c241dd11e..fed011509 100644 --- a/kubernetes-manifests/accounts-db.yaml +++ b/kubernetes-manifests/accounts-db.yaml @@ -73,7 +73,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.2@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 diff --git a/kubernetes-manifests/balance-reader.yaml b/kubernetes-manifests/balance-reader.yaml index a70749500..62ae2c198 100644 --- a/kubernetes-manifests/balance-reader.yaml +++ b/kubernetes-manifests/balance-reader.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.2@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -204,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -228,7 +228,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.1.1@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 + image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.1.2@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/contacts.yaml b/kubernetes-manifests/contacts.yaml index f2c654ca1..1de6c7ed7 100644 --- a/kubernetes-manifests/contacts.yaml +++ b/kubernetes-manifests/contacts.yaml @@ -86,7 +86,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.2@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -203,7 +203,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -223,7 +223,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/contacts:v1.1.1@sha256:ef0c560caf8cd3c2dffed93843aa28bf859d8a20f73f44f9640efa098bcc31e4 + image: ghcr.io/splunk/bank-of-splunk/contacts:v1.1.2@sha256:ef0c560caf8cd3c2dffed93843aa28bf859d8a20f73f44f9640efa098bcc31e4 name: contacts readinessProbe: httpGet: diff --git a/kubernetes-manifests/frontend.yaml b/kubernetes-manifests/frontend.yaml index 02c2a15b7..3ae21b459 100644 --- a/kubernetes-manifests/frontend.yaml +++ b/kubernetes-manifests/frontend.yaml @@ -63,7 +63,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -141,7 +141,7 @@ spec: name: environment-config - configMapRef: name: service-api-config - image: ghcr.io/splunk/bank-of-splunk/frontend:v1.1.1@sha256:f3f54ea4ac17090f8fb6f5f5881eddace1f9aca8908a61828e6a9d0091c0c788 + image: ghcr.io/splunk/bank-of-splunk/frontend:v1.1.2@sha256:f3f54ea4ac17090f8fb6f5f5881eddace1f9aca8908a61828e6a9d0091c0c788 livenessProbe: httpGet: path: /ready diff --git a/kubernetes-manifests/ledger-db.yaml b/kubernetes-manifests/ledger-db.yaml index ea42a075c..d1446276d 100644 --- a/kubernetes-manifests/ledger-db.yaml +++ b/kubernetes-manifests/ledger-db.yaml @@ -74,7 +74,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.2@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 diff --git a/kubernetes-manifests/ledger-writer.yaml b/kubernetes-manifests/ledger-writer.yaml index b17550443..946176890 100644 --- a/kubernetes-manifests/ledger-writer.yaml +++ b/kubernetes-manifests/ledger-writer.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.2@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -204,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -226,7 +226,7 @@ spec: name: service-api-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.1.1@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c + image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.1.2@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c name: ledgerwriter readinessProbe: httpGet: diff --git a/kubernetes-manifests/loadgenerator.yaml b/kubernetes-manifests/loadgenerator.yaml index 308719c19..ee3c77fe5 100644 --- a/kubernetes-manifests/loadgenerator.yaml +++ b/kubernetes-manifests/loadgenerator.yaml @@ -45,7 +45,7 @@ spec: value: "5" - name: LOG_LEVEL value: error - image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.1.1@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 + image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.1.2@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 name: loadgenerator resources: limits: diff --git a/kubernetes-manifests/transaction-history.yaml b/kubernetes-manifests/transaction-history.yaml index e57841183..f7c4aa0c0 100644 --- a/kubernetes-manifests/transaction-history.yaml +++ b/kubernetes-manifests/transaction-history.yaml @@ -87,7 +87,7 @@ spec: name: ledger-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.1.2@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -204,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -232,7 +232,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.1.1@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 + image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.1.2@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/userservice.yaml b/kubernetes-manifests/userservice.yaml index 128263526..856c81563 100644 --- a/kubernetes-manifests/userservice.yaml +++ b/kubernetes-manifests/userservice.yaml @@ -86,7 +86,7 @@ spec: name: accounts-db-config - configMapRef: name: demo-data-config - image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.2@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -203,7 +203,7 @@ spec: containers: - env: - name: VERSION - value: v1.1.1 + value: v1.1.2 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -227,7 +227,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/userservice:v1.1.1@sha256:9f42c442d50db1d545c08a80881892ef748a380e738cd96977c69de443213570 + image: ghcr.io/splunk/bank-of-splunk/userservice:v1.1.2@sha256:9f42c442d50db1d545c08a80881892ef748a380e738cd96977c69de443213570 name: userservice ports: - containerPort: 8080