diff --git a/iac/tf-anthos-gke/terraform.tfvars b/iac/tf-anthos-gke/terraform.tfvars index 7adbb3333..38a87ad0b 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.0.3" +sync_branch = "release/v1.0.5" sync_rev = "" policy_dir = "/kubernetes-manifests" diff --git a/kubernetes-manifests/accounts-db.yaml b/kubernetes-manifests/accounts-db.yaml index 8eea2c179..f91f66352 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.0.3@sha256:b188aeca2a295cba3754640aeab5ed2978fed34c38cb6bd224077e09fef18265 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.5@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be name: accounts-db ports: - containerPort: 5432 diff --git a/kubernetes-manifests/balance-reader.yaml b/kubernetes-manifests/balance-reader.yaml index 5021916ae..b142b2dca 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.3@sha256:fd67e773a523a88128a02c1109175905e62f1eb66730dde712f72c3fc0b695fb + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.5@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b 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: v1.0.3 + value: v1.0.5 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -224,21 +223,12 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - - name: SPLUNK_OTEL_AGENT - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: OTEL_EXPORTER_OTLP_ENDPOINT - value: http://$(SPLUNK_OTEL_AGENT):4318 - - name: OTEL_SERVICE_NAME - value: balance-reader envFrom: - configMapRef: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.0.3@sha256:3405c38a669c804c2f6499fb7488da4005c4ba71394d5b10ac3f9cba4314750f - imagePullPolicy: Always + image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.0.5@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/contacts.yaml b/kubernetes-manifests/contacts.yaml index 116d7d324..b8bc6e302 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.3@sha256:b188aeca2a295cba3754640aeab5ed2978fed34c38cb6bd224077e09fef18265 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.5@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be name: accounts-db ports: - containerPort: 5432 @@ -203,7 +203,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.3 + value: v1.0.5 - 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.0.3@sha256:8cbfbfe3e93f0a5df0d3413d5c4d87d87ea2c1e7125fcf92f8a402986d1f9cf7 + image: ghcr.io/splunk/bank-of-splunk/contacts:v1.0.5@sha256:b1b56dda0fe5b245cdf2074d5cd5fdc336c51ec2ae05d82f166e6895237b9051 name: contacts readinessProbe: httpGet: diff --git a/kubernetes-manifests/frontend.yaml b/kubernetes-manifests/frontend.yaml index f6f192cce..01b9cdc98 100644 --- a/kubernetes-manifests/frontend.yaml +++ b/kubernetes-manifests/frontend.yaml @@ -63,7 +63,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.3 + value: v1.0.5 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -74,12 +74,6 @@ spec: value: info - name: BANK_NAME value: Bank of Splunk - - name: SPLUNK_TEST - value: “A” - - name: SPLUNK_VERSION - value: “1.90" - - name: OTEL_RESOURCE_ATTRIBUTES - value: “version=1.90” - name: INSTANCE valueFrom: fieldRef: @@ -136,19 +130,12 @@ spec: key: DEMO_OAUTH_REDIRECT_URI name: oauth-config optional: true - - name: POD_ZONE - valueFrom: - secretKeyRef: - name: workshop-secret - key: realm - - name: ENV_PLATFORM - value: "k3s" envFrom: - configMapRef: name: environment-config - configMapRef: name: service-api-config - image: ghcr.io/splunk/bank-of-splunk/frontend:v1.0.3@sha256:d331e232a4adcd79f192cb3471c72134b205482df2cce0bb5e32b8341a57f9e8 + image: ghcr.io/splunk/bank-of-splunk/frontend:v1.0.5@sha256:51729864802ce752800597073d54cf0ffdaeca86807eb03a4596a5b39e0ddb9b livenessProbe: httpGet: path: /ready @@ -156,7 +143,7 @@ spec: initialDelaySeconds: 60 periodSeconds: 15 timeoutSeconds: 30 - name: front + name: frontend readinessProbe: httpGet: path: /ready diff --git a/kubernetes-manifests/ledger-db.yaml b/kubernetes-manifests/ledger-db.yaml index f58ee9091..0684cb8fe 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.0.3@sha256:fd67e773a523a88128a02c1109175905e62f1eb66730dde712f72c3fc0b695fb + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.5@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b name: postgres ports: - containerPort: 5432 diff --git a/kubernetes-manifests/ledger-writer.yaml b/kubernetes-manifests/ledger-writer.yaml index 452941c2d..aec42d8fa 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.3@sha256:fd67e773a523a88128a02c1109175905e62f1eb66730dde712f72c3fc0b695fb + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.5@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b 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,7 +204,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.3 + value: v1.0.5 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -220,14 +219,6 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - - name: SPLUNK_OTEL_AGENT - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: OTEL_EXPORTER_OTLP_ENDPOINT - value: http://$(SPLUNK_OTEL_AGENT):4318 - - name: OTEL_SERVICE_NAME - value: ledger-writer envFrom: - configMapRef: name: environment-config @@ -235,7 +226,7 @@ spec: name: service-api-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.0.3@sha256:26222addac3fa54d6169b4a3468af5012c827160cafa1d94642cf75e639c31bf + image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.0.5@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c name: ledgerwriter readinessProbe: httpGet: diff --git a/kubernetes-manifests/loadgenerator.yaml b/kubernetes-manifests/loadgenerator.yaml index ae816cffe..e27dd325f 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.0.3@sha256:a413755d178fbefb6537dee65a0ae922f32b2683b168be57ec7cd269756e770a + image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.0.5@sha256:c95d9e97b46ca44bafc305586b0634fcb5c195fe3e9c349f46c3e7b5129961c4 name: loadgenerator resources: limits: diff --git a/kubernetes-manifests/transaction-history.yaml b/kubernetes-manifests/transaction-history.yaml index 58ba5f4a9..0cb19e45a 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.3@sha256:fd67e773a523a88128a02c1109175905e62f1eb66730dde712f72c3fc0b695fb + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.5@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b 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.3 + value: v1.0.5 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -228,20 +227,12 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - - name: SPLUNK_OTEL_AGENT - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: OTEL_EXPORTER_OTLP_ENDPOINT - value: http://$(SPLUNK_OTEL_AGENT):4318 - - name: OTEL_SERVICE_NAME - value: transaction-history envFrom: - configMapRef: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.0.3@sha256:46e3e2bdc036a5b409d2e5b94246fd59fa34830282b86e985a2d64d35ef54006 + image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.0.5@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 livenessProbe: httpGet: path: /healthy diff --git a/kubernetes-manifests/userservice.yaml b/kubernetes-manifests/userservice.yaml index 08ebfa94f..2fec20b19 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.3@sha256:b188aeca2a295cba3754640aeab5ed2978fed34c38cb6bd224077e09fef18265 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.5@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be name: accounts-db ports: - containerPort: 5432 @@ -203,7 +203,7 @@ spec: containers: - env: - name: VERSION - value: v1.0.3 + value: v1.0.5 - 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.0.3@sha256:b63a475f1ea1859e9554d2b7ae47393df1609c0a859a82d71c7a7384c7f1f522 + image: ghcr.io/splunk/bank-of-splunk/userservice:v1.0.5@sha256:f860735a4cb21a535fc0c048ee1815ca04d7288675d88d2e0c238fdb5f5625c0 name: userservice ports: - containerPort: 8080