Skip to content

[Bug] Handle permissions for output assets #45

Open
@adrianriobo

Description

Currently create operation generate two types of assets:

  • pulumi related files; files for store the state of the infrastructure resources created by crc-cloud, and to control pulumi execution. The location for these assets is specified with the parameter backerd-url. And they are required to be passed to destroy operation to let pulumi know about the resources to be destroyed.

  • instance access files; create operation will output several files to inform data required to connected to created instance: host, username, id_rsa and password. The location for these files is specified with parametr output.

The default execution mode for crc-cloud is based on a container, and typically the locations are set as mount path volumes. As depending on the tool / engine execution user for the container may change it could create issues with permissions on created files.

As an example if you run container with docker it will use user container to set permissions and then files can not be accessed from the host.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions