$ zarf package create . --confirm


Saving log file to
/var/folders/bk/rz1xx2sd5zn134c0_j1s2n5r0000gp/T/zarf-2023-05-19-10-06-38-4201820931.log

Using build directory .

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

kind: ZarfPackageConfig
metadata:
  name: longhorn
  description: Example package for Longhorn cloud native distributed block storage for Kubernetes
  version: 1.4.2
components:
- name: longhorn-environment-check
  required: true
  actions:
    onDeploy:
      after:
      - cmd: |
          export PATH=$PATH:./
          awk '{gsub(/kubectl /, "./zarf tools kubectl ")} 1' ./environment_check.sh > tmp && mv tmp ./environment_check.sh
          awk '{gsub(/"kubectl" /, "")} 1' ./environment_check.sh > tmp && mv tmp ./environment_check.sh
          chmod +x ./environment_check.sh
          ./environment_check.sh
  files:
  - source: https://raw.githubusercontent.com/longhorn/longhorn/v1.4.2/scripts/environment_check.sh
    target: environment_check.sh
    executable: true
  - source: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
    target: jq
    executable: true
- name: longhorn
  description: Deploy Longhorn into a Kubernetes cluster.  https://longhorn.io
  required: true
  actions:
    onRemove:
      before:
      - cmd: "./zarf tools kubectl -n longhorn-system patch -p '{\"value\": \"true\"}' --type=merge lhs deleting-confirmation-flag"
  charts:
  - name: longhorn
    url: https://charts.longhorn.io
    version: 1.4.2
    namespace: longhorn-system
    valuesFiles:
    - values.yaml
  manifests:
  - name: longhorn-connect
    namespace: longhorn-system
    files:
    - connect.yaml
  images:
  - longhornio/csi-attacher:v3.4.0
  - longhornio/csi-provisioner:v2.1.2
  - longhornio/csi-resizer:v1.3.0
  - longhornio/csi-snapshotter:v5.0.1
  - longhornio/csi-node-driver-registrar:v2.5.0
  - longhornio/livenessprobe:v2.8.0
  - longhornio/backing-image-manager:v1.4.2
  - longhornio/longhorn-engine:v1.4.2
  - longhornio/longhorn-instance-manager:v1.4.2
  - longhornio/longhorn-manager:v1.4.2
  - longhornio/longhorn-share-manager:v1.4.2
  - longhornio/longhorn-ui:v1.4.2
  - longhornio/support-bundle-kit:v0.0.17
  ✔  Create Zarf package confirmed

📦 LONGHORN-ENVIRONMENT-CHECK COMPONENT
• Downloading environment_check.sh ✔ Downloaded https://raw.githubusercontent.com/longhorn/longhorn/v1.4.2/scripts/environment_check.sh • Downloading jq-linux64 ✔ Downloaded https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
📦 LONGHORN COMPONENT
• Processing helm chart longhorn:1.4.2 from repo https://charts.longhorn.io • Processing helm chart longhorn:1.4.2 from repo https://charts.longhorn.io • Loading 1 K8s manifests • Loading 1 K8s manifests
📦 COMPONENT IMAGES
• Loading metadata for 13 images. This step may take several seconds to complete. • Loading metadata for 13 images. This step may take several seconds to complete. • Pulling Zarf package data (0.00 Byte of 786.07 MBs) ✔ Pulling 13 images (786.07 MBs) • Creating SBOMs for 13 images and 1 components with files. • Creating SBOMs for 13 images and 1 components with files. $ ls -alh *.tar.zst -rw-r--r-- 1 jason staff 582M May 19 10:06 zarf-package-longhorn-arm64-1.4.0-differential-1.4.2.tar.zst -rw-r--r-- 1 jason staff 759M May 19 09:18 zarf-package-longhorn-arm64-1.4.0.tar.zst -rw-r--r-- 1 jason staff 760M May 19 10:07 zarf-package-longhorn-arm64-1.4.2.tar.zst