carvel-dev / carvel-dev/kapp

diff stringData with data

Open
#174 5 comments 0 reactions 0 assignees View on GitHub
carvel accepted enhancement
Dominant language
Go
Stars
1.1k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**

Secrets created with `stringData` is treated as delete and add.

```
0, 0 apiVersion: v1
1 - data:
2 - oidc.config.clientSecret: <-- value not shown (#1)
1 + data: {}
4, 2 kind: Secret
5, 3 metadata:
...
17, 15 uid: 3e4606fc-32d9-11eb-88c8-ac1f6b59972e
18 - type: Opaque
16 + stringData:
17 + oidc.config.clientSecret: <-- value not shown (#3)
```

**Describe the solution you'd like**

Compare the content of `data` and `stringData` to show the real difference

**Anything else you would like to add:**

N/A

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.