Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually use emptydir mount when persistence is disabled #3241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xyzzyz
Copy link

@xyzzyz xyzzyz commented Nov 15, 2024

Description

In #2124, an emptydir was mounted when persistence.enabled: false is set. However, this is not enough to make registry work: it crashloops as in issue #1998:

Configuration error: error parsing /etc/docker/registry/config.yml: no storage configuration provided

This is fixed by setting the env variable specifying storage config even if persistence is disabled:

Related Issue

Fixes #1998

Checklist before merging

@xyzzyz xyzzyz requested review from a team as code owners November 15, 2024 16:20
Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 984a56f
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/673775231497ca00080518bb

In zarf-dev#2124, an emptydir was mounted when `persistence.enabled: false` is set. However, this is not
enough to make registry work: it crashloops as in issue zarf-dev#1998. This is fixed by setting the env variable
specifying storage config even if persistence is disabled.

Signed-off-by: Adam Michalik <[email protected]>
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zarf init fails on multi-node minikube cluster
1 participant