Flagsmith / Flagsmith/flagsmith-charts

Expose extraTemplateSpec for deployment-api.yaml

Open
#446 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
44
Forks
47
Avg merge
3d 18h
Merged PRs (30d)
1

Description

We've run into an issue with self-hosted Flagsmith where its pods are occasionally cycled due to other pods hogging resources. To resolve this we need to set a `priorityClassName` on the Flagsmith pods. This can be done through `deployment-api.yaml` through `spec.template.spec`. However, there is no hook in the chart to do so.

Recommendation: Add `extraTemplateSpec` to allow adding addition fields for the template in the deployment. This would allow us to specify `priorityClassName` and be flexible enough to handle other needs. This follows the pattern of `extraSpec` elsewhere.

Workarounds: Use `kustomize` or other means to modify the charts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.