Skip to content

Commit

Permalink
add /exports/beamline hostpath to all IOCs
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jul 18, 2024
1 parent 3fff47b commit 988f338
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module load pollux > /dev/null
# set the default namespace for kubectl and helm (for convenience only)
kubectl config set-context --current --namespace=p47-iocs
# make sure the user has provided credentials
kubectl version --short
kubectl version


# enable shell completion for k8s tools
Expand Down
8 changes: 4 additions & 4 deletions helm/shared/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ ioc-instance:
# iXXdetector user/group IDs
securityContext:
allowPrivilegeEscalation: false
# runAsUser: 37887
# runAsGroup: 37887
runAsUser: 37887
runAsGroup: 37887

########################################################################################
# The following values are expected to be overridden in individual IOC values.yaml
Expand All @@ -76,15 +76,15 @@ ioc-instance:
# the PVC
dataVolume:
# Create a PVC called {.Chart.Name}-data when true
pvc: true
pvc: false
# A path on the host machine to write data into. Also used as the path that the
# pvc or hostPath will be mounted at so that users need not be confused about
# inside/outside container paths.

# This should be a hostPath to the shared data directory for IOCs that
# need to write to the shared data directory - at DLS this must be
# /dls/iXX/data (writing data to the host also needs 'pvc: false')
hostPath: /data
hostPath: /exports/mybeamline

# use the shared PVC for publishing opi files over http (see services/opis)
opisClaim: bl47p-opi-claim
Expand Down

0 comments on commit 988f338

Please sign in to comment.