Skip to content

Instantly share code, notes, and snippets.

@warroyo
Created January 10, 2025 17:36
Show Gist options
  • Select an option

  • Save warroyo/fe05658d0690403292772bef8f218034 to your computer and use it in GitHub Desktop.

Select an option

Save warroyo/fe05658d0690403292772bef8f218034 to your computer and use it in GitHub Desktop.
Temp workaround for dockefile build issue
---
apiVersion: data.packaging.carvel.dev/v1alpha1
kind: Package
metadata:
annotations:
capability.tanzu.vmware.com/provides: |
[{ "name": "build.tanzu.vmware.com",
"displayName": "Tanzu Build Controller",
"description": "Tanzu Build Controller provides builds on-cluster for Tanzu Build.",
"vendor": "VMware Tanzu",
"tags": ["Application Management", "Build", "Tanzu Build"],
"groupVersionKinds": [
{ "apiVersion": "build.tanzu.vmware.com/v1", "kind": "BuildRun" }
]
}]
name: controller.build.tanzu.vmware.com.0.4.2
namespace: tanzu-cluster-group-system
spec:
refName: controller.build.tanzu.vmware.com
releasedAt: "2025-01-09T21:35:58Z"
template:
spec:
deploy:
- kapp: {}
fetch:
- imgpkgBundle:
image: ghcr.io/warroyo/controller-bundle@sha256:02dacf18ef6cf246b3517a8bb456b64875e5ff18088a500599dd60692ec9b28a
template:
- ytt:
inline:
paths:
postbuild.yml: |
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.subset({"kind":"ConfigMap", "metadata":{"name":"build-postbuild-image"}}),expects=1
#@overlay/match-child-defaults missing_ok=True
---
data:
#@overlay/replace
image: tanzu.packages.broadcom.com/tap-saas/tanzu-capabilities-traits@sha256:0627385ef9a1c93a9c44cfc32a8f2f7618bce4fef9c15e3f17d853607d4879f4
paths:
- dist
- kbld:
paths:
- '-'
- .imgpkg/images.yml
valuesSchema:
openAPIv3:
default: null
nullable: true
version: 0.4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment