apiVersion: "helm-expt.confighub.com/v1alpha1"
kind: "VariantPromotionReceipt"
metadata:
  name: "opencost-default-variant-promotion-20260527"
spec:
  observedAt: "2026-05-27"
  context:
    organization: "Kubara"
    server: "https://hub.confighub.com"
    cubClientVersion: "Version:    dev"
    cubServerVersion: "v0.1.80"
  subject:
    chart: "opencost/opencost"
    chartVersion: "2.5.21"
    packagePath: "packages/opencost/opencost/2.5.21"
    variant: "default"
    upstreamSpace: "helm-opencost-default-confighub-proof"
    downstreamSpace: "Opencost-default-staging"
  commands:
    upstreamUpdate: "cub unit update deployment-default-opencost runs/opencost-default-confighub-proof/latest/logs/27-promotion-upstream-patched.yaml --space helm-opencost-default-confighub-proof --change-desc ..."
    upstreamAddUnit: "cub unit create promotion-marker-opencost-default runs/opencost-default-confighub-proof/latest/logs/29-promotion-marker-configmap.yaml --space helm-opencost-default-confighub-proof --allow-exists"
    dryRun: "cub variant promote Opencost-default-staging --dry-run -o mutations"
    changeset: "cub changeset create opencost-default-variant-promote-20260527 --space Opencost-default-staging --description ... --allow-exists"
    promote: "cub variant promote Opencost-default-staging --changeset Opencost-default-staging/opencost-default-variant-promote-20260527 --change-desc ..."
    fallbackPromote: "cub variant promote Opencost-default-staging --change-desc ..."
  upstreamChange:
    changedUnit: "deployment-default-opencost"
    beforeHeadRevisionNum: 2
    afterHeadRevisionNum: 3
    annotation: "helm-expt.confighub.com/promotion-proof=opencost-default-promotion-20260527"
    updateResult: "pass"
  upstreamAddition:
    markerUnit: "promotion-marker-opencost-default"
    upstreamUnitID: "d0a52969-4f8e-4627-b266-0f28b70907b1"
    result: "pass"
    proofOnly: true
  preview:
    result: "pass"
    output: "  + promotion-marker-opencost-default"
  changeset:
    slug: "opencost-default-variant-promote-20260527"
    result: "pass"
    output: "Successfully created changeset opencost-default-variant-promote-20260527 (a05eeb8c-9cc9-4dcd-b610-58034d24dba6)"
  promote:
    result: "pass"
    output: "Upgrading units behind their upstream...\nAwaiting triggers...\nSuccessfully upgraded unit: deployment-default-opencost\nBulk upgrade operation completed:\n  Success: 1 unit(s)\nAdding 1 unit(s) from upstream\nAwaiting triggers...\nSuccessfully created unit: promotion-marker-opencost-default\nBulk create operation completed:\n  Success: 1 unit(s)"
  fallbackPromote:
    used: false
    result: "not-used"
    output: ""
  assertions:
    changedUnitCaughtUp: "pass"
    upstreamHeadRevisionNum: 3
    downstreamUpstreamRevisionNumBefore: 2
    downstreamUpstreamRevisionNumAfter: 3
    addedUnitCloned: "pass"
    addedUnitSlug: "promotion-marker-opencost-default"
    addedUnitDownstreamUpstreamUnitID: "d0a52969-4f8e-4627-b266-0f28b70907b1"
    deletionHandling: "not-tested"
    fieldOwnership: "not-tested"
  result: "pass"
  reason: "server-side promotion passed through a changeset"
  limitations:
    - "This receipt proves ConfigHub server-side promotion mechanics for changed Units and newly added Units."
    - "It does not prove deletion handling, field ownership conflict handling, target apply, GitOps sync, or Kubernetes workload convergence."
    - "The added ConfigMap is proof-only and is not part of the Helm chart's rendered object set."
