browsertrix/chart/app-templates/profile_job.yaml
Ilya Kreymer 62e47a8817
support overriding crawler image pull policy per channel (#2523)
- add 'imagePullPolicy' field to each crawler channel declaration
- if unset, defaults to the setting in the existing
'crawler_image_pull_policy' field.

fixes #2522

---------

Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2025-03-31 14:11:41 -07:00

37 lines
764 B
YAML

apiVersion: btrix.cloud/v1
kind: ProfileJob
metadata:
name: profilejob-{{ id }}
labels:
browser: "{{ id }}"
role: "job"
btrix.org: {{ oid }}
btrix.user: {{ userid }}
{%- if base_profile %}
btrix.baseprofile: "{{ base_profile }}"
{%- endif %}
btrix.storage: "{{ storage_name }}"
spec:
selector:
matchLabels:
browser: "{{ id }}"
id: "{{ id }}"
userid: "{{ userid }}"
oid: "{{ oid }}"
storageName: "{{ storage_name }}"
crawlerImage: "{{ crawler_image }}"
imagePullPolicy: "{{ image_pull_policy }}"
startUrl: "{{ url }}"
profileFilename: "{{ profile_filename }}"
vncPassword: "{{ vnc_password }}"
proxyId: "{{ proxy_id }}"
{% if expire_time %}
expireTime: "{{ expire_time }}"
{% endif %}