kube-fluentd-operator icon indicating copy to clipboard operation
kube-fluentd-operator copied to clipboard

Write github test for kind with helm install

Open Cryptophobia opened this issue 4 years ago • 0 comments

We need a better test of the helm chart and log-router. We should load the helm chart but we also need to wait until log-router and reloader start up with a very minimal config. This is just to make sure the helm values.yaml can be passed to the config-reloader without making it crash.

This will catch bugs such as this one recently: https://github.com/vmware/kube-fluentd-operator/pull/205

Rough steps:

kind create cluster helm-testing

helm install kfo ... --values ...

kubectl get pod spec, if crashing containers, output the logs and exit 1

Later add a command to specify custom fluentd-config CM and and another namespce for a full e2e test. At that point remove it into a separate github pipeline so it doesn't block CI.

Cryptophobia avatar Apr 27 '21 15:04 Cryptophobia