Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate process-fork related command-line flags #90

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Nov 29, 2023

Description of your changes

We are deprecating the following process-forking related command-line arguments:

  • terraform-version
  • terraform-provider-version
  • terraform-native-provider-path
  • terraform-provider-source
  • provider-ttl

What the user will see in the provider logs if she uses any of these flags is something like the following:

warning: Command-line flag "terraform-version" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "terraform-provider-source" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "terraform-provider-version" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).
warning: Command-line flag "provider-ttl" is deprecated and no longer used. It will be removed in a future release. Please remove it from all of your configurations (ControllerConfigs, etc.).

These logs will be available even if the the debug logging is not enabled for the provider.

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Tested manually via index.docker.io/ulucinar/provider-azuread:v0.14.0-c5866ef3f94acdd1d8cba067906191017eff701b and via uptest in https://github.com/upbound/provider-azuread/actions/runs/7035191432.

@ulucinar
Copy link
Collaborator Author

/test-examples="examples/applications/application.yaml"

- terraform-version
- terraform-provider-version
- terraform-native-provider-path
- terraform-provider-source
- provider-ttl

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
@ulucinar
Copy link
Collaborator Author

/test-examples="examples/applications/application.yaml"

@ulucinar
Copy link
Collaborator Author

We also need to communicate this in our release notes. cc. @turkenf

Copy link
Collaborator

@turkenf turkenf left a comment

Choose a reason for hiding this comment

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

Thank you @ulucinar, LGTM.

@ulucinar ulucinar merged commit 8c73877 into crossplane-contrib:main Nov 30, 2023
10 checks passed
@ulucinar ulucinar deleted the deprecate-process-args branch November 30, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants