Closed maxamins closed 3 months ago
This fixes an issue with images on ARM64. Tested and verified fix on ARM64 and AMD64 machines.
Testing steps:
# Build images docker buildx build --builder mybuilder -t gcr.io/$PROJECT_ID/prometheus-engine/operator:arm-test1 cmd/operator/Dockerfile --platform linux/arm64,linux/amd64 --build-arg QEMU_VERSION=latest --push docker buildx build --builder mybuilder -t gcr.io/$PROJECT_ID/prometheus-engine/config-reloader:arm-test1 cmd/operator/Dockerfile --platform linux/arm64,linux/amd64 --build-arg QEMU_VERSION=latest --push docker buildx build --builder mybuilder -t gcr.io/$PROJECT_ID/prometheus-engine/rule-evaluator:arm-test1 cmd/operator/Dockerfile --platform linux/arm64,linux/amd64 --build-arg QEMU_VERSION=latest --push # Add built images to manifests/operator.yaml kubectl apply -f manifests/operator.yaml
This fixes an issue with images on ARM64. Tested and verified fix on ARM64 and AMD64 machines.
Testing steps: