zarf
zarf copied to clipboard
Choosing 'auth' as ZarfPackageConfig component name will break deploy
Environment
Device and OS: MBP M3, macOS 15.5 App version: 0.56.0
Steps to reproduce
- Create
zarf.yamland paste:
kind: ZarfPackageConfig
metadata:
name: auth
description: "Package bug reproduction"
components:
- name: auth
required: true
charts:
- name: app-template
version: 3.6.1
url: https://bjw-s-labs.github.io/helm-charts
namespace: dti
releaseName: auth
valuesFiles:
- values.yaml
images:
- busybox:stable
- Create
values.yamlin same folder and paste:
controllers:
auth:
strategy: RollingUpdate
containers:
appauth:
nameOverride: "auth"
image:
repository: "busybox"
tag: "stable"
pullPolicy: IfNotPresent
service:
appauth:
controller: auth
ports:
http:
port: 8080
- Run
zarf package create . - Run either
zarf package deploy <package_name>orzarf package inspect values-files <package_name>
Expected result
successful output
Actual Result
unable to decompress: extracting "/var/folders/h7/hp1475d95m5f5263t8rdv83w0000gn/T/zarf-274063970/components/auth.tar": archive/tar: invalid tar header
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
Changing the components name to something else fixes the issue.
Hey @NunoSav thanks for sending up this bug report and repro steps. Once the maintainers team has a chance to triage it we'll update the issue.