Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Fix controller environment #178

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

turkenh
Copy link
Collaborator

@turkenh turkenh commented Mar 27, 2022

Description of your changes

Currently installations from master branch fails with the following logs:

crossplane-provider: error: required flag --terraform-version not provided, try --help

This PR fixes this issue by passing the required environment to the controller at runtime. It also set DOCKER_REGISTRY only if not set to be able to test locally built image.

As reported by a community member on slack.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Installed the controller using a provider image from this PR.

Signed-off-by: Hasan Turken <turkenh@gmail.com>
@turkenh turkenh changed the title Fix controller environment and set DOCKER_REGISTRY only if not set Fix controller environment Mar 27, 2022
Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@turkenh turkenh merged commit 2f6b907 into crossplane-contrib:main Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants