Skip to content

Commit

Permalink
release/v0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoisor committed Aug 19, 2022
1 parent 3679b76 commit e35b131
Show file tree
Hide file tree
Showing 10 changed files with 143 additions and 23 deletions.
2 changes: 1 addition & 1 deletion kubernetes-manifests/accounts-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
serviceAccountName: default
containers:
- name: accounts-db
image: gcr.io/bank-of-anthos-ci/accounts-db:v0.5.5
image: gcr.io/bank-of-anthos-ci/accounts-db:v0.5.6
envFrom:
- configMapRef:
name: environment-config
Expand Down
22 changes: 19 additions & 3 deletions kubernetes-manifests/balance-reader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: balancereader
image: gcr.io/bank-of-anthos-ci/balancereader:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/balancereader:v0.5.6
volumeMounts:
- name: publickey
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
# toggle Cloud Trace export
Expand Down Expand Up @@ -100,6 +114,8 @@ spec:
items:
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_balance_reader_deployment_balancereader]
---
# [START gke_boa_kubernetes_manifests_balance_reader_service_balancereader]
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
name: environment-config
data:
LOCAL_ROUTING_NUM: "883745000"
PUB_KEY_PATH: "/root/.ssh/publickey"
PUB_KEY_PATH: "/tmp/.ssh/publickey"
# [END gke_boa_kubernetes_manifests_config_configmap_environment_config]
---
# [START gke_boa_kubernetes_manifests_config_configmap_service_api_config]
Expand Down
22 changes: 19 additions & 3 deletions kubernetes-manifests/contacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: contacts
image: gcr.io/bank-of-anthos-ci/contacts:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/contacts:v0.5.6
volumeMounts:
- name: publickey
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -72,6 +86,8 @@ spec:
items:
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_contacts_deployment_contacts]
---
# [START gke_boa_kubernetes_manifests_contacts_service_contacts]
Expand Down
34 changes: 31 additions & 3 deletions kubernetes-manifests/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: front
image: gcr.io/bank-of-anthos-ci/frontend:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/frontend:v0.5.6
volumeMounts:
- name: publickey
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -66,6 +80,18 @@ spec:
configMapKeyRef:
name: demo-data-config
key: DEMO_LOGIN_PASSWORD
- name: REGISTERED_OAUTH_CLIENT_ID
valueFrom:
configMapKeyRef:
name: oauth-config
key: DEMO_OAUTH_CLIENT_ID
optional: true
- name: ALLOWED_OAUTH_REDIRECT_URI
valueFrom:
configMapKeyRef:
name: oauth-config
key: DEMO_OAUTH_REDIRECT_URI
optional: true
# Customize the metadata server hostname to query for metadata
#- name: METADATA_SERVER
# value: "my-metadata-server"
Expand Down Expand Up @@ -105,6 +131,8 @@ spec:
items:
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_frontend_deployment_frontend]
---
# [START gke_boa_kubernetes_manifests_frontend_service_frontend]
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 @@ -31,7 +31,7 @@ spec:
serviceAccountName: default
containers:
- name: postgres
image: gcr.io/bank-of-anthos-ci/ledger-db:v0.5.5
image: gcr.io/bank-of-anthos-ci/ledger-db:v0.5.6
ports:
- containerPort: 5432
envFrom:
Expand Down
22 changes: 19 additions & 3 deletions kubernetes-manifests/ledger-writer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: ledgerwriter
image: gcr.io/bank-of-anthos-ci/ledgerwriter:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/ledgerwriter:v0.5.6
volumeMounts:
- name: publickey
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -89,6 +103,8 @@ spec:
items:
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_ledger_writer_deployment_ledgerwriter]
---
# [START gke_boa_kubernetes_manifests_ledger_writer_service_ledgerwriter]
Expand Down
14 changes: 13 additions & 1 deletion kubernetes-manifests/loadgenerator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,21 @@ spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
restartPolicy: Always
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: loadgenerator
image: gcr.io/bank-of-anthos-ci/loadgenerator:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/loadgenerator:v0.5.6
env:
- name: FRONTEND_ADDR
value: "frontend:80"
Expand Down
22 changes: 19 additions & 3 deletions kubernetes-manifests/transaction-history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: transactionhistory
image: gcr.io/bank-of-anthos-ci/transactionhistory:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/transactionhistory:v0.5.6
volumeMounts:
- name: publickey
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -105,6 +119,8 @@ spec:
items:
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_transaction_history_deployment_transactionhistory]
---
# [START gke_boa_kubernetes_manifests_transaction_history_service_transactionhistory]
Expand Down
24 changes: 20 additions & 4 deletions kubernetes-manifests/userservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,41 @@ spec:
spec:
serviceAccountName: default
terminationGracePeriodSeconds: 5
securityContext:
fsGroup: 1000
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
containers:
- name: userservice
image: gcr.io/bank-of-anthos-ci/userservice:v0.5.5
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/bank-of-anthos-ci/userservice:v0.5.6
volumeMounts:
- name: keys
mountPath: "/root/.ssh"
mountPath: "/tmp/.ssh"
readOnly: true
- mountPath: /tmp
name: tmp
ports:
- name: http-server
containerPort: 8080
env:
- name: VERSION
value: "v0.5.5"
value: "v0.5.6"
- name: PORT
value: "8080"
- name: ENABLE_TRACING
value: "true"
- name: TOKEN_EXPIRY_SECONDS
value: "3600"
- name: PRIV_KEY_PATH
value: "/root/.ssh/privatekey"
value: "/tmp/.ssh/privatekey"
# Valid levels are debug, info, warning, error, critical. If no valid level is set, gunicorn will default to info.
- name: LOG_LEVEL
value: "info"
Expand Down Expand Up @@ -80,6 +94,8 @@ spec:
path: privatekey
- key: jwtRS256.key.pub
path: publickey
- emptyDir: {}
name: tmp
# [END gke_boa_kubernetes_manifests_userservice_deployment_userservice]
---
# [START gke_boa_kubernetes_manifests_userservice_service_userservice]
Expand Down

0 comments on commit e35b131

Please sign in to comment.