けんたろう

Results 4 comments of けんたろう

I leave this information here because I encountered the same error. If the `docker-compose.yml` file is located inside a directory in the repository, then the number of directories in the...

現状だとコメントが少なくてドキュメントが見にくいかもですね、見通しはよくなったかな

[ci/ct-install branch](https://github.com/traPtitech/NeoShowcase/tree/ci/ct-install)で検証したところ、MariaDBだけbitnamiのhelmでインストールしたらいい感じのところまで行きました。しかし、 - helmチャートが作るServiceは`{{ $.Release.Name }}-controller` ([該当部分](https://github.com/traPtitech/NeoShowcase/blob/611347f8f13c93b04898419e37801f4c957fd6a8/charts/neoshowcase/templates/controller/service.yaml#L4)) - controllerが[cmd/providers.go#L101](https://github.com/traPtitech/NeoShowcase/blob/611347f8f13c93b04898419e37801f4c957fd6a8/cmd/providers.go#L101)で探すのは[デフォルト値](https://github.com/traPtitech/NeoShowcase/blob/611347f8f13c93b04898419e37801f4c957fd6a8/cmd/config.go#L201)では`ns-controller`Serviceであるため、Release名が`ns`以外の場合はServiceNameを上書きしないといけない - しかし、現状のhelmチャートの[config.yaml上のns.yaml](https://github.com/traPtitech/NeoShowcase/blob/611347f8f13c93b04898419e37801f4c957fd6a8/charts/neoshowcase/templates/config.yaml)には該当の項目が無いため`values.yaml`で上書きできない - chart-testingにリリース名を指定する機能があればいいが、[該当のIssue](https://github.com/helm/chart-testing/issues/734)は時間経過でclosed as not planedしている という問題に当たり、Controllerの起動が上手くいきませんでした...

`ns.yaml`に`components.controller.k8s.serviceName: {{ $.Release.Name }}-controller` を追記すれば治ることに気づいたのでやります