feat: add airflow.protectedPipPackages
#610
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What issues does your PR fix?
What does your PR do?
extraPipPackagesfrom changing the version of any pip package listed inairflow.protectedPipPackages.pip --constraintfile that we generate from the filtered output ofpip freezewhen installingextraPipPackages.airflow.protectedPipPackagesis["apache-airflow"], which will hopefully stop people from accidentally running a different airflow version than specified in theirairflow.image.tag.extraPipPackagesconfigs that are causing theirapache-airflowversion to be changed, their pods will now crash loop. To resolve this, they will need to remove whatever packages inextraPipPackageswere causing the problem.airflow.protectedPipPackagesto[], but this is NOT RECOMMENDED as there is probably no situation in which you will want to haveextraPipPackagescause an airflow upgrade.Checklist
For all Pull Requests
For releasing ONLY