Skip to content

Commit

Permalink
release/v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rcastley committed Oct 12, 2024
1 parent c4ead89 commit eadc249
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 136 deletions.
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.2.1"
sync_branch = "release/v1.2.2"
sync_rev = ""
policy_dir = "/kubernetes-manifests"
4 changes: 2 additions & 2 deletions kubernetes-manifests/accounts-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ metadata:
labels:
app: accounts-db
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: db
name: accounts-db-config
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
22 changes: 11 additions & 11 deletions kubernetes-manifests/balance-reader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ metadata:
labels:
app: ledger-db
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: db
name: ledger-db-config
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
---
apiVersion: v1
kind: Service
metadata:
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: backend
name: balancereader
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
ports:
- name: http
Expand All @@ -48,7 +48,7 @@ spec:
selector:
app: balancereader
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: backend
type: ClusterIP
Expand All @@ -58,17 +58,17 @@ kind: Deployment
metadata:
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: backend
name: balancereader
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
selector:
matchLabels:
app: balancereader
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: backend
template:
Expand All @@ -77,14 +77,14 @@ spec:
labels:
app: balancereader
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: backend
spec:
containers:
- env:
- name: VERSION
value: v1.2.1
value: v1.2.2
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -108,7 +108,7 @@ spec:
name: environment-config
- configMapRef:
name: ledger-db-config
image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.2.1@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30
image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.2.2@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30
livenessProbe:
httpGet:
path: /healthy
Expand Down
22 changes: 11 additions & 11 deletions kubernetes-manifests/contacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ metadata:
labels:
app: accounts-db
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: db
name: accounts-db-config
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
---
apiVersion: v1
kind: Service
metadata:
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: backend
name: contacts
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
ports:
- name: http
Expand All @@ -46,7 +46,7 @@ spec:
selector:
app: contacts
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: backend
type: ClusterIP
Expand All @@ -56,17 +56,17 @@ kind: Deployment
metadata:
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: backend
name: contacts
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
selector:
matchLabels:
app: contacts
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: backend
template:
Expand All @@ -75,14 +75,14 @@ spec:
labels:
app: contacts
application: bank-of-splunk
environment: production
cluster: staging
team: accounts
tier: backend
spec:
containers:
- env:
- name: VERSION
value: v1.2.1
value: v1.2.2
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -102,7 +102,7 @@ spec:
name: environment-config
- configMapRef:
name: accounts-db-config
image: ghcr.io/splunk/bank-of-splunk/contacts:v1.2.1@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64
image: ghcr.io/splunk/bank-of-splunk/contacts:v1.2.2@sha256:bfe6d8970e967130c972779b47bef1999afc3d698cc80c56cade5a52dcc0aa64
name: contacts
readinessProbe:
httpGet:
Expand Down
86 changes: 10 additions & 76 deletions kubernetes-manifests/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@
apiVersion: v1
kind: Service
metadata:
annotations:
cloud.google.com/backend-config: '{"default": "frontend-backend-config"}'
cloud.google.com/neg: '{"ingress": true}'
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: frontend
tier: web
name: frontend
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
ports:
- name: http
Expand All @@ -32,27 +29,27 @@ spec:
selector:
app: frontend
application: bank-of-splunk
environment: production
cluster: staging
team: frontend
tier: web
type: ClusterIP
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
application: bank-of-splunk
environment: production
cluster: staging
team: frontend
tier: web
name: frontend
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
spec:
selector:
matchLabels:
app: frontend
application: bank-of-splunk
environment: production
cluster: staging
team: frontend
tier: web
template:
Expand All @@ -61,14 +58,14 @@ spec:
labels:
app: frontend
application: bank-of-splunk
environment: production
cluster: staging
team: frontend
tier: web
spec:
containers:
- env:
- name: VERSION
value: v1.2.1
value: v1.2.2
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -146,7 +143,7 @@ spec:
name: environment-config
- configMapRef:
name: service-api-config
image: ghcr.io/splunk/bank-of-splunk/frontend:v1.2.1@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe
image: ghcr.io/splunk/bank-of-splunk/frontend:v1.2.2@sha256:b3cd2828e76ba3197e51d198cfceb09c61f387ffdb9ebace33a5410898cc2bbe
livenessProbe:
httpGet:
path: /ready
Expand Down Expand Up @@ -198,66 +195,3 @@ spec:
- key: jwtRS256.key.pub
path: publickey
secretName: jwt-key
---
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
labels:
environment: production
name: frontend-backend-config
namespace: bank-of-anthos-production
spec:
securityPolicy:
name: bank-of-anthos-security-policy
---
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
labels:
environment: production
name: bank-of-anthos-cert
namespace: bank-of-anthos-production
spec:
domains:
- cymbal-bank.fsi.cymbal.dev
---
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
labels:
environment: production
name: frontend-frontend-config
namespace: bank-of-anthos-production
spec:
redirectToHttps:
enabled: true
responseCodeName: MOVED_PERMANENTLY_DEFAULT
sslPolicy: bank-of-anthos-ssl-policy
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.global-static-ip-name: bank-of-anthos-ip
networking.gke.io/managed-certificates: bank-of-anthos-cert
networking.gke.io/v1beta1.FrontendConfig: frontend-frontend-config
labels:
environment: production
name: frontend-ingress
namespace: bank-of-anthos-production
spec:
defaultBackend:
service:
name: frontend
port:
number: 80
rules:
- http:
paths:
- backend:
service:
name: frontend
port:
number: 80
path: /*
pathType: ImplementationSpecific
4 changes: 2 additions & 2 deletions kubernetes-manifests/ledger-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ metadata:
labels:
app: ledger-db
application: bank-of-splunk
environment: production
cluster: staging
team: ledger
tier: db
name: ledger-db-config
namespace: bank-of-anthos-production
namespace: bank-of-anthos-staging
Loading

0 comments on commit eadc249

Please sign in to comment.