Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options include and exclude not available for Directory type applications when using ApplicationSet #18266

Closed
otherguy opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@otherguy
Copy link

When using ApplicationSet, the include or exclude options for directory type applications are not available.

Sample manifest:

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: my-app
  namespace: argocd
spec:
  generators:
    - clusters:
        selector:
          matchLabels:
            phase: demo
  template:
    metadata:
      name: my-app
    spec:
      project: demo
      source:
        repoURL: https://github.com/demo/demo
        path: foo/bar
        include: file.yaml
        targetRevision: HEAD

Error:

ApplicationSet in version "v1alpha1" cannot be handled as a ApplicationSet: strict decoding error: unknown field "spec.template.spec.source.include"
@otherguy otherguy added the bug Something isn't working label May 17, 2024
@otherguy
Copy link
Author

That's my mistake and not a bug.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant