diff --git a/charts/posthog/Chart.yaml b/charts/posthog/Chart.yaml index 2509b1a3..85b69af6 100644 --- a/charts/posthog/Chart.yaml +++ b/charts/posthog/Chart.yaml @@ -11,7 +11,7 @@ type: application # 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. -version: 30.18.1 +version: 30.19.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. diff --git a/charts/posthog/templates/_snippet-plugins-deployment.tpl b/charts/posthog/templates/_snippet-plugins-deployment.tpl index 211b8a01..b09ec623 100644 --- a/charts/posthog/templates/_snippet-plugins-deployment.tpl +++ b/charts/posthog/templates/_snippet-plugins-deployment.tpl @@ -171,7 +171,7 @@ spec: --- {{ if .params.hpa.enabled }} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" .root }}-{{ .name }} diff --git a/charts/posthog/templates/decide-hpa.yaml b/charts/posthog/templates/decide-hpa.yaml index f4f35c6a..c9c00577 100644 --- a/charts/posthog/templates/decide-hpa.yaml +++ b/charts/posthog/templates/decide-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.decide.enabled .Values.decide.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-decide diff --git a/charts/posthog/templates/events-hpa.yaml b/charts/posthog/templates/events-hpa.yaml index 20613ff0..de4f7b46 100644 --- a/charts/posthog/templates/events-hpa.yaml +++ b/charts/posthog/templates/events-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.events.enabled .Values.events.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-events diff --git a/charts/posthog/templates/pgbouncer-hpa.yaml b/charts/posthog/templates/pgbouncer-hpa.yaml index 02494913..efdaf795 100644 --- a/charts/posthog/templates/pgbouncer-hpa.yaml +++ b/charts/posthog/templates/pgbouncer-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.pgbouncer.enabled .Values.pgbouncer.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-pgbouncer diff --git a/charts/posthog/templates/pgbouncer-read-hpa.yaml b/charts/posthog/templates/pgbouncer-read-hpa.yaml index b77df53d..f77fb2b1 100644 --- a/charts/posthog/templates/pgbouncer-read-hpa.yaml +++ b/charts/posthog/templates/pgbouncer-read-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.pgbouncerRead.enabled .Values.pgbouncerRead.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-pgbouncer-read diff --git a/charts/posthog/templates/temporal-py-worker-hpa.yaml b/charts/posthog/templates/temporal-py-worker-hpa.yaml index 24621ac0..948cb265 100644 --- a/charts/posthog/templates/temporal-py-worker-hpa.yaml +++ b/charts/posthog/templates/temporal-py-worker-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.temporalPyWorker.enabled .Values.temporalPyWorker.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-worker diff --git a/charts/posthog/templates/web-hpa.yaml b/charts/posthog/templates/web-hpa.yaml index fa550df5..06e6e6a5 100644 --- a/charts/posthog/templates/web-hpa.yaml +++ b/charts/posthog/templates/web-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.web.enabled .Values.web.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-web diff --git a/charts/posthog/templates/worker-hpa.yaml b/charts/posthog/templates/worker-hpa.yaml index 86bc55f3..daabf464 100644 --- a/charts/posthog/templates/worker-hpa.yaml +++ b/charts/posthog/templates/worker-hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.worker.enabled .Values.worker.hpa.enabled -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "posthog.fullname" . }}-worker diff --git a/charts/posthog/tests/events-hpa.yaml b/charts/posthog/tests/events-hpa.yaml index 3e39fc4e..d6117a1f 100644 --- a/charts/posthog/tests/events-hpa.yaml +++ b/charts/posthog/tests/events-hpa.yaml @@ -35,7 +35,7 @@ tests: - hasDocuments: count: 1 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 - it: should be the correct kind set: diff --git a/charts/posthog/tests/pgbouncer-hpa.yaml b/charts/posthog/tests/pgbouncer-hpa.yaml index 29dc10dc..ea3215ae 100644 --- a/charts/posthog/tests/pgbouncer-hpa.yaml +++ b/charts/posthog/tests/pgbouncer-hpa.yaml @@ -35,7 +35,7 @@ tests: - hasDocuments: count: 1 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 - it: should be the correct kind set: diff --git a/charts/posthog/tests/pgbouncer-read-hpa.yaml b/charts/posthog/tests/pgbouncer-read-hpa.yaml index 07ebfce0..3160c22c 100644 --- a/charts/posthog/tests/pgbouncer-read-hpa.yaml +++ b/charts/posthog/tests/pgbouncer-read-hpa.yaml @@ -32,7 +32,7 @@ tests: - hasDocuments: count: 1 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 - it: should be the correct kind set: diff --git a/charts/posthog/tests/plugins-analytics-ingestion-hpa.yaml b/charts/posthog/tests/plugins-analytics-ingestion-hpa.yaml index b5a2ba3d..6d41deed 100644 --- a/charts/posthog/tests/plugins-analytics-ingestion-hpa.yaml +++ b/charts/posthog/tests/plugins-analytics-ingestion-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-async-hpa.yaml b/charts/posthog/tests/plugins-async-hpa.yaml index d5df41f7..442fe266 100644 --- a/charts/posthog/tests/plugins-async-hpa.yaml +++ b/charts/posthog/tests/plugins-async-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-exports-hpa.yaml b/charts/posthog/tests/plugins-exports-hpa.yaml index f2ad8017..88f00c29 100644 --- a/charts/posthog/tests/plugins-exports-hpa.yaml +++ b/charts/posthog/tests/plugins-exports-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-hpa.yaml b/charts/posthog/tests/plugins-hpa.yaml index 4ad5d803..5092c665 100644 --- a/charts/posthog/tests/plugins-hpa.yaml +++ b/charts/posthog/tests/plugins-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-ingestion-hpa.yaml b/charts/posthog/tests/plugins-ingestion-hpa.yaml index 45ad37de..7193d53a 100644 --- a/charts/posthog/tests/plugins-ingestion-hpa.yaml +++ b/charts/posthog/tests/plugins-ingestion-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-ingestion-overflow-hpa.yaml b/charts/posthog/tests/plugins-ingestion-overflow-hpa.yaml index 36f0b9c1..24dfddca 100644 --- a/charts/posthog/tests/plugins-ingestion-overflow-hpa.yaml +++ b/charts/posthog/tests/plugins-ingestion-overflow-hpa.yaml @@ -52,7 +52,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-jobs-hpa.yaml b/charts/posthog/tests/plugins-jobs-hpa.yaml index 9fdf3de7..427ef843 100644 --- a/charts/posthog/tests/plugins-jobs-hpa.yaml +++ b/charts/posthog/tests/plugins-jobs-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/plugins-scheduler-hpa.yaml b/charts/posthog/tests/plugins-scheduler-hpa.yaml index 83f439c5..56f16a36 100644 --- a/charts/posthog/tests/plugins-scheduler-hpa.yaml +++ b/charts/posthog/tests/plugins-scheduler-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/recordings-ingestion-hpa.yaml b/charts/posthog/tests/recordings-ingestion-hpa.yaml index e5a224f6..41b103c0 100644 --- a/charts/posthog/tests/recordings-ingestion-hpa.yaml +++ b/charts/posthog/tests/recordings-ingestion-hpa.yaml @@ -48,7 +48,7 @@ tests: - hasDocuments: count: 2 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 documentIndex: 1 - it: should be the correct kind diff --git a/charts/posthog/tests/web-hpa.yaml b/charts/posthog/tests/web-hpa.yaml index 9fd9fcf4..42e44732 100644 --- a/charts/posthog/tests/web-hpa.yaml +++ b/charts/posthog/tests/web-hpa.yaml @@ -35,7 +35,7 @@ tests: - hasDocuments: count: 1 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 - it: should be the correct kind set: diff --git a/charts/posthog/tests/worker-hpa.yaml b/charts/posthog/tests/worker-hpa.yaml index 48db29da..3b5cedd3 100644 --- a/charts/posthog/tests/worker-hpa.yaml +++ b/charts/posthog/tests/worker-hpa.yaml @@ -35,7 +35,7 @@ tests: - hasDocuments: count: 1 - isAPIVersion: - of: autoscaling/v2beta2 + of: autoscaling/v2 - it: should be the correct kind set: