carvel-dev / carvel-dev/kapp

kapp tries to list resources from deprecated api versions

Open
#864 5 comments 3 reactions 1 assignee Claimed by @rcmadhankumar View on GitHub
bug carvel accepted priority/important-soon
Dominant language
Go
Stars
1.1k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

**What steps did you take:**
I tried deploying an app that consists of a horizontal pod autoscaler (api version v2) on a Kubernetes cluster v1.25.

**What happened:**
kapp tries to make a list call to `/apis/autoscaling/v2beta2/horizontalpodautoscalers` which is deprecated and there's no resource in my app with this apiVersion.

**What did you expect:**
I expected kapp to only list the api versions that are part of my app.

**Anything else you would like to add:**
Currently we scope list calls to unique GKs, so we try to make a list call for all versions. We need to be smart enough to exclude such deprecated apis.

**Environment:**

- kapp version (use `kapp --version`):
- OS (e.g. from `/etc/os-release`):
- Kubernetes version (use `kubectl version`)

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.