Skip to content

Commit

Permalink
Change pdb api version to v1 (#143)
Browse files Browse the repository at this point in the history
* Change pdb api version to v1 since deprecated in Kubernetes v1.21.0 and removed in v.1.25.0

* bump all affected chart versions

---------

Co-authored-by: Artjoms Laivins <laiviart@Artjomss-MacBook-Pro.local>
  • Loading branch information
Artlvns and Artjoms Laivins authored May 4, 2023
1 parent 052e1ec commit 6a96e25
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dotnet/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: .NET Core Helm Chart
name: dotnet
version: 11.0.1
version: 12.0.0
dependencies:
- name: libchart
version: 2.0.2
version: 3.0.0
repository: file://../libchart
4 changes: 2 additions & 2 deletions golang/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: golan Helm Chart
name: golang
version: 15.0.1
version: 16.0.0
dependencies:
- name: libchart
version: 2.0.2
version: 3.0.0
repository: file://../libchart
4 changes: 2 additions & 2 deletions java/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: Java Helm Chart
name: java
version: 8.0.2
version: 9.0.0
dependencies:
- name: libchart
version: 2.0.2
version: 3.0.0
repository: file://../libchart
2 changes: 1 addition & 1 deletion libchart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: library
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.2
version: 3.0.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion libchart/templates/_pdb.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- define "libchart.pdb.tpl" -}}
{{- if .Values.podDisruptionBudget -}}
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "libchart.name" . }}
Expand Down
4 changes: 2 additions & 2 deletions nodejs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: Node.js Helm Chart
name: nodejs
version: 15.0.1
version: 16.0.0
dependencies:
- name: libchart
version: 2.0.2
version: 3.0.0
repository: file://../libchart
4 changes: 2 additions & 2 deletions web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
appVersion: "1.0"
description: Helm chart for deployment of web servers
name: web
version: 12.0.1
version: 13.0.0
dependencies:
- name: libchart
version: 2.0.2
version: 3.0.0
repository: file://../libchart

0 comments on commit 6a96e25

Please sign in to comment.