Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/v1.0.5 #5

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iac/tf-anthos-gke/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion kubernetes-manifests/accounts-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 4 additions & 14 deletions kubernetes-manifests/balance-reader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -205,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/contacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -203,7 +203,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -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:
Expand Down
19 changes: 3 additions & 16 deletions kubernetes-manifests/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -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:
Expand Down Expand Up @@ -136,27 +130,20 @@ 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
port: 8080
initialDelaySeconds: 60
periodSeconds: 15
timeoutSeconds: 30
name: front
name: frontend
readinessProbe:
httpGet:
path: /ready
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/ledger-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 4 additions & 13 deletions kubernetes-manifests/ledger-writer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -205,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -220,22 +219,14 @@ 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
- configMapRef:
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:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/loadgenerator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 4 additions & 13 deletions kubernetes-manifests/transaction-history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -205,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/userservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -203,7 +203,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.3
value: v1.0.5
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -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
Expand Down