Skip to content

Commit

Permalink
Upgrading deprecated api versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed Jan 29, 2024
1 parent 84c852f commit 2539993
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: generic
description: Generic Chart
version: 1.6.2
version: 1.6.3
2 changes: 1 addition & 1 deletion charts/generic/templates/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $fullName := include "generic.fullname" . -}}
{{- range $cronjobName, $cronjob := .Values.cronjobs }}
{{- if or (not (hasKey $cronjob "enabled")) ($cronjob.enabled) }}
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
{{- if $cronjob.fullName }}
Expand Down
2 changes: 1 addition & 1 deletion charts/generic/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "generic.fullname" . }}
Expand Down

0 comments on commit 2539993

Please sign in to comment.