carvel-dev / carvel-dev/kapp-controller

Ability to insert secretgen-generated passwords into a helmTemplate step in a PackageInstall

Open
#515 4 comments 1 reaction 0 assignees View on GitHub
carvel-accepted enhancement
Dominant language
Go
Stars
323
Forks
127
Avg merge
2d 16h
Merged PRs (30d)
4

Description

**Describe the problem/challenge you have**
_Reporting on the behalf of @voor._
I want the ability to pass values to ytt and helm for Packages. This works for App CRs but not PackageInstall.

**Describe the solution you'd like**
I want to insert SecretGen generated passwords into a helmTemplate step in a PackageInstall. I see how I could do that with:
```
- helmTemplate:
...
valuesFrom:
- secretRef:
name: secret-name
```
Just basically put that into `spec.template.spec` for the Package, except I don't know what the secret-name would be ahead of time, and I need to support multiple installs of the package into the same namespace.

**Anything else you would like to add:**
Please take a look at the [initial conversation](https://vmware.slack.com/archives/CUK1X0Z8Q/p1642798354086500) or reach out to @voor directly. This may require work in secretgen-controller.

---
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.