Fix Operator tests on ARM-based machines (#26786)

postgres-15-c9s image now supports arm64

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
This commit is contained in:
Václav Muzikář 2024-02-05 16:04:47 +01:00 committed by GitHub
parent 43c200a8ce
commit be66bf1957
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,10 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: postgresql-db - name: postgresql-db
# WARN: this image is not ARM64 native, consider using "postgres:latest" or "registry.redhat.io/rhel9/postgresql-15:latest" if you need that image: quay.io/sclorg/postgresql-15-c9s:latest
# See also https://github.com/sclorg/postgresql-container/pull/527
# Using c8s instead of c9s as c9s requires additional arguments for emulation on ARM machines, while c8s works OOTB
image: quay.io/sclorg/postgresql-15-c8s:latest
volumeMounts: volumeMounts:
- mountPath: /var/lib/pgsql/data - mountPath: /var/lib/pgsql/data
name: cache-volume name: cache-volume