Skip to content

feat: add hub-manager chart#1784

Open
bpsoraggi wants to merge 69 commits into
traefik:masterfrom
bpsoraggi:feat/hub-manager-chart
Open

feat: add hub-manager chart#1784
bpsoraggi wants to merge 69 commits into
traefik:masterfrom
bpsoraggi:feat/hub-manager-chart

Conversation

@bpsoraggi
Copy link
Copy Markdown
Contributor

What does this PR do?

Adds new hub-manager chart

Motivation

To include the new chart in the repository

More

  • Yes, I updated the tests accordingly
  • Yes, I updated the schema accordingly
  • Yes, I ran make test and all the tests passed

Comment thread hub-manager/templates/_helpers.tpl Outdated
Comment thread hub-manager/templates/_helpers.tpl Outdated
@bpsoraggi bpsoraggi requested a review from darkweaver87 April 7, 2026 10:59
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/templates/rbac/serviceaccount.yaml Outdated
Comment thread hub-manager/templates/rbac/clusterrole.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/templates/NOTES.txt Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/Chart.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
Comment thread hub-manager/values.yaml Outdated
@bpsoraggi bpsoraggi force-pushed the feat/hub-manager-chart branch from 665e140 to 35587d5 Compare April 9, 2026 10:19
@bpsoraggi bpsoraggi requested a review from mloiseleur April 9, 2026 10:44
Comment thread hub-manager/templates/rbac/role.yaml Outdated
Comment thread hub-manager/templates/_helpers.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/rbac/serviceaccount.yaml Outdated
Comment thread hub-manager/templates/_helpers.tpl Outdated
Comment thread hub-manager/values.yaml Outdated
@youkoulayley

This comment was marked as resolved.

@bpsoraggi bpsoraggi requested a review from youkoulayley April 10, 2026 10:02
Comment thread hub-manager/templates/deployment.yaml
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/templates/_podtemplate.tpl Outdated
Comment thread hub-manager/tests/deployment-config_test.yaml Outdated
Comment thread hub-manager/tests/notes_test.yaml Outdated
Comment thread hub-manager/Chart.yaml Outdated
Comment thread hub-manager/templates/migration-job.yaml
Comment thread hub-manager/templates/deployment.yaml Outdated
Comment thread hub-manager/templates/migration-job.yaml Outdated
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "hub-manager.fullname" . }}-migration
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This job is not tested. Also for a migration job it might require a backoffLimit, probably to 0. Also we may add the same scheduling options as for the deployment so that people can schedule this job wherever they want.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the scheduling, this job is actually a chart hook. The available hooks are documented here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know what is a chart hook but I speak about kubelet scheduling like affinity/anti-affinity, tolerations, etc. It still remains a pod we have a execute somewhere at some point :-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

affinity is honored by the Deployment but not by this Job, so a user setting .Values.affinity would see the migration Pod land somewhere different from the workload.

@bpsoraggi bpsoraggi force-pushed the feat/hub-manager-chart branch from ca443c9 to bbf2d8e Compare May 7, 2026 11:34
Comment thread .github/workflows/release.yaml Outdated
Comment thread .github/workflows/release.yaml
Copy link
Copy Markdown
Contributor

@darkweaver87 darkweaver87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once @mloiseleur changes will be applied.

Comment thread .github/workflows/release.yaml Outdated
@mloiseleur
Copy link
Copy Markdown
Member

@bpsoraggi After rebase, it will require for changelog something similar of what we have done for CRD chart:

  1. An update in CONTRIBUTING.md (https://github.com/traefik/traefik-helm-chart/pull/1722/changes#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055)
  2. An update in release & test-changelog workflows to include hub-manager scope as the key to include it in hub-manager Changelog.

@bpsoraggi bpsoraggi requested a review from mloiseleur May 13, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants