Skip to content

gcp: CloudRunServiceComposite never sets projectRef #4182

Closed

Description

@lex00

CloudRunServiceComposite builds a RunService that fails its own lexicon's check:

error: [web] Resource "web" (RunService): missing required field "projectRef" (gcp)
  • composites/cloud-run-service.ts:94-109 never sets projectRef and makes location optional (:17), though the CRD requires both. The as Record<string, unknown> cast at :109 hides the type error.
  • The doc example at :50-52 imports CloudRunService, which doesn't exist.

Workaround used: set projectRef through the composite's defaults. Found by INTENTIUS/behold#823's prototype (a workspace on chant 0.124.32: dns, aws, azure and gcp members, Route 53 latency records in front of Fargate, Container Apps and Cloud Run).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions