Skip to content

Commit

Permalink
Prepare Tidepool Helm Chart for k8s 1.25 (#302)
Browse files Browse the repository at this point in the history
* Remove unused summary service

* Use PodDisruptionBudget v1

* Update dependencies
  • Loading branch information
toddkazakov authored Nov 22, 2024
1 parent 69bc0c5 commit 0669fda
Show file tree
Hide file tree
Showing 32 changed files with 24 additions and 308 deletions.
6 changes: 3 additions & 3 deletions charts/tidepool/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: keycloak
repository: file://../keycloak
version: 0.4.2
digest: sha256:bea169e688dc10efdcf259b8c30ee2f90e0ca6e519464bd957f9e1be0a5b8564
generated: "2024-06-25T11:24:28.447782+03:00"
version: 0.4.3
digest: sha256:9e8e11d23104da89789675b1676fe7299309fb7eeae7a22c0a2ba6ab169c3fa2
generated: "2024-11-22T13:46:17.203655+02:00"
2 changes: 1 addition & 1 deletion charts/tidepool/charts/auth/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/blip/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/blob/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/clinic-worker/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/clinic/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/data/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/devices/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/export/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/gatekeeper/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/highwater/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/hydrophone/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/jellyfish/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/mailer/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/messageapi/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/prescription/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/seagull/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tidepool/charts/shoreline/templates/6-pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ if .Values.pdb.enabled }}
{{- if or (and .Values.hpa.enabled (gt (.Values.hpa.minReplicas | int) 1)) (gt (.Values.deployment.replicas | int) 1) -}}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "charts.name" . }}
Expand Down
5 changes: 0 additions & 5 deletions charts/tidepool/charts/summary/Chart.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions charts/tidepool/charts/summary/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions charts/tidepool/charts/summary/templates/0-secret.yaml

This file was deleted.

66 changes: 0 additions & 66 deletions charts/tidepool/charts/summary/templates/1-deployment.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions charts/tidepool/charts/summary/templates/2-service.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions charts/tidepool/charts/summary/templates/3-upstream.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions charts/tidepool/charts/summary/templates/4-routetable.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions charts/tidepool/charts/summary/templates/5-hpa.yaml

This file was deleted.

Loading

0 comments on commit 0669fda

Please sign in to comment.