Skip to content

Allow access to ArtifactGenerator when source-watcher is enabled #5626

Description

@aveyrenc

Describe the bug

When enabling the source-watcher extra component, generated manifests for the flux-edit and flux-view ClusterRoles do not include the source.extensions.fluxcd.io group.

As a result, users or service accounts bound to view or edit ClusterRoles do not have access to the ArtifactGenerator custom resource when source-watcher is enabled.

Steps to reproduce

flux install --components-extra source-watcher --export

Expected behavior

The view and edit ClusterRoles should allow access to ArtifactGenerator in the source.extensions.fluxcd.io group.

Screenshots and recordings

No response

OS / Distro

macOS 26

Flux version

v2.7.3

Flux check

N/A

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions