Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Correct capitalisation of HorizontalPodAutoscaler kind#320

Merged
mcoot merged 1 commit into
masterfrom
jspearritt/HPA-correct-kind-capitalisation
Sep 24, 2018
Merged

Correct capitalisation of HorizontalPodAutoscaler kind#320
mcoot merged 1 commit into
masterfrom
jspearritt/HPA-correct-kind-capitalisation

Conversation

@mcoot

@mcoot mcoot commented Sep 24, 2018

Copy link
Copy Markdown
Contributor

Fix capitalisation of HorizontalPodAutoscaler kind so the informer for HPAs is correctly registered.

@mcoot mcoot self-assigned this Sep 24, 2018
@mcoot mcoot requested review from Burr and ash2k September 24, 2018 07:09
core_v1.SchemeGroupVersion.WithKind("ServiceAccount"): core_v1inf.NewServiceAccountInformer,
apps_v1.SchemeGroupVersion.WithKind("Deployment"): apps_v1inf.NewDeploymentInformer,
autoscaling_v2b1.SchemeGroupVersion.WithKind("HorizontalPodAutoScaler"): autoscaling_v2b1inf.NewHorizontalPodAutoscalerInformer,
autoscaling_v2b1.SchemeGroupVersion.WithKind("HorizontalPodAutoscaler"): autoscaling_v2b1inf.NewHorizontalPodAutoscalerInformer,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be catched by integration tests?
IIRC they don't run in Travis anymore, but probably on the local machine there is still a way?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We don't have integration tests for kube compute yet (that is coming soon). However I had successfully deployed on Playground prior to this change so I'm not entirely sure how that didn't catc hit.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You should be able to run Smith's integration tests locally or against a cluster.

@mcoot mcoot merged commit 0245540 into master Sep 24, 2018
@ash2k ash2k deleted the jspearritt/HPA-correct-kind-capitalisation branch September 25, 2018 05:17
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.

4 participants