Skip to content

Commit

Permalink
Mount an emptydir for edge-agent
Browse files Browse the repository at this point in the history
The OPCUA driver assumes this directory will be writable and tries to
use it to store certificates of some sort.
  • Loading branch information
amrc-benmorrow committed Mar 20, 2024
1 parent 5389162 commit 05bbb47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions edge-agent/templates/edge-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ spec:
- name: edge-agent-sensitive-information
mountPath: "/etc/secrets"
readOnly: true
- mountPath: /home/node/.config
name: local-config
volumes:
- name: edge-agent-sensitive-information
secret:
optional: true
secretName: edge-agent-sensitive-information-{{ .Values.uuid }}
- name: local-config
emptyDir:
---
apiVersion: factoryplus.app.amrc.co.uk/v1
kind: SparkplugNode
Expand Down

0 comments on commit 05bbb47

Please sign in to comment.