-
Notifications
You must be signed in to change notification settings - Fork 91
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
migrate cronjob and hpa to new api versions #221
Conversation
@pauvos we have fixed the pipelines! can you plz fetch the changes from upstream and update your PR? |
@pauvos can you plz update this? |
* Cronjob v1beta1 => v1 * HorizontalPodAutoscaler v2beta2 => v2 see https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25
fe536f7
to
3ab00c3
Compare
@mustafaStakater validation successful` |
Looks good to me, but since I'm a new maintainer, I'd rather have another maintainer take a look and let me know if I missed something like a necessary addition to the CHANGELOG or something similar. |
application/templates/hpa.yaml
Outdated
@@ -1,5 +1,9 @@ | |||
{{- if and (.Values.autoscaling).enabled .Values.deployment }} | |||
{{ if $.Capabilities.APIVersions.Has "autoscaling/v2/HorizontalPodAutoscaler" -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use $ when youre not within with
or range
see https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25