File tree Expand file tree Collapse file tree 4 files changed +39
-2
lines changed Expand file tree Collapse file tree 4 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : cardano-node
3
3
description : Creates a Cardano node deployment with SOCAT sidecar
4
- version : 0.1.23
4
+ version : 0.2.0
5
5
appVersion : 10.3.1
6
6
maintainers :
7
7
- name : aurora
Original file line number Diff line number Diff line change 36
36
value : {{ .Values.cardano_network }}
37
37
- name : CARDANO_PORT
38
38
value : " {{ .Values.service.ports.ntn.targetPort }}"
39
+ - name : CARDANO_TOPOLOGY
40
+ value : " /opt/cardano/config/{{ .Values.cardano_network }}/topology.json"
39
41
image : {{ .Values.image.repository }}:{{ .Values.image.tag }}
40
42
imagePullPolicy : {{ .Values.image.pullPolicy }}
41
43
name : cardano-node
50
52
name : node-db
51
53
- mountPath : /ipc
52
54
name : node-ipc
55
+ {{- if .Values.topology.enabled }}
56
+ - name : topology
57
+ mountPath : /opt/cardano/config/{{ .Values.cardano_network }}/topology.json
58
+ subPath : topology.json
59
+ {{- end }}
53
60
- command :
54
61
- sh
55
62
- -c
Original file line number Diff line number Diff line change
1
+ ---
2
+ {{- if .Values.topology.enabled }}
3
+ apiVersion : v1
4
+ kind : ConfigMap
5
+ metadata :
6
+ name : {{ include "cardano-node.fullname" . }}-topology
7
+ namespace : {{ .Release.Namespace | default "default" }}
8
+ labels :
9
+ {{ include "cardano-node.labels" . | nindent 4 }}
10
+ data :
11
+ topology.json : |-
12
+ {{ toJson .Values.topology.config | indent 4 }}
13
+ {{- end }}
Original file line number Diff line number Diff line change @@ -19,7 +19,24 @@ service:
19
19
metrics :
20
20
port : 12798
21
21
targetPort : 12798
22
-
22
+ topology :
23
+ enabled : false
24
+ # config:
25
+ # bootstrapPeers:
26
+ # - address: "preview-node.play.dev.cardano.org"
27
+ # port: 3001
28
+ # localRoots:
29
+ # - accessPoints:
30
+ # - address: "preview-node.play.dev.cardano.org"
31
+ # port: 3001
32
+ # advertise: false
33
+ # trustable: false
34
+ # valency: 1
35
+ # peerSnapshotFile: "peer-snapshot.json"
36
+ # publicRoots:
37
+ # - accessPoints: []
38
+ # advertise: false
39
+ # useLedgerAfterSlot: 83116868
23
40
storage :
24
41
# Suitable for preview and preprod, 250+ for mainnet
25
42
size : " 24Gi"
You can’t perform that action at this time.
0 commit comments