Skip to content
Merged
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
19 changes: 19 additions & 0 deletions deployment/clouddeploy/osv-api/run-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ spec:
metadata:
annotations:
autoscaling.knative.dev/maxScale: '200'
run.googleapis.com/network-interfaces: '[{"network":"default","subnetwork":"default"}]'
run.googleapis.com/vpc-access-egress: private-ranges-only
spec:
containers:
- image: osv-server
Expand All @@ -20,6 +22,23 @@ spec:
value: osv-vulnerabilities
- name: FAILED_TASKS_TOPIC
value: failed-tasks
- name: POSTGRES_SHADOW_RATE
value: "0"
- name: POSTGRES_HOST
value: "10.25.0.3"
- name: POSTGRES_PORT
value: "6432"
- name: POSTGRES_USER
value: "osv-readonly"
- name: POSTGRES_DB
value: "osv"
- name: POSTGRES_SSLMODE
value: "require"
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: postgres-readonly-password
key: latest
resources:
limits:
cpu: 2
Expand Down
Loading