Skip to content

ArgoCD: Add Path Override Annotation#1864

Merged
rain-on merged 3 commits intomainfrom
tmm/path_annotation
Apr 6, 2026
Merged

ArgoCD: Add Path Override Annotation#1864
rain-on merged 3 commits intomainfrom
tmm/path_annotation

Conversation

@rain-on
Copy link
Copy Markdown
Contributor

@rain-on rain-on commented Apr 2, 2026

Currently the Template Manifests writes the whole template-directory structure directly into the path of the scoped source.

This is not always useful, and there are various use-cases where the output directory to which the populated-templates is not necessarily the source's source path (eg when a helm-chart uses a ref source, we always start from the repository's root dir).

This change introduces a new annotation "argo.octopus.com/path." which overrides a source's path for the purposes of the Template Manifest step. It does not impact any other operation.

The path is to be specified with regard the root of the repository.

Fixes MD-1688

@rain-on rain-on requested review from flin-8 and zentron April 2, 2026 03:37
Copy link
Copy Markdown
Contributor

@flin-8 flin-8 left a comment

Choose a reason for hiding this comment

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

LGTM

@rain-on rain-on merged commit ce9067f into main Apr 6, 2026
33 checks passed
@rain-on rain-on deleted the tmm/path_annotation branch April 6, 2026 22:44
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.

2 participants