diff --git a/iac/tf-anthos-gke/terraform.tfvars b/iac/tf-anthos-gke/terraform.tfvars index f247154c7..05f4fda43 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.3.0" +sync_branch = "release/v1.3.1" sync_rev = "" policy_dir = "/kubernetes-manifests" diff --git a/kubernetes-manifests/accounts-db.yaml b/kubernetes-manifests/accounts-db.yaml index cdc2d27fc..bcead732a 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.3.0@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.3.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 diff --git a/kubernetes-manifests/balance-reader.yaml b/kubernetes-manifests/balance-reader.yaml index d7846f25d..08c687e58 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.3.0@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.3.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -111,6 +111,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -133,6 +135,8 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -149,7 +153,8 @@ spec: tier: backend template: metadata: - annotations: null + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: app: balancereader application: bank-of-splunk @@ -160,7 +165,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -184,7 +189,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.3.0@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 + image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.3.1@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/contacts.yaml b/kubernetes-manifests/contacts.yaml index cfd6797e8..7ce7055ef 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.3.0@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.3.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -159,7 +159,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -179,7 +179,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/contacts:v1.3.0@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64 + image: ghcr.io/splunk/bank-of-splunk/contacts:v1.3.1@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64 name: contacts readinessProbe: httpGet: diff --git a/kubernetes-manifests/frontend.yaml b/kubernetes-manifests/frontend.yaml index 7ad5f08c2..2377dca38 100644 --- a/kubernetes-manifests/frontend.yaml +++ b/kubernetes-manifests/frontend.yaml @@ -63,7 +63,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - 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.3.0@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe + image: ghcr.io/splunk/bank-of-splunk/frontend:v1.3.1@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe livenessProbe: httpGet: path: /ready diff --git a/kubernetes-manifests/ledger-db.yaml b/kubernetes-manifests/ledger-db.yaml index 8fa7945cf..3fb37d1f4 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.3.0@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.3.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 diff --git a/kubernetes-manifests/ledger-writer.yaml b/kubernetes-manifests/ledger-writer.yaml index 0f7ffd460..8fb66d392 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.3.0@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.3.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -111,6 +111,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -133,6 +135,8 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -149,7 +153,8 @@ spec: tier: backend template: metadata: - annotations: null + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: app: ledgerwriter application: bank-of-splunk @@ -160,7 +165,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -182,7 +187,7 @@ spec: name: service-api-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.3.0@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c + image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.3.1@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c name: ledgerwriter readinessProbe: httpGet: diff --git a/kubernetes-manifests/loadgenerator.yaml b/kubernetes-manifests/loadgenerator.yaml index 167b14ae2..a67b6e918 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.3.0@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 + image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.3.1@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 name: loadgenerator resources: limits: diff --git a/kubernetes-manifests/transaction-history.yaml b/kubernetes-manifests/transaction-history.yaml index a35ad5782..19e26cf7c 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.3.0@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.3.1@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -111,6 +111,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -133,6 +135,8 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: application: bank-of-splunk environment: development @@ -149,7 +153,8 @@ spec: tier: backend template: metadata: - annotations: null + annotations: + instrumentation.opentelemetry.io/inject-java: "true" labels: app: transactionhistory application: bank-of-splunk @@ -160,7 +165,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -188,7 +193,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.3.0@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 + image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.3.1@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/userservice.yaml b/kubernetes-manifests/userservice.yaml index 63d15db95..433f57125 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.3.0@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.3.1@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -159,7 +159,7 @@ spec: containers: - env: - name: VERSION - value: v1.3.0 + value: v1.3.1 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -183,7 +183,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/userservice:v1.3.0@sha256:3c18a722b9d0cad1ade9d3e2e828542abae03a51ca34e8243ae290bd9d9d573e + image: ghcr.io/splunk/bank-of-splunk/userservice:v1.3.1@sha256:3c18a722b9d0cad1ade9d3e2e828542abae03a51ca34e8243ae290bd9d9d573e name: userservice ports: - containerPort: 8080