Skip to content

Commit

Permalink
Add option to helm chart to run on host network (#326)
Browse files Browse the repository at this point in the history
Changes:
- Add option to helm chart to run on host network, disabled by default
  • Loading branch information
callumforrester authored Oct 31, 2023
1 parent 3ec7b08 commit e3c4a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm/blueapi/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
labels:
{{- include "blueapi.selectorLabels" . | nindent 8 }}
spec:
hostNetwork: {{ .Values.hostNetwork }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions helm/blueapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ affinity: {}

#existingSecret: see templates/secret.yaml

hostNetwork: false # May be needed for talking to arcane protocols such as EPICS

scratch:
hostPath: "" # example: /usr/local/blueapi-software-scratch
containerPath: /blueapi-plugins/scratch
Expand Down

0 comments on commit e3c4a78

Please sign in to comment.