Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Support for backend buckets #214

@process0

Description

@process0

Is there a way to define a route to a backend bucket on GCP using the MCI yaml file? I know I can edit the Load Balancer to add the route manually using the GCP web UI. I can also manually edit the URL maps file using gcloud and a file editor, but there is no nice way to automate this.

I suggest having bucketName and bucketCdn elements for the backend section. We could check for the existence of the cloud storage bucket, and create the backend bucket if it exists or fail if it does not exist.

spec:
  backend:
    serviceName: default-http-backend
    servicePort: 8080
  rules:
  - http:
      paths:
      - path: "/api/*"
        backend:
          serviceName: "api"
          servicePort: 3000
      - path: "/static/*"
        backend:
          bucketName: "api-assets"
          bucketCdn: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions