Skip to content

Releases: zarf-dev/zarf

v0.23.0-rc1

05 Dec 12:18
19c1f41
Compare
Choose a tag to compare
v0.23.0-rc1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.22.2...v0.23.0-rc1

v0.22.2

19 Oct 14:47
v0.22.2
7eafb95
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.22.1...v0.22.2

v0.22.1

13 Oct 22:20
v0.22.1
c7202d2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.22.0...v0.22.1

v0.22.0

13 Oct 08:03
v0.22.0
1b8e37e
Compare
Choose a tag to compare

Release Overview

https://youtu.be/p1LFTbNHzhU

⚠️ Breaking changes

  • Zarf init package names now include the CLI version, e.g. zarf-init-amd64.tar.zst -> zarf-init-amd64-v0.22.0.tar.zst
  • Internal images and git repos have a CRC32 suffix in the name to avoid collisions
  • The zarf-state secret structure has been updated to contain more configuration natively instead of holding a single 'secret' value that all others were derived from.

Features

Fixes

Development

  • Check for CVEs with Grype in actions by @Racer159 in #744
  • Pull out docs and schema refactor from PR 692 by @Racer159 in #730
  • speed up patch merging for renovate by @jeff-mccoy in #780
  • Add package.json and package-lock.json to exclusions for CLI tests by @Racer159 in #811
  • Remove repo1 CICD dependency due to unreliable uptime by @jeff-mccoy in #817
  • Fixup Makefile help and Speedup builds by @Racer159 in #847
  • Fixing a small issue with the timeout not stopping the external test by @Racer159 in #869

Docs

Dependencies

  • Pin dependencies by @renovate in #867
  • Update module github.com/anchore/syft to v0.56.0 by @renovate in #729
  • Update module github.com/sigstore/cosign to v1.12.0 by @renovate in #732
  • Update kubernetes packages to v0.25.1 by @renovate in #741
  • Update module github.com/anchore/syft to v0.57.0 by @renovate in #746
  • Update golang.org/x/crypto digest to 35f4265 by @renovate in #745
  • Update github.com/anchore/stereoscope digest to 5655277 by @renovate in #756
  • Update module github.com/sigstore/cosign to v1.12.1 by @renovate in #757
  • Update module helm.sh/helm/v3 to v3.10.0 by @renovate in #759
  • Update module github.com/derailed/k9s to v0.26.4 by @renovate in #762
  • Update actions/cache action to v3 by @renovate in #771
  • Update module github.com/derailed/k9s to v0.26.5 by @renovate in #765
  • Update kubernetes packages to v0.25.2 by @renovate in #763
  • Update k8s.io/utils digest to 665eaae by @renovate in #764
  • Update sigstore/cosign-installer action to v2.7.0 by @renovate in #773
  • Update golang.org/x/crypto digest to 4ba4fb4 by @renovate in #778
  • Update dependency eslint to v8.24.0 by @renovate in #779
  • Update Rust crate sha2 to 0.10.6 by @renovate in #709
  • Update module github.com/pterm/pterm to v0.12.47 by @renovate in #782
  • Pin dependencies by @renovate in #770
  • Update dependency prettier-plugin-svelte to v2.7.1 by @renovate in #784
  • Update golang.org/x/crypto digest to eccd636 by @renovate in #783
  • Update actions/upload-artifact action to v3 by @renovate in #789
  • Update dependency svelte-check to v2.9.1 by @renovate in #787
  • Update module github.com/derailed/k9s to v0.26.6 by @renovate in #791
  • Update dependency vite to v3.1.4 by @renovate in #805
  • Update typescript-eslint monorepo to v5.38.1 by @renovate in #788
  • Update dependency @playwright/test to v1.26.1 by @renovate in #795
  • Update dependency typescript to v4.8.4 by @renovate in #801
  • Update dependency @defense-unicorns/unicorn-ui to v0.0.11 by @renovate in #808
  • Update module github.com/anchore/syft to v0.58.0 by @renovate in #815
  • Update dependency @defense-unicorns/unicorn-ui to v0.0.12 by @renovate in #822
  • Update dependency @defense-unicorns/unicorn-ui to v0.0.13 by @renovate in #825
  • Update dependency @defense-unicorns/unicorn-ui to v0.0.14 by @renovate in #827
  • Update module github.com/pterm/pterm to v0.12.48 by @renovate in #824
  • Update dependency yaml to v2.1.2 by @renovate in #828
  • Update dependency @defense-unicorns/unicorn-ui to v0.0.16 by @renovate in #831
  • Update module github.com/pterm/pterm to v0.12.49 by @renovate in #834
  • Update github.com/anchore/stereoscope digest to 1b1b744 by @renovate in #830
  • Update typescript-eslint monorepo to v5.39.0 by @renovate in #835
  • Update golang.org/x/crypto digest to 4161e89 by @renovate in #840
  • Update dependency yaml to v2.1.3 by @renovate in #841
  • Update 2-core-concepts.md by @Madeline-UX in #846
  • Update dependency @testing-library/svelte to v3.2.2 by @renovate in #850
  • Update dependency vite to v3.1.6 by @renovate in #849
  • Update github.com/anchore/stereoscope digest to d24c9d6 by @renovate in #859
  • Update module github.com/sigstore/cosign to v1.13.0 by @renovate in #863
  • Update sigstore/cosign-installer action to v2.8.0 by @renovate in #864
  • Update dependency @playwright/test to v1.27.0 by @renovate in #865
  • Update dependency eslint to v8.25.0 by @renovate in #866
  • Update dependency material-symbols to v0.2.13 by @renovate in #868
  • Update dependency vite to v3.1.7 by @renovate in #873
  • Update...
Read more

v0.21.3

12 Sep 00:13
v0.21.3
c74e2e9
Compare
Choose a tag to compare

Features

  • add flag to show sbom files during a package inspect command by @YrrepNoj in #678
    zarf package inspect showing sbom information

Fixes

Docs

Development

  • add self-hosted runner code & update for multi-os test support by @jeff-mccoy in #704
  • Refactor CI to work on regular github runners + fix PLG support for K8s 1.25 by @jeff-mccoy in #719

Dependencies

  • Update module github.com/mattn/go-colorable to v0.1.13 by @renovate in #673
  • Update sigstore/cosign-installer action to v2.5.1 by @renovate in #674
  • Update module github.com/sigstore/cosign to v1.11.0 by @renovate in #685
  • Update kubernetes packages to v0.24.4 by @renovate in #684
  • Update golang.org/x/crypto digest to bc19a97 by @renovate in #680
  • split minio into own pkg & cleanup/update postgres/minio examples by @jeff-mccoy in #667
  • Update golang.org/x/crypto digest to 5757bc0 by @renovate in #693
  • Update golang.org/x/crypto digest to c86fa9a by @renovate in #702
  • Update module k8s.io/klog/v2 to v2.80.0 by @renovate in #712
  • Update module github.com/pterm/pterm to v0.12.46 by @renovate in #714
  • Vendor syft/migrate witness -> syft direct by @jeff-mccoy in #716
  • Update module github.com/sigstore/cosign to v1.11.1 by @renovate in #694
  • Update module helm.sh/helm/v3 to v3.9.4 by @renovate in #696
  • Update module github.com/anchore/syft to v0.55.0 by @renovate in #721
  • Update kubernetes packages to v0.25.0 by @renovate in #691
  • Update module k8s.io/klog/v2 to v2.80.1 by @renovate in #722
  • Update module github.com/AlecAivazis/survey/v2 to v2.3.6 by @renovate in #724
  • Update sigstore/cosign-installer action to v2.6.0 by @renovate in #726

Full Changelog: v0.21.2...v0.21.3

v0.21.2

13 Aug 05:45
v0.21.2
3a6436c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.21.1...v0.21.2

v0.21.1

07 Aug 07:05
v0.21.1
b478dab
Compare
Choose a tag to compare

Features

  • Add new "prepare" stage for components scripts to perform actions on zarf package create by @jeff-mccoy in #660
    components:
      - name: prepare
        scripts:
          # Note this file will be created in this directory, regardless of where the package create command is called from
          prepare:
            - "touch test-prepare.txt"

Development

  • Move to official github action for project issue automation by @renovate in #653

Dependencies

  • Update module sigs.k8s.io/kustomize/api to v0.12.1 by @renovate in #656
  • Update module github.com/sigstore/cosign to v1.10.1 by @renovate in #659
  • Update module go to 1.19 by @renovate in #657
  • Update module github.com/derailed/k9s to v0.26.3 by @renovate in #658

