Adding UDS Configuration to a Zarf Package
To consider podinfo as a fully integrated UDS Package, the Package Custom Resource for the UDS Operator must be included as part of the Zarf Package for podinfo. In this section, we will cover adding the podinfo-package.yaml to the sample UDS Bundle that we created in the first tutorial.
Prerequisites
Section titled “Prerequisites”This guide assumes that you created the UDS Package Custom Resource in the previous tutorial.
Adding Package Manifest to Podinfo
Section titled “Adding Package Manifest to Podinfo”Within the zarf.yaml file that exists in the package directory, modify the podinfo component to reference the manifest created in the previous tutorial:
kind: ZarfPackageConfigmetadata:  name: podinfo  version: 0.0.1
components:  - name: podinfo    required: true    charts:      - name: podinfo        version: 6.4.0        namespace: podinfo        url: https://github.com/stefanprodan/podinfo.git        gitPath: charts/podinfo    # Add this new manifests section with our Package CR    manifests:      - name: podinfo-uds-config        namespace: podinfo        files:          - podinfo-package.yaml    images:      - ghcr.io/stefanprodan/podinfo:6.4.0    actions:      onDeploy:        after:          - wait:              cluster:                kind: deployment                name: podinfo                namespace: podinfo                condition: availableRe-run zarf package create --confirm and uds create --confirm commands to generate new artifacts that now include the Package Custom Resource for podinfo. From there, the bundle can be re-deployed (uds deploy uds-bundle-podinfo-bundle-*-0.0.1.tar.zst --confirm) and podinfo will be automatically integrated with UDS Core.
Next Steps
Section titled “Next Steps”(Optional) This tutorial deployed podinfo in Istio Sidecar mode - the default deployment method for applications in UDS Core. UDS Core releases v0.40.0 and later added support for Istio Ambient Mesh. To walkthrough migrating the podinfo application to Istio Ambient Mesh using the UDS Operator, continue to the next tutorial.