Skip to content

Commit

Permalink
Add Prompt Processing config for turning off repo export.
Browse files Browse the repository at this point in the history
This flag is used for tests where we want to avoid conflicting updates
to the central repo.
  • Loading branch information
kfindeisen committed Nov 27, 2024
1 parent d45505b commit 93ac0ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/prompt-proto-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Event-driven processing of camera images
| cache.refcatsPerImage | int | `4` | A factor by which to multiply `baseSize` for refcat datasets. |
| containerConcurrency | int | `1` | The number of Knative requests that can be handled simultaneously by one container |
| debug.cacheCalibs | bool | `true` | Whether or not calibs should be cached between runs of a pod. This is a temporary flag that should only be unset in specific circumstances, and only in the development environment. |
| debug.exportOutputs | bool | `true` | Whether or not pipeline outputs should be exported to the central repo. This flag does not turn off APDB writes or alert generation; those must be handled at the pipeline level or by setting up an alternative destination. |
| fullnameOverride | string | `"prompt-proto-service"` | Override the full name for resources (includes the release name) |
| image.pullPolicy | string | `IfNotPresent` in prod, `Always` in dev | Pull policy for the PP image |
| image.repository | string | `"ghcr.io/lsst-dm/prompt-service"` | Image to use in the PP deployment |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ spec:
value: {{ .Values.cache.maxFilters | toString | quote }}
- name: DEBUG_CACHE_CALIBS
value: {{ if .Values.debug.cacheCalibs }}'1'{{ else }}'0'{{ end }}
- name: DEBUG_EXPORT_OUTPUTS
value: {{ if .Values.debug.exportOutputs }}'1'{{ else }}'0'{{ end }}
volumeMounts:
- mountPath: /tmp-butler
name: ephemeral
Expand Down
3 changes: 3 additions & 0 deletions charts/prompt-proto-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ debug:
# -- Whether or not calibs should be cached between runs of a pod.
# This is a temporary flag that should only be unset in specific circumstances, and only in the development environment.
cacheCalibs: true
# -- Whether or not pipeline outputs should be exported to the central repo.
# This flag does not turn off APDB writes or alert generation; those must be handled at the pipeline level or by setting up an alternative destination.
exportOutputs: true

# -- Kubernetes YAML configs for extra container volume(s).
# Any volumes required by other config options are automatically handled by the Helm chart.
Expand Down

0 comments on commit 93ac0ea

Please sign in to comment.