apiVersion: "helm-expt.confighub.com/v1alpha1"
kind: "VariantPromotionReceipt"
metadata:
  name: "nginx-existing-tls-ingress-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: "bitnami/nginx"
    chartVersion: "24.0.2"
    packagePath: "packages/bitnami/nginx/24.0.2"
    variant: "existing-tls-ingress"
    upstreamSpace: "helm-nginx-existing-tls-ingress-confighub-proof"
    downstreamSpace: "NGINX-existing-tls-ingress-staging"
  commands:
    upstreamUpdate: "cub unit update deployment-nginx-nginx runs/nginx-existing-tls-ingress-confighub-proof/latest/logs/27-promotion-upstream-patched.yaml --space helm-nginx-existing-tls-ingress-confighub-proof --change-desc ..."
    upstreamAddUnit: "cub unit create promotion-marker-nginx-existing-tls-ingress runs/nginx-existing-tls-ingress-confighub-proof/latest/logs/29-promotion-marker-configmap.yaml --space helm-nginx-existing-tls-ingress-confighub-proof --allow-exists"
    dryRun: "cub variant promote NGINX-existing-tls-ingress-staging --dry-run -o mutations"
    changeset: "cub changeset create nginx-existing-tls-ingress-variant-promote-20260527 --space NGINX-existing-tls-ingress-staging --description ... --allow-exists"
    promote: "cub variant promote NGINX-existing-tls-ingress-staging --changeset NGINX-existing-tls-ingress-staging/nginx-existing-tls-ingress-variant-promote-20260527 --change-desc ..."
    fallbackPromote: "cub variant promote NGINX-existing-tls-ingress-staging --change-desc ..."
  upstreamChange:
    changedUnit: "deployment-nginx-nginx"
    beforeHeadRevisionNum: 2
    afterHeadRevisionNum: 3
    annotation: "helm-expt.confighub.com/promotion-proof=nginx-existing-tls-ingress-promotion-20260527"
    updateResult: "pass"
  upstreamAddition:
    markerUnit: "promotion-marker-nginx-existing-tls-ingress"
    upstreamUnitID: "ad1d02d9-b102-465f-9be2-e4825fb69962"
    result: "pass"
    proofOnly: true
  preview:
    result: "pass"
    output: "  + promotion-marker-nginx-existing-tls-ingress"
  changeset:
    slug: "nginx-existing-tls-ingress-variant-promote-20260527"
    result: "pass"
    output: "Successfully created changeset nginx-existing-tls-ingress-variant-promote-20260527 (c1834b85-58ab-485a-b576-4d7dd52b3d39)"
  promote:
    result: "pass"
    output: "Upgrading units behind their upstream...\nAwaiting triggers...\nSuccessfully upgraded unit: deployment-nginx-nginx\nBulk upgrade operation completed:\n  Success: 1 unit(s)\nAdding 1 unit(s) from upstream\nAwaiting triggers...\nSuccessfully created unit: promotion-marker-nginx-existing-tls-ingress\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-nginx-existing-tls-ingress"
    addedUnitDownstreamUpstreamUnitID: "ad1d02d9-b102-465f-9be2-e4825fb69962"
    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."