Full Changelog: v0.21.0...v0.21.1

v0.21.0

02 Aug 00:32
v0.21.0
1f353c5
Compare
Choose a tag to compare

preview

https://www.youtube.com/watch?v=WnOYlFVVKDE

⚠️ Breaking changes

  • Move variable declaration from component to package level by @Racer159 in #621
  • Remove pod-only data injection targets (now requires container in target) by @jeff-mccoy in #644

Features

  • Full Linux ARM support by @jeff-mccoy in #651

  • Package create & deploy variable overrides by @Racer159 in #621. This will allow new ways to template a Zarf Package during creation as seen in packages/zarf-agent/zarf.yaml. Additionally, constants and variables expand on the existing variables that existed at the component level and allow users to specify values at package deploy as well as prompt the user if they did not provide a value via a --set flag.

    Various examples found in examples/package-variables

    kind: ZarfPackageConfig
    metadata:
      name: package-variables
      description: "Test component to demonstrate package variables feature"
    
    # Demonstrates injecting custom constants into a K8s resource, e.g. ###ZARF_CONST_DINGO###
    constants:
      - name: "DINGO"
        value: "howl"
    
    # Demonstrates injecting custom variables into a K8s resource, e.g. ###ZARF_VAR_DOG###
    variables:
      - name: "WOLF"
      - name: "DOG"
        default: "woof"
      - name: "CAT"
        prompt: true
      - name: "FOX"
        default: "###ZARF_PKG_VAR_CONFIG_MAP###"
        prompt: true
    
    components:
      # Note that you must specify the ACTION and CONFIG_MAP i.e. `--set ACTION=template --set CONFIG_MAP=simple-configmap.yaml` during package create
      - name: variable-example
        description: "This component will ###ZARF_PKG_VAR_ACTION### variables within ###ZARF_PKG_VAR_CONFIG_MAP### during deploy"
        required: true
        manifests:
          - name: variable-example-configmap
            files:
              - "###ZARF_PKG_VAR_CONFIG_MAP###"

    A user being prompted for variable values on package deploy:
    Screen Shot 2022-08-02 at 1 20 14 AM

  • Data injection compression & log output by @jeff-mccoy in #644

      dataInjections:
        # Injection in the root directory using data-loader init container
        - source: sample-data
          target:
            namespace: demo
            selector: app=data-injection
            container: data-loader
            path: /test
          compress: true

Fixes

  • Fix Misspellings Across Repository by @elisoncrum in #641
  • Fixes some data injection race conditions and stability concerns on larger datasets by @jeff-mccoy in #644

Development

  • Always build & test Zarf Agent during pull requests; publish latest Zarf Agent on release by @jeff-mccoy in #651
  • Correctly cleanup temp directory test by @jeff-mccoy in #654
  • Change from kubectl exec -> kubectl logs for data injection test by @jeff-mccoy in #647

Docs

Dependencies

  • Update module github.com/google/go-containerregistry to v0.11.0 by @renovate in #633
  • Update module helm.sh/helm/v3 to v3.9.2 by @renovate in #636
  • Update golang.org/x/crypto digest to 630584e by @renovate in #639
  • Update module github.com/pterm/pterm to v0.12.45 by @renovate in #637
  • Update sigstore/cosign-installer action to v2.5.0 by @renovate in #645
  • Update module github.com/sigstore/cosign to v1.10.0 by @renovate in #638
  • Update module sigs.k8s.io/kustomize/kyaml to v0.13.8 by @renovate in #649
  • Update module github.com/testifysec/go-witness to v0.1.12 by @renovate in #652
  • Update module sigs.k8s.io/kustomize/api to v0.12.0 by @renovate in #650

New Contributors

  • @elisoncrum made their first contribution in #641

Full Changelog: v0.20.0...v0.21.0

v0.20.0

19 Jul 00:07
v0.20.0
8b63333
Compare
Choose a tag to compare

Video update below:

v0.20.0 Video Update

