From 2c519707b2e308b5aea43e1bd9528c5e5ec7bbd6 Mon Sep 17 00:00:00 2001 From: Robert Castley Date: Sat, 12 Oct 2024 17:30:44 +0100 Subject: [PATCH 1/2] release/v1.2.4 --- iac/tf-anthos-gke/terraform.tfvars | 2 +- kubernetes-manifests/accounts-db.yaml | 56 +-------- kubernetes-manifests/balance-reader.yaml | 114 +----------------- kubernetes-manifests/contacts.yaml | 114 +----------------- kubernetes-manifests/frontend.yaml | 4 +- kubernetes-manifests/ledger-db.yaml | 56 +-------- kubernetes-manifests/ledger-writer.yaml | 114 +----------------- kubernetes-manifests/loadgenerator.yaml | 2 +- kubernetes-manifests/transaction-history.yaml | 114 +----------------- kubernetes-manifests/userservice.yaml | 114 +----------------- 10 files changed, 21 insertions(+), 669 deletions(-) diff --git a/iac/tf-anthos-gke/terraform.tfvars b/iac/tf-anthos-gke/terraform.tfvars index 439955d16..7e6a2be09 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.2.3" +sync_branch = "release/v1.2.4" sync_rev = "" policy_dir = "/kubernetes-manifests" diff --git a/kubernetes-manifests/accounts-db.yaml b/kubernetes-manifests/accounts-db.yaml index 7725d8363..9e38b2da6 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.2.3@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.2.4@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -93,57 +93,3 @@ spec: volumes: - emptyDir: {} name: postgresdb ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/balance-reader.yaml b/kubernetes-manifests/balance-reader.yaml index c94d102c6..f72bbfb85 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.2.3@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.2.4@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -109,60 +109,6 @@ spec: name: postgresdb --- apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque ---- -apiVersion: v1 kind: Service metadata: labels: @@ -214,7 +160,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -238,7 +184,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.2.3@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 + image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.2.4@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30 livenessProbe: httpGet: path: /healthy @@ -298,57 +244,3 @@ spec: - key: jwtRS256.key.pub path: publickey secretName: jwt-key ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/contacts.yaml b/kubernetes-manifests/contacts.yaml index 1d63f838c..c26c14416 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.2.3@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.2.4@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -108,60 +108,6 @@ spec: name: postgresdb --- apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque ---- -apiVersion: v1 kind: Service metadata: labels: @@ -213,7 +159,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -233,7 +179,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/contacts:v1.2.3@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64 + image: ghcr.io/splunk/bank-of-splunk/contacts:v1.2.4@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64 name: contacts readinessProbe: httpGet: @@ -280,57 +226,3 @@ spec: - key: jwtRS256.key.pub path: publickey secretName: jwt-key ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/frontend.yaml b/kubernetes-manifests/frontend.yaml index 98aaf4de2..599f0f1b1 100644 --- a/kubernetes-manifests/frontend.yaml +++ b/kubernetes-manifests/frontend.yaml @@ -63,7 +63,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - 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.2.3@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe + image: ghcr.io/splunk/bank-of-splunk/frontend:v1.2.4@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe livenessProbe: httpGet: path: /ready diff --git a/kubernetes-manifests/ledger-db.yaml b/kubernetes-manifests/ledger-db.yaml index dfd9fda0c..77021c932 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.2.3@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.2.4@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -94,57 +94,3 @@ spec: volumes: - emptyDir: {} name: postgresdb ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/ledger-writer.yaml b/kubernetes-manifests/ledger-writer.yaml index b21769af3..3aae0ebeb 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.2.3@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.2.4@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -109,60 +109,6 @@ spec: name: postgresdb --- apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque ---- -apiVersion: v1 kind: Service metadata: labels: @@ -214,7 +160,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -236,7 +182,7 @@ spec: name: service-api-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.2.3@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c + image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.2.4@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c name: ledgerwriter readinessProbe: httpGet: @@ -289,57 +235,3 @@ spec: - key: jwtRS256.key.pub path: publickey secretName: jwt-key ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/loadgenerator.yaml b/kubernetes-manifests/loadgenerator.yaml index 00a5a995f..514c0b6f2 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.2.3@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 + image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.2.4@sha256:d184a7ddd273161327695ed8e69dbefdd3a50eece3123203bc0bf0ef17db6fe4 name: loadgenerator resources: limits: diff --git a/kubernetes-manifests/transaction-history.yaml b/kubernetes-manifests/transaction-history.yaml index 4d230e511..69de4f68b 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.2.3@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 + image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.2.4@sha256:de1ae1694d03c6c368245ec88ca016476dffa1f73a5d6cd67ab949a96c93d668 name: postgres ports: - containerPort: 5432 @@ -109,60 +109,6 @@ spec: name: postgresdb --- apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque ---- -apiVersion: v1 kind: Service metadata: labels: @@ -214,7 +160,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -242,7 +188,7 @@ spec: name: environment-config - configMapRef: name: ledger-db-config - image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.2.3@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 + image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.2.4@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6 livenessProbe: httpGet: path: /healthy @@ -302,57 +248,3 @@ spec: - key: jwtRS256.key.pub path: publickey secretName: jwt-key ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque diff --git a/kubernetes-manifests/userservice.yaml b/kubernetes-manifests/userservice.yaml index 39cc6ff81..302976ff1 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.2.3@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 + image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.2.4@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1 name: accounts-db ports: - containerPort: 5432 @@ -108,60 +108,6 @@ spec: name: postgresdb --- apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque ---- -apiVersion: v1 kind: Service metadata: labels: @@ -213,7 +159,7 @@ spec: containers: - env: - name: VERSION - value: v1.2.3 + value: v1.2.4 - name: PORT value: "8080" - name: ENABLE_TRACING @@ -237,7 +183,7 @@ spec: name: environment-config - configMapRef: name: accounts-db-config - image: ghcr.io/splunk/bank-of-splunk/userservice:v1.2.3@sha256:f39d0b4e1cf6b4843e521020d58fa89d4ef7f55743b5035c258db6354c53ee70 + image: ghcr.io/splunk/bank-of-splunk/userservice:v1.2.4@sha256:f39d0b4e1cf6b4843e521020d58fa89d4ef7f55743b5035c258db6354c53ee70 name: userservice ports: - containerPort: 8080 @@ -289,57 +235,3 @@ spec: - key: jwtRS256.key.pub path: publickey secretName: jwt-key ---- -apiVersion: v1 -kind: Namespace -metadata: - labels: - istio-injection: enabled - name: bank-of-anthos-development ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bank-of-anthos - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - DEMO_LOGIN_PASSWORD: bankofanthos - DEMO_LOGIN_USERNAME: testuser - USE_DEMO_DATA: "True" -kind: ConfigMap -metadata: - name: demo-data-config - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - LOCAL_ROUTING_NUM: "883745000" - PUB_KEY_PATH: /tmp/.ssh/publickey -kind: ConfigMap -metadata: - name: environment-config - namespace: bank-of-anthos-development ---- -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 - namespace: bank-of-anthos-development ---- -apiVersion: v1 -data: - jwtRS256.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUJWUUlCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQVQ4d2dnRTdBZ0VBQWtFQXZVY2FzVjhxbzVHdmlFRTQKNExtQVJVWkxON0tUZDJtSzh5RExieHlWdWxwVDluaXE4UU9ETkxvQ09IdVJWT3E3RUpWYVRTSGYxSk9MOTRkcAp2NU45Y1FJREFRQUJBa0F5Y0JnMDI5OUk1ekdYWlluNm1IUU9BY1ZaZWtUQnRXWkprNXVpYUVPZC9LNjNzSk9CCklveFF6OWxkZGJIWUxaeVhHV2hHd0tMeUIyOE5BOXJLYVJGaEFpRUE0ZXJua2pYVDNlRHhscm5HUzNLTWJXSDgKdlVVYWhxa29mK0Z3eEkzU3gvTUNJUURXZXpmT3RYZnIzOXY0MkRMaEVEcVZZZEJUWWpJZ2ZUelR1MGR1c0hjQwpDd0lnSUpOb3ROS0NMRnBGTzhDcDhUTWhRSnlDZnlBNXhQVWJXK1U4QjN1VHl6VUNJUUN3WkFIUHBIcU5xRHQyCmVnZk9CTlRKU2ZwVXVTdFVnT3JuanR2K2NtNU5aUUloQUp4ckprNU1od0h2VzZMcVNCemVqZzZwUkt3SnFiVXcKYWlobDVKbUZLR1dxCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K - jwtRS256.key.pub: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZ3d0RRWUpLb1pJaHZjTkFRRUJCUUFEU3dBd1NBSkJBTDFIR3JGZktxT1JyNGhCT09DNWdFVkdTemV5azNkcAppdk1neTI4Y2xicGFVL1o0cXZFRGd6UzZBamg3a1ZUcXV4Q1ZXazBoMzlTVGkvZUhhYitUZlhFQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo= -kind: Secret -metadata: - name: jwt-key - namespace: bank-of-anthos-development -type: Opaque From 67acc4bd4c792082914805b71d0aeb8d62a2d4dd Mon Sep 17 00:00:00 2001 From: Robert Castley Date: Sat, 12 Oct 2024 17:35:28 +0100 Subject: [PATCH 2/2] Remove skaffold dev --- .../overlays/development/kustomization.yaml | 3 --- .../overlays/development/namespace.yaml | 19 ------------------- src/accounts/contacts/skaffold.yaml | 4 ++-- src/accounts/userservice/skaffold.yaml | 4 ++-- src/ledger/balancereader/skaffold.yaml | 4 ++-- src/ledger/ledger-db/skaffold.yaml | 16 ++++++++-------- src/ledger/ledgerwriter/skaffold.yaml | 4 ++-- src/ledger/transactionhistory/skaffold.yaml | 4 ++-- 8 files changed, 18 insertions(+), 40 deletions(-) delete mode 100644 iac/acm-multienv-cicd-anthos-autopilot/overlays/development/namespace.yaml diff --git a/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/kustomization.yaml b/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/kustomization.yaml index d283a3130..64cf1ed69 100644 --- a/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/kustomization.yaml +++ b/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/kustomization.yaml @@ -13,9 +13,6 @@ # limitations under the License. apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: bank-of-anthos-development -resources: - - namespace.yaml components: - ../../base # patches: diff --git a/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/namespace.yaml b/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/namespace.yaml deleted file mode 100644 index b903fe116..000000000 --- a/iac/acm-multienv-cicd-anthos-autopilot/overlays/development/namespace.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -apiVersion: v1 -kind: Namespace -metadata: - name: bank-of-anthos-development - labels: - istio-injection: enabled # enable ASM sidecar injection on namespace diff --git a/src/accounts/contacts/skaffold.yaml b/src/accounts/contacts/skaffold.yaml index 3fa3269b9..216ddeac9 100644 --- a/src/accounts/contacts/skaffold.yaml +++ b/src/accounts/contacts/skaffold.yaml @@ -69,8 +69,8 @@ test: - "requirements.txt" profiles: - name: development - activation: - - command: dev + # activation: + # - command: dev manifests: kustomize: paths: diff --git a/src/accounts/userservice/skaffold.yaml b/src/accounts/userservice/skaffold.yaml index 9699498be..9aea31729 100644 --- a/src/accounts/userservice/skaffold.yaml +++ b/src/accounts/userservice/skaffold.yaml @@ -69,8 +69,8 @@ deploy: kubectl: {} profiles: - name: development - activation: - - command: dev + # activation: + # - command: dev manifests: kustomize: paths: diff --git a/src/ledger/balancereader/skaffold.yaml b/src/ledger/balancereader/skaffold.yaml index e83adfe74..b759fa0f8 100644 --- a/src/ledger/balancereader/skaffold.yaml +++ b/src/ledger/balancereader/skaffold.yaml @@ -58,8 +58,8 @@ deploy: kubectl: {} profiles: - name: development - activation: - - command: dev + # activation: + # - command: dev manifests: kustomize: paths: diff --git a/src/ledger/ledger-db/skaffold.yaml b/src/ledger/ledger-db/skaffold.yaml index 925399c13..524c19438 100644 --- a/src/ledger/ledger-db/skaffold.yaml +++ b/src/ledger/ledger-db/skaffold.yaml @@ -20,14 +20,14 @@ deploy: kubectl: {} profiles: - name: development - activation: - - command: dev - build: - artifacts: - - image: ledger-db - context: . - tagPolicy: - sha256: {} + # activation: + # - command: dev + # build: + # artifacts: + # - image: ledger-db + # context: . + # tagPolicy: + # sha256: {} manifests: kustomize: paths: diff --git a/src/ledger/ledgerwriter/skaffold.yaml b/src/ledger/ledgerwriter/skaffold.yaml index 8e21af2bf..8b485e7e9 100644 --- a/src/ledger/ledgerwriter/skaffold.yaml +++ b/src/ledger/ledgerwriter/skaffold.yaml @@ -58,8 +58,8 @@ deploy: kubectl: {} profiles: - name: development - activation: - - command: dev + # activation: + # - command: dev manifests: kustomize: paths: diff --git a/src/ledger/transactionhistory/skaffold.yaml b/src/ledger/transactionhistory/skaffold.yaml index 2595d95ab..9334b84c7 100644 --- a/src/ledger/transactionhistory/skaffold.yaml +++ b/src/ledger/transactionhistory/skaffold.yaml @@ -58,8 +58,8 @@ deploy: kubectl: {} profiles: - name: development - activation: - - command: dev + # activation: + # - command: dev manifests: kustomize: paths: