Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion helm/blueapi/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ spec:
if [ $? -ne 0 ]; then echo 'Blueapi failed'; exit 1; fi;
echo "Exporting venv as artefact"
cp -r /app/.venv/* /artefacts
env:
- name: UV_CACHE_DIR
value: {{ (.Values.worker.scratch).root }}
volumeMounts:
- name: init-config
mountPath: "/config"
Expand Down Expand Up @@ -196,7 +199,11 @@ spec:
- configMapRef:
name: {{ include "blueapi.fullname" . }}-otel-config
env:
{{- toYaml .Values.extraEnvVars | nindent 12 }}
- name: UV_CACHE_DIR
value: {{ (.Values.worker.scratch).root }}
{{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 12 }}
{{- end }}
{{- if ne 1000.0 .Values.securityContext.runAsUser }}
- name: debug-account-sync
image: ghcr.io/diamondlightsource/account-sync-sidecar:3.0.0
Expand Down
7 changes: 2 additions & 5 deletions helm/blueapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ podAnnotations: {}
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}

podSecurityContext:
{}
podSecurityContext: {}
# fsGroup: 2000

securityContext:
Expand All @@ -62,8 +61,7 @@ service:
ingress:
enabled: false
className: "nginx"
annotations:
{}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand Down Expand Up @@ -96,7 +94,6 @@ resources:
requests:
cpu: 200m
memory: 400Mi


# -- Override resources for init container. By default copies resources of main container.
initResources: {}
Expand Down