kcp-dev / helm-charts

Helm chart repo for KCP
Apache License 2.0
5 stars 22 forks source link

Cleanup PKI usage, make path mapping configurable #56

Closed xrstf closed 1 year ago

xrstf commented 1 year ago

This PR cleans up the PKI and fixes some bugs. I was trying to set up a local test environment and for that I replicated the PKI using certin (or any other CLI to generate certs), but found that using my PKI, my virtual workspace could not communicate with the kcp shard. After some further digging (because this worked perfectly fine using the Helm chart), I found that the chart makes some weird decisions on how it uses the clean PKI it created. Meaning that the PKI structure makes total sense, but the CLI flags had some weirdness to them that I consider bugs.

With this PR applied, the intended structure of the PKI is like so:

2023-09-08T19-29-31

(Apologies, this is a Google slide and not something easily maintainable.)

mjudeikis commented 1 year ago

/approve /lgtm

Can you trow this picture into hacks dir Readme file? Would like to preserve this for future me :D

kcp-ci-bot commented 1 year ago

LGTM label has been added.

Git tree hash: 04d1cb25f8b7999e1d69d611ff7707bf6f25f619

mjudeikis commented 1 year ago

/lgtm /approve

kcp-ci-bot commented 1 year ago

LGTM label has been added.

Git tree hash: ab84a312aae347b70b9e6229ffaf634ec49cbbd9

kcp-ci-bot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mjudeikis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kcp-dev/helm-charts/blob/main/OWNERS)~~ [mjudeikis] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment