Skip to content

Commit

Permalink
Allow providing a metal-api release version. (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Jul 9, 2024
1 parent 1a7c5f6 commit c25ae10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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.2
version: 0.4.3
4 changes: 4 additions & 0 deletions charts/metal-control-plane/templates/metal-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ spec:
value: /certs/masterdata-api/client-key.pem
- name: METAL_API_PASSWORD_REASON_MINLENGTH
value: "{{ .Values.metal_api.password_reason_minlength }}"
{{- if .Values.metal_api.release_version }}
- name: METAL_API_RELEASE_VERSION
value: "{{ .Values.metal_api.release_version }}"
{{- end }}
- name: METAL_API_MINIMUM_CLIENT_VERSION
value: "{{ .Values.metal_api.minimum_client_version }}"
{{- if .Values.auditing.enabled }}
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 @@ -123,6 +123,7 @@ metal_api:
internal_api_address: ""
control_plane_address: ""
minimum_client_version: ""
release_version: ""

ipam:
grpc_server_endpoint: "0.0.0.0:9090"
Expand Down

0 comments on commit c25ae10

Please sign in to comment.