⚠️ Breaking changes

  • Remove shorthand zarf <package>|<zarf.yaml> and require package deploy or package create. Also warn users on attempt to use deprecated commands by @jeff-mccoy in #587 and #628

    Previous Shorthand New Command
    zarf zarf-package-demo-amd64.tar.zst zarf package deploy zarf-package-demo-amd64.tar.zst
    zarf zarf.yaml zarf package create
    Screen Shot 2022-07-18 at 8 00 31 PM
  • No longer automatically save git or docker credentials locally to support dynamic port binding by @jeff-mccoy in #586

Features

  • Increase image push and git push reliability by adding retry logic and enabling dynamic port binding for tunnels during zarf package deploy operations by @jeff-mccoy in #586
    • This removes the need to reserve specific local ports to use Zarf or experience issues from stalled tunnel connections keeping the port bound
  • Add component filtering based on cluster architecture and local operating system on zarf package deploy by @jeff-mccoy in #591
  • Add zarf connect list for connect service lookup by @jeff-mccoy in #615
    Screen Shot 2022-07-18 at 10 51 18 PM
  • Add tmpdir command flag and refactor CommonOptions by @Racer159 in #600
  • Converts E2E tests to user journey tests & adds --no-progress flag for cleaner CI logs by @jeff-mccoy in #581
  • Directly open to useful logs in Grafana on zarf connect logging by @jeff-mccoy in #615
    Screen Shot 2022-07-18 at 7 14 26 PM

Fixes

  • Update gitea PATCH request to include 'login_name' key by @YrrepNoj in #603
  • Refactor composed package logic to handle nested composes by @YrrepNoj in #588
  • Fix registry user in credentials output by @rodneyxr in #578
  • Fix zarf agent flux mutation by @jeff-mccoy in #572
  • Produce better debug messages with JSON encoding instead of byte array dumps by @jeff-mccoy in #511
    Screen Shot 2022-07-18 at 5 05 15 PM

Packages & Examples

Docs

Development

  • Generate docs from zarf schema json by @Racer159 in #614
  • Ignore non-code changes in CI for PRs to simplify docs updates by @jeff-mccoy in #599

Dependencies

  • Update module github.com/google/go-containerregistry to v0.10.0 by @renovate in #554
  • Update module github.com/stretchr/testify to v1.7.5 by @renovate in #545
  • Update module github.com/derailed/k9s to v0.25.20 by @renovate in #571
  • Update module github.com/stretchr/testify to v1.8.0 by @renovate in #574
  • Update sigstore/cosign-installer action to v2.4.1 by @renovate in #582
  • Update golang.org/x/crypto digest to 0559593 by @renovate in #553
  • Update module github.com/derailed/k9s to v0.25.21 by @renovate in #579
  • Update module k8s.io/klog/v2 to v2.70.1 by @renovate in #594
  • Update module helm.sh/helm/v3 to v3.9.1 by @renovate in #620
  • Update kubernetes packages to v0.24.3 by @renovate in #622
  • Update module github.com/derailed/k9s to v0.26.0 by @renovate in #629
  • Update module github.com/pterm/pterm to v0.12.42 by @renovate in #548
  • Update module github.com/spf13/cobra to v1.5.0 by @renovate in #549
  • Update goreleaser build path by @jeff-mccoy in #567
  • Update module github.com/derailed/k9s to v0.25.19 by @renovate in #568
  • Update module github.com/AlecAivazis/survey/v2 to v2.3.5 by @renovate in #524
  • Upda...
Read more

v0.19.6

28 Jun 03:20
v0.19.6
14309a5
Compare
Choose a tag to compare

Features

  • Add support for package deploy via cosign sget by @YrrepNoj in #550
    Screen Shot 2022-06-27 at 10 46 06 PM

Known Issues

  • The mutating webhook agent was updated to support UPDATE operations as well as CREATE, but there is a bug in it that you'll see as error message operation UPDATE is not registered or Unable to bind the webhook handler. If this issue is affecting you, you can use this patch:
    zarf package deploy sget://defenseunicorns/zarf-package-agent-hotfix:amd64
    kubectl -n flux-system rollout restart deployment/source-controller
    See #610 (comment) for complete details.

Fixes

Changes

  • Update module github.com/pterm/pterm to v0.12.42 by @renovate in #548
  • Update module github.com/spf13/cobra to v1.5.0 by @renovate in #549
  • Update goreleaser build path by @jeff-mccoy in #567
  • Update module github.com/derailed/k9s to v0.25.19 by @renovate in #568

Full Changelog: v0.19.5...v0.19.6