From d7f16921663eb4d25f443b5b531162ca1dfbd05c Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sat, 10 Dec 2022 01:59:57 +0000 Subject: [PATCH] fix(kOS): Fix broken rpm-ostree upgrade command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the rpm-ostree upgrade command requires some form of credentials or refuses to download the image. rpm-ostree rebase works fine. Hope this will be fixed so, for now a read-only robot account for quay… --- images/kos/Dockerfile | 3 +++ images/kos/workarounds/fs/etc/ostree/auth.json | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 images/kos/workarounds/fs/etc/ostree/auth.json diff --git a/images/kos/Dockerfile b/images/kos/Dockerfile index a4768b52a..06a8e816f 100644 --- a/images/kos/Dockerfile +++ b/images/kos/Dockerfile @@ -39,6 +39,9 @@ COPY cpu-boost/fs/ / # Kubernetes specific changes COPY kubernetes/fs/ / +# Add neccesary workarounds +COPY workarounds/fs/ / + # Update repository configs COPY --from=repositories /etc/yum.repos.d/ /etc/yum.repos.d/ diff --git a/images/kos/workarounds/fs/etc/ostree/auth.json b/images/kos/workarounds/fs/etc/ostree/auth.json new file mode 100644 index 000000000..14cfef8b6 --- /dev/null +++ b/images/kos/workarounds/fs/etc/ostree/auth.json @@ -0,0 +1,8 @@ +{ + "auths": { + "quay.io": { + "auth": "c2hpdmVyaW5nLWlzbGVzK2tvczpPSEdQU0JHOUdUTkhWSjYxSjZGWUwwM0VBU0NCWU5NTFY4UzVZMTk0UDVVRjQ1QUpQVFlTQVQ0SUZVRVcwUERQ", + "email": "" + } + } + } \ No newline at end of file -- GitLab