kyma-project / kyma-environment-broker

Kyma Environment Broker
Apache License 2.0
0 stars 19 forks source link

KEB: Add new/adjust GitAction job that tests if we can install chart by helm #831

Open PK85 opened 1 month ago

PK85 commented 1 month ago

Reason

Already happen twice that KEB release was green, and then in the environment some pods were failing because of missing configuration.

AC

Ideas

jaroslaw-pieszka commented 3 weeks ago

Ad 1. If we want to use helm install instead of helm template . | kubectl apply -f - we need to create all resources (e.g. secrets not included in KEB charts with proper annotations) needed to deploy KEB successfully. It's doable but we create environment more and more different than DEV landscape. Then we need to provide postgres to let the KEB create DB connection (unless we approach differently with some parameter letting KEB know, that no connection is supposed to be created, we just check configuration completeness).

Ad 2. We concluded with Maper that we can create additional subdirectory of resources (next to keb and cn) containing values.yaml with minimal set of settings to override our regular keb/values.yaml. Then we can use helm install keb ../keb --namespace kcp-system -f values.yaml from this directory to create kind of minimal KEB deployment.

MarekMichali commented 2 weeks ago

We decided to switch to image-builder This will allow us to create images on demand without being tied to tag creation. This will allow us to create a cleaner testing workflow with the helm install.

PK85 commented 1 week ago

blocked waiting for Marek back from vacation