Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

bug in file cluster/images/provider-jet-github-controller/Dockerfile #26

@perlinger

Description

@perlinger

What happened?


When using the latest provider-jet-github-controller/Dockerfile in branch main to build the controller image, I get an error when deploying any provider resource kind, example:


apiVersion: branch.github.jet.crossplane.io/v1alpha1
kind: Branch
metadata:
labels:
app.kubernetes.io/instance: github-managed-repos-poc
name: hello-terrajet
spec:
forProvider:
branch: hello-terrajet
repositoryRef:
name: repository-hello-crossplane-pre-existing-repo
providerConfigRef:
name: github-provider


The error is:
CannotConnectToProvider
cannot get a terraform workspace for resource: cannot create directory for workspace: mkdir /tmp: permission denied


If I roll back the changes in provider-jet-github-controller/Dockerfile to initial commit then everything works.

Note the work around in issue #25 was required to get make build and make publish to work

How can we reproduce it?

Use provider-jet-github-controller/Dockerfile in branch main to build the controller image then deploy a provider resource

What environment did it happen in?

Crossplane version:
Provider version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions