Skip to content
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

Merged
merged 4 commits into from
Mar 30, 2023

Conversation

pauvos
Copy link
Contributor

@pauvos pauvos commented Feb 20, 2023

  • Cronjob v1beta1 => v1
  • HorizontalPodAutoscaler v2beta2 => v2

see https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25

@stakater-user
Copy link
Contributor

@pauvos Yikes! You better fix it before anyone else finds out! Build has Failed!

@rasheedamir
Copy link
Member

@pauvos we have fixed the pipelines! can you plz fetch the changes from upstream and update your PR?

@rasheedamir
Copy link
Member

@pauvos can you plz update this?

@pauvos pauvos force-pushed the migrate-cronjob-hpa branch from fe536f7 to 3ab00c3 Compare March 25, 2023 10:56
@github-actions
Copy link

github-actions bot commented Mar 25, 2023

@mustafaStakater validation successful`

d3adb5
d3adb5 previously approved these changes Mar 29, 2023
@d3adb5
Copy link
Collaborator

d3adb5 commented Mar 29, 2023

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.

@@ -1,5 +1,9 @@
{{- if and (.Values.autoscaling).enabled .Values.deployment }}
{{ if $.Capabilities.APIVersions.Has "autoscaling/v2/HorizontalPodAutoscaler" -}}
Copy link
Contributor

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

@mustafaStakater mustafaStakater merged commit 6327ca1 into stakater:master Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants