mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-04 22:33:09 +00:00
- Update paths and orchestration for deployers (compose/k8s/local/docker) - Consolidate scripts helpers and refresh book/README docs
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ include "nomos-runner.fullname" . }}-cfgsync
|
|
labels:
|
|
{{- include "nomos-runner.labels" . | nindent 4 }}
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
{{- include "nomos-runner.selectorLabels" . | nindent 6 }}
|
|
nomos/component: cfgsync
|
|
template:
|
|
metadata:
|
|
labels:
|
|
{{- include "nomos-runner.selectorLabels" . | nindent 8 }}
|
|
nomos/component: cfgsync
|
|
spec:
|
|
containers:
|
|
- name: cfgsync
|
|
image: {{ .Values.image }}
|
|
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
|
command: ["/etc/nomos/scripts/run_cfgsync.sh"]
|
|
ports:
|
|
- name: http
|
|
containerPort: {{ .Values.cfgsync.port }}
|
|
env:
|
|
- name: RUST_LOG
|
|
value: debug
|
|
volumeMounts:
|
|
- name: assets
|
|
mountPath: /etc/nomos
|
|
readOnly: true
|
|
volumes:
|
|
- name: assets
|
|
configMap:
|
|
name: {{ include "nomos-runner.fullname" . }}-assets
|
|
defaultMode: 0755
|
|
items:
|
|
- key: cfgsync.yaml
|
|
path: cfgsync.yaml
|
|
- key: run_cfgsync.sh
|
|
path: scripts/run_cfgsync.sh
|