operator-framework / operator-framework/operator-sdk

Add --ignore-not-found=true to scaffolded `undeploy` make target

Open
#5,195 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue language/ansible language/go language/helm lifecycle/frozen
Dominant language
Go
Stars
7.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Feature Request

While deploying the objects in config/ with kustomize, sometimes it goes wrong (user error) and not all the objects are created. When this happens, make undeploy fails on the first object that doesn't exist. Its easy to work around, just delete them manually. However this interrupts development flow and is a bit annoying.

If we add --ignore-not-found, make undeploy will always try to delete all the objects.

/language go
/language ansible
/language helm

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

The issue does not name a file; start by locating the scaffolded make undeploy target and the kustomize deployment templates. Confirm how the target deletes objects, then add the requested ignore-not-found option so it attempts every deletion, and verify the generated target reflects that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, go, helm, kubernetes
Domain
build-system, devops, infrastructure
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.