KusionStack / KusionStack/karpor

generate-cert job执行失败

Open
#845 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.7k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

### What happened?

Image
报错如上, 但是翻了一下代码,generate-cert这个工具没有,发现调用这个decode的地方。

### What did you expect to happen?

generate-cert 这个job 能够正常运行,后续的server pod依赖生成的secret

### How can we reproduce it (as minimally and precisely as possible)?

kubectl cluster-info非127.0.0.1 回环地址。 不知道是不是跟这个有关系, 是内部修改dns的k8s集群

### Anything else we need to know?

_No response_

### Karpor version

```console
$ karpor -V
# paste output here
```

Image

### OS version

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

### Install tools

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the generate-cert job and the code path that invokes decode, as mentioned in the report. Reproduce the failure in a Kubernetes cluster where kubectl cluster-info is not 127.0.0.1 and DNS is modified internally. Done means the job runs successfully, creates the required secret, and allows the server pod to start.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.