Skip to content

bug: installation scripts copies the extension to wrong folder #6

@odubajDT

Description

@odubajDT

Description

The installation script in the install_extension() function copies the extension JS code to /tmp/extensions/resources directory.

This, according to the docs is wrong. The folder should be /tmp/extensions, since this is the folder, which argocd-server Deployment is searching for extensions.

Additionally, the installation script should check that the extension has the expected format of the JS script, as it says in the docs:

Extensions should be delivered as a javascript file in the argocd-server Pods that are placed in the /tmp/extensions directory and starts with extension prefix ( matches to ^extension(.*)\.js$ regex )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions