Skip to content

ArgoCDExport with existing PVC is not using the correct name field #344

Open
@momoadc

Description

@momoadc

Describe the bug
I tried to connect ArgoCDExport to an existing PVC which is allocated using CSI driver (using the dataSource fields). When going through the source code of the operator I found out that the claim name to be used is the ArgoCDExport name and not the name field under dataSource

To Reproduce
Steps to reproduce the behavior:

  1. Create a PVC.
  2. Create a ArgoCDExport with the corresponding name and kind under dataSource and set the backend field to local
  3. The created CronJob template is mounting EmptyDir instead of the existing PVC.

Expected behavior
being able to create existing PVC and ArgoCDExport with different names while specifing the correct PVC name.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions