Skip to content

Commit

Permalink
Allow providing metal-stack release version. (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Jul 9, 2024
1 parent 96535af commit aa86dfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions control-plane/roles/metal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ You can look up all the default values of this role [here](defaults/main/main.ya
| metal_api_s3_secret | | The secret of the S3 server that serves firmwares |
| metal_api_s3_firmware_bucket | | The S3 bucket name that contains the firmwares |
| metal_api_password_reason_minlength | | If machine console password is requested this defines if and how long the given reason must be |
| metal_api_release_version | | The release version of metal-stack |
| minimum_client_version | | minimum metalctl version which is required to talk to this metal-api instance |

### masterdata-api
Expand Down
1 change: 1 addition & 0 deletions control-plane/roles/metal/defaults/main/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ metal_api_s3_key:
metal_api_s3_secret:
metal_api_s3_firmware_bucket:
metal_api_password_reason_minlength:
metal_api_release_version: "{{ metal_stack_release_version }}"
minimum_client_version: "{{ metalctl_version }}"

# masterdata-api
Expand Down
1 change: 1 addition & 0 deletions control-plane/roles/metal/templates/metal-values.j2
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ metal_api:
view_key: "{{ metal_api_view_key }}"
edit_key: "{{ metal_api_edit_key }}"
admin_key: "{{ metal_api_admin_key }}"
release_version: "{{ metal_api_release_version }}"
minimum_client_version: "{{ metalctl_version }}"
{% if metal_api_password_reason_minlength %}
password_reason_minlength: "{{ metal_api_password_reason_minlength }}"
Expand Down

0 comments on commit aa86dfb

Please sign in to comment.