mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
add in the config.json
This commit is contained in:
@@ -69,11 +69,11 @@ spec:
|
||||
value: {{ $.Values.version | quote }}
|
||||
- name: VERBOSITY
|
||||
value: {{ $.Values.verbosity }}
|
||||
- name: SECRETS
|
||||
value: {{ join "," .secrets | quote }}
|
||||
- name: PROJECT_ID
|
||||
value: {{ $.Values.projectId }}
|
||||
{{- if $.Values.environment }}
|
||||
{{ toYaml $.Values.environment | indent 12 }}
|
||||
{{- end }}
|
||||
{{- if .environment }}
|
||||
{{ toYaml .environment | indent 12 }}
|
||||
{{- end }}
|
||||
@@ -83,6 +83,18 @@ spec:
|
||||
{{- toYaml .resources | nindent 14 }}
|
||||
requests:
|
||||
{{- toYaml .resources | nindent 14 }}
|
||||
volumeMounts:
|
||||
{{- range .secretMounts }}
|
||||
- name: "{{ .name }}-volume"
|
||||
mountPath: "{{ .mount }}"
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- range .secretMounts }}
|
||||
- name: "{{ .name }}-volume"
|
||||
secret:
|
||||
secretName: "{{ .name }}"
|
||||
{{- end }}
|
||||
---
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -2,18 +2,25 @@ services:
|
||||
relayer:
|
||||
image: us-central1-docker.pkg.dev/oxbow-406621/privacy-pools-core/staging/relayer
|
||||
serviceAccount: relayer-staging
|
||||
command: python3
|
||||
args: ["/app/main.py"]
|
||||
command: node
|
||||
args: ["dist/src/index.js"]
|
||||
environment:
|
||||
- name: CONFIG_PATH
|
||||
value: /etc/secrets/config.json
|
||||
resources:
|
||||
cpu: 100m
|
||||
memory: 2Gi
|
||||
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 3000
|
||||
|
||||
secretMounts:
|
||||
- name: relayer-config-staging
|
||||
mount: /etc/secrets/
|
||||
|
||||
ingress:
|
||||
host: testnet-relayer.privacypools.com
|
||||
paths:
|
||||
|
||||
@@ -14,7 +14,7 @@ ingress:
|
||||
verbosity: WARN
|
||||
|
||||
# Shared environment variables
|
||||
environment: []
|
||||
environment:
|
||||
|
||||
projectId: oxbow-406621
|
||||
namespace: default
|
||||
Reference in New Issue
Block a user