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