Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to latest size reservations API. #105

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/metal-control-plane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for deploying the metal control plane in K8s
name: metal-control-plane
version: 0.4.4
version: 0.4.5
5 changes: 5 additions & 0 deletions charts/metal-control-plane/templates/metal-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ data:
{{ .Values.metal_api.filesystemlayouts | nindent 4 }}
sizeimageconstraints.yaml: |
{{ .Values.metal_api.sizeimageconstraints | nindent 4 }}
size_reservations.yaml: |
{{ .Values.metal_api.size_reservations | nindent 4 }}
---
apiVersion: batch/v1
kind: Job
Expand Down Expand Up @@ -370,6 +372,7 @@ spec:
/metalctl network ip apply -f /masterdata/ip.yaml
/metalctl filesystemlayout apply -f /masterdata/filesystemlayouts.yaml
/metalctl size imageconstraint apply -f /masterdata/sizeimageconstraints.yaml
/metalctl size reservation apply -f /masterdata/size_reservations.yaml
volumeMounts:
- name: masterdata
mountPath: /masterdata
Expand Down Expand Up @@ -410,6 +413,8 @@ spec:
path: filesystemlayouts.yaml
- key: sizeimageconstraints.yaml
path: sizeimageconstraints.yaml
- key: size_reservations.yaml
path: size_reservations.yaml
---
apiVersion: batch/v1
kind: Job
Expand Down
1 change: 1 addition & 0 deletions charts/metal-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ metal_api:
projects: "[]"
filesystemlayouts: "[]"
sizeimageconstraints: "[]"
size_reservations: "[]"
s3:
enabled: false
address: ""
Expand Down
Loading