Skip to content

Commit 4b0a1d3

Browse files
committed
feat(vpa): separate-crds
1 parent 785898b commit 4b0a1d3

7 files changed

Lines changed: 863 additions & 2 deletions

File tree

‎packages/core/platform/bundles/paas-full.yaml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,14 @@ releases:
397397
chart: cozy-vertical-pod-autoscaler
398398
namespace: cozy-vertical-pod-autoscaler
399399
privileged: true
400-
dependsOn: [monitoring-agents]
400+
dependsOn: [monitoring-agents, vertical-pod-autoscaler-crds]
401+
402+
- name: vertical-pod-autoscaler-crds
403+
releaseName: vertical-pod-autoscaler-crds
404+
chart: cozy-vertical-pod-autoscaler-crds
405+
namespace: cozy-vertical-pod-autoscaler
406+
privileged: true
407+
dependsOn: [cilium, kubeovn]
401408

402409
- name: reloader
403410
releaseName: reloader

‎packages/core/platform/bundles/paas-hosted.yaml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,11 @@ releases:
253253
chart: cozy-vertical-pod-autoscaler
254254
namespace: cozy-vertical-pod-autoscaler
255255
privileged: true
256-
dependsOn: [monitoring-agents]
256+
dependsOn: [monitoring-agents, vertical-pod-autoscaler-crds]
257+
258+
- name: vertical-pod-autoscaler-crds
259+
releaseName: vertical-pod-autoscaler-crds
260+
chart: cozy-vertical-pod-autoscaler-crds
261+
namespace: cozy-vertical-pod-autoscaler
262+
privileged: true
263+
dependsOn: [cilium, kubeovn]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
apiVersion: v2
2+
name: cozy-vertical-pod-autoscaler-crds
3+
version: 0.0.0 # Placeholder, the actual version will be automatically set during the build process
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export NAME=vertical-pod-autoscaler
2+
export NAMESPACE=cozy-$(NAME)
3+
4+
include ../../../scripts/package.mk
5+
6+
update:
7+
curl -o ./templates/vpa-v1-crd-gen.yaml https://raw.githubusercontent.com/kubernetes/autoscaler/refs/heads/master/vertical-pod-autoscaler/deploy/vpa-v1-crd-gen.yaml

0 commit comments

Comments
 (0)