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

Allow providing metal-stack release version. #289

Merged
merged 1 commit into from
Jul 9, 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
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
Loading