feature: Manage created namespace's metadata

Open
#186 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
devops

Research direction

Start by tracing the resource-sync path that creates namespaces and identify where namespace metadata could be supplied. Compare the requested behavior with Argo's managedNamespaceMetadata documentation and determine whether configuration belongs in controller options or the PublishedResource. Done means users can control labels and annotations on newly created namespaces, with coverage for the selected configuration path.

Written by the indexing model from the issue text.

Description

kind/feature
Feature Description

When syncing a resource to a variable namespace, syncagent ensures that the namespace gets created on the cluster. However there is no way to control e.g. labels/annotations that should be present on the new namespace.

Proposed Solution

Add a mechanism similar to Argo's managedNamespaceMetadata so users can control namespace metadata.

Alternative Solutions

The metadata could be set globally as a controller option for all created namespaces or dynamically in the publishedresource so the medata could differ between synced resources.

Want to contribute?
  • I would like to work on this issue.
Additional Context

No response

Dominant language
Go
Stars
25
Forks
30
Avg merge
3d 9h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kcp-dev/api-syncagent

All issues in kcp-dev/api-syncagent

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.