Skip to content

Commit

Permalink
use storage trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Pacman99 committed Jun 24, 2023
1 parent 1f1bf79 commit 024d769
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion deploy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: marlowe-runtime
version: v0.0.17
version: v0.0.18
appVersion: v1.0.0
description: Marlowe smart contract language Cardano implementation
home: https://marlowe.iohk.io
Expand Down
13 changes: 7 additions & 6 deletions deploy/templates/chain-indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ spec:
image: {{ $.Values.images.repo }}/{{ $.Values.images.org }}/marlowe-chain-indexer:{{ $.Values.images.tag }}
imagePullPolicy: Always
memory: 1024Mi
volumeMounts:
emptyDir:
- name: ipc
mountPath: /ipc
- name: node-config
mountPath: /node-config
traits:
- type: storage
properties:
emptyDir:
- name: ipc
mountPath: /ipc
- name: node-config
mountPath: /node-config
- type: init-container
properties:
name: node-config-cloner
Expand Down
6 changes: 3 additions & 3 deletions deploy/templates/chain-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,14 @@ spec:
- expose: true
port: 3782
protocol: TCP
volumeMounts:
traits:
- type: storage
properties:
emptyDir:
- name: ipc
mountPath: /ipc
- name: node-config
mountPath: /node-config
traits:
- type: init-container
properties:
name: node-config-cloner
Expand All @@ -80,7 +81,6 @@ spec:
volumes:
- name: node-config
path: /node-config

- type: sidecar
properties:
name: socat
Expand Down

0 comments on commit 024d769

Please sign in to comment.