Flagsmith / Flagsmith/flagsmith-charts

Add resources to migrate-db container

Open
#275 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

When using ArgoCD for deploying Flagsmith, it thinks the cluster is not synced with the chart because it finds a diff, as the migrate-db container doesn't include a `resources: {}`.

I understand for a migration job which is short lived adding resources may not be relevant enough, but this helps avoiding sync issues with GitOps tools, and may also avoid issues with clusters that require all workloads to have resources defined.

This affects t he `deployment-api.yaml` (specifically the `migrate-db` init container) and the `jobs-migrate-db.yaml`.

![image](https://github.com/user-attachments/assets/3e13e4f6-5cdb-42a8-855f-14983c93982c)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open deployment-api.yaml and jobs-migrate-db.yaml, focusing on the migrate-db init container and migration job. Review how resources are represented in the surrounding chart templates, then confirm the completed change defines resources: {} for migrate-db in both files and removes the reported GitOps diff.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.