coreos-ostree-importer: remove strategy.resources, add: image, strategy

This is a follow up of the migration to Deployment. Based on learnings
from a successful coreos-ostree-pruner migration, this fixes the
`no image` and `unknown field \"spec.strategy.resources\` errors
presented on batcave.
This commit is contained in:
Adam Piasecki 2025-05-21 11:52:49 +01:00
parent 27c717465b
commit a73559de8d

View file

@ -13,7 +13,7 @@ spec:
matchLabels:
app: coreos-ostree-importer
strategy:
resources: {}
type: Recreate
template:
metadata:
labels:
@ -44,9 +44,8 @@ spec:
mountPath: "/etc/pki/fedora-messaging/{{ fedora_messaging_key_file }}"
subPath: "{{ fedora_messaging_key_file }}"
readOnly: true
image: ""
image: "coreos-ostree-importer-img:latest"
imagePullPolicy: IfNotPresent
resources: {}
# The files in the ostree volumes are created with group ownership of 263.
# We need to have 263 in our supplemental groups. See https://pagure.io/releng/issue/8811#comment-629051
securityContext: