Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make scale_target_ref api_version match deployment
In an attempt to fix the following error when creating the horizontal pod autoscaler: the HPA controller was unable to get the target's current scale: no matches for kind "Deployment" in group "" From what I can tell, this is caused when the referent (in this case the deployment) version is different to what the autoscaler expects. https://www.terraform.io/docs/providers/kubernetes/r/horizontal_pod_autoscaler.html#arguments-10
- Loading branch information