pipe-cd / pipe-cd/pipecd

Support for PipeCD to delete a resource in CloudRunApp

Open
#5,007 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

not-auto-close
Dominant language
Go
Stars
1.4k
Forks
364
Avg merge
1d 4h
Merged PRs (30d)
84

Description

What would you like to be added:

I want to delete a resource, like the following, in CloudRunApp.

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: SERVICE_NAME
spec:
...

In a Kubernetes application, in order to remove a resource, we need to put QuickSync.prune or PipelineSync.prune in the PipeCD application manifest.
It would be nice to have the same configuration for CloudRunApp.

Why is this needed:

Without this feature, developers need to delete Cloud Run on Google Cloud Console manually.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CloudRunApp handling and comparing it with Kubernetes support for QuickSync.prune and PipelineSync.prune. Determine how the CloudRunApp manifest should express pruning, then add coverage showing that a removed Cloud Run resource is deleted during synchronization.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, google-cloud, kubernetes
Domain
cloud, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.