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

Fix controller environment#178

Merged
turkenh merged 1 commit intocrossplane-contrib:mainfrom
turkenh:fix-controller-env
Mar 28, 2022
Merged

Fix controller environment#178
turkenh merged 1 commit intocrossplane-contrib:mainfrom
turkenh:fix-controller-env

Conversation

@turkenh
Copy link
Copy Markdown
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.

@turkenh turkenh changed the title Fix controller environment and set DOCKER_REGISTRY only if not set Fix controller environment Mar 27, 2022
Copy link
Copy Markdown
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.

2 participants