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

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

Open
perlinger opened this issue Apr 21, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@perlinger
Copy link

perlinger commented Apr 21, 2022

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:

@perlinger perlinger added the bug Something isn't working label Apr 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant