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.1.9 #20

Merged
merged 1 commit into from
Oct 12, 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.1.7"
sync_branch = "release/v1.1.9"
sync_rev = ""
policy_dir = "/kubernetes-manifests"
133 changes: 5 additions & 128 deletions kubernetes-manifests/accounts-db.yaml
Original file line number Diff line number Diff line change
@@ -1,139 +1,16 @@
apiVersion: v1
data:
ACCOUNTS_DB_URI: postgresql://accounts-admin:accounts-pwd@accounts-db:5432/accounts-db
ACCOUNTS_DB_URI: postgresql://admin:[email protected]:5432/accounts-db
POSTGRES_DB: accounts-db
POSTGRES_PASSWORD: accounts-pwd
POSTGRES_USER: accounts-admin
POSTGRES_PASSWORD: admin
POSTGRES_USER: admin
kind: ConfigMap
metadata:
labels:
app: accounts-db
application: bank-of-splunk
environment: development
environment: production
team: accounts
tier: db
name: accounts-db-config
---
apiVersion: v1
kind: Service
metadata:
labels:
application: bank-of-splunk
environment: development
team: accounts
tier: db
name: accounts-db
spec:
ports:
- name: tcp
port: 5432
protocol: TCP
targetPort: 5432
selector:
app: accounts-db
application: bank-of-splunk
environment: development
team: accounts
tier: db
type: ClusterIP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
application: bank-of-splunk
environment: development
team: accounts
tier: db
name: accounts-db
spec:
replicas: 1
selector:
matchLabels:
app: accounts-db
application: bank-of-splunk
environment: development
team: accounts
tier: db
serviceName: accounts-db
template:
metadata:
labels:
app: accounts-db
application: bank-of-splunk
environment: development
team: accounts
tier: db
spec:
containers:
- envFrom:
- configMapRef:
name: environment-config
- configMapRef:
name: accounts-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.1.7@sha256:fea9e1a74f9e919158a3ed7049f3da2b9016ef96a5e62ad606559bc494be2ee1
name: accounts-db
ports:
- containerPort: 5432
resources:
limits:
cpu: 250m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: postgresdb
subPath: postgres
serviceAccount: bank-of-anthos
serviceAccountName: default
volumes:
- emptyDir: {}
name: postgresdb
---
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
iam.gke.io/gcp-service-account: gke-workload-development@bank-of-anthos-ci.iam.gserviceaccount.com
name: bank-of-anthos
---
apiVersion: v1
data:
DEMO_LOGIN_PASSWORD: bankofanthos
DEMO_LOGIN_USERNAME: testuser
USE_DEMO_DATA: "True"
kind: ConfigMap
metadata:
name: demo-data-config
---
apiVersion: v1
data:
LOCAL_ROUTING_NUM: "883745000"
PUB_KEY_PATH: /tmp/.ssh/publickey
kind: ConfigMap
metadata:
name: environment-config
---
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
---
apiVersion: v1
data:
jwtRS256.key: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS3dJQkFBS0NBZ0VBNEd2Wk5Ta2o1aWlXYjJEWk0yZkN4NWJHR1lnd2FLNFNNc3lJOEs4b0ZRZXBMMTNZClJPWEt3NVMrbEVMSDlBZXRUZGNUQWRrYkN6eWFwU2RrM1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