Skip to content

refactor(api): migrate DependencyReference to shared apis/meta type#1656

Open
vecil wants to merge 1 commit into
fluxcd:mainfrom
vecil:refactor/import-dependencyreference-type-from-meta
Open

refactor(api): migrate DependencyReference to shared apis/meta type#1656
vecil wants to merge 1 commit into
fluxcd:mainfrom
vecil:refactor/import-dependencyreference-type-from-meta

Conversation

@vecil
Copy link
Copy Markdown

@vecil vecil commented May 22, 2026

Summary

This PR replaces the local DependencyReference type with the shared meta.DependencyReference from apis/meta, removing the duplicated definition across Applier APIs.

Changes

  • Replaced api/v1/reference_types.go DependencyReference struct with type DependencyReference = meta.DependencyReference

Motivation

DependencyReference was duplicated across KC and HC APIs. Centralizing it in apis/meta removes duplication and enables consistent dependency handling, including CEL-based readiness expressions.

Notes

@vecil vecil marked this pull request as draft May 22, 2026 05:54
@matheuscscp
Copy link
Copy Markdown
Member

@vecil apis/meta/v1.28.0 is tagged

@vecil vecil force-pushed the refactor/import-dependencyreference-type-from-meta branch from b69c9b5 to 0892f4f Compare May 26, 2026 05:26
@vecil vecil marked this pull request as ready for review May 26, 2026 05:27
Signed-off-by: Vincent Dely <vincent.dely@ik.me>
@vecil vecil force-pushed the refactor/import-dependencyreference-type-from-meta branch from 0892f4f to a3d27c9 Compare May 26, 2026 06:03
@Iam-Karan-Suresh
Copy link
Copy Markdown

Iam-Karan-Suresh commented May 26, 2026

Hi @vecil , please sign-off and force push again. DCO is fails

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.

3 participants