mattermost / mattermost-helm

Mattermost Helm charts for Kubernetes
Apache License 2.0
164 stars 149 forks source link

[fix] Tests #372

Closed phoinixgrr closed 1 year ago

phoinixgrr commented 1 year ago

Summary

Since we choose to run the chart-testing/ct container, as a non privileged user, we rewrite Helm's repository-config and repository-cache directories, to a non root owned directory.

This fixes errors such as:

    Error: Error installing charts: Error adding repo: incubator=https://charts.helm.sh/incubator: Error waiting for process: exit status 1
    Error installing charts: Error adding repo: incubator=https://charts.helm.sh/incubator: Error waiting for process: exit status 1

https://github.com/mattermost/mattermost-helm/pull/370#issuecomment-1274400372

We also fix, a problem exposing kind's kubeconfig to the CT container, and an entrypoint typo argument.

Ticket Link

Ticket: https://mattermost.atlassian.net/browse/CLD-4282