This PR allows Packages using DownwardsAPI to obtain kubernetesAPIs or kubernetesVersion by feeding a false value.
However this value cannot be reliably used to introduce images in the template step for the time being. This does not block users who are not conditionally introducing images based on these parameters.
It mocks CoreV1 client calls made by GetServiceAccountToken
What this PR does / why we need it:
This PR allows Packages using DownwardsAPI to obtain
kubernetesAPIs
orkubernetesVersion
by feeding a false value. However this value cannot be reliably used to introduce images in the template step for the time being. This does not block users who are not conditionally introducing images based on these parameters. It mocks CoreV1 client calls made byGetServiceAccountToken
Which issue(s) this PR fixes:
Partially fixes #1523
Does this PR introduce a user-facing change?
Additional Notes for your reviewer:
Review Checklist:
Additional documentation e.g., Proposal, usage docs, etc.: