From 95182fbd69fcb1743bc174880a4f13abe381a786 Mon Sep 17 00:00:00 2001 From: Renan Campos Date: Wed, 18 Dec 2024 09:57:13 -0500 Subject: [PATCH 1/2] exposed the GCP Shielded VM setting at the machine pool level --- .../v1/gcp_machine_pool_type.model | 27 +++++++++++++++++++ .../clusters_mgmt/v1/machine_pool_type.model | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 model/clusters_mgmt/v1/gcp_machine_pool_type.model diff --git a/model/clusters_mgmt/v1/gcp_machine_pool_type.model b/model/clusters_mgmt/v1/gcp_machine_pool_type.model new file mode 100644 index 00000000..c66b690f --- /dev/null +++ b/model/clusters_mgmt/v1/gcp_machine_pool_type.model @@ -0,0 +1,27 @@ +/* +Copyright (c) 2024 Red Hat, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Representation of gcp machine pool specific parameters. +struct GCPMachinePool { + // Determines whether the Shielded VM's SecureBoot feature should be + // enabled for the nodes of the machine pool. If SecureBoot is not + // specified, the value of this attribute will remain unspecified and the + // SecureBoot's value specified in the `.gcp.security.secure_boot` + // attribute of the parent Cluster will be the one applied to the nodes of + // the machine pool. + // Immutable. + SecureBoot Boolean +} diff --git a/model/clusters_mgmt/v1/machine_pool_type.model b/model/clusters_mgmt/v1/machine_pool_type.model index aa5a6b45..f003d3a2 100644 --- a/model/clusters_mgmt/v1/machine_pool_type.model +++ b/model/clusters_mgmt/v1/machine_pool_type.model @@ -42,6 +42,9 @@ class MachinePool { // AWS specific parameters (Optional). AWS AWSMachinePool + // GCP specific parameters (Optional). + GCP GCPMachinePool + // List of security groups to be applied to MachinePool (Optional) SecurityGroupFilters []MachinePoolSecurityGroupFilter From 147e75546922a91c97d30643de5391b358bc17ec Mon Sep 17 00:00:00 2001 From: Renan Campos Date: Wed, 18 Dec 2024 10:02:15 -0500 Subject: [PATCH 2/2] chore: Release v0.0.406 --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 138883e9..62fcdfce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,8 @@ This document describes the relevant changes between releases of the API model. +## 0.0.406 Dec 18 2024 +- Expose the GCP Shielded VM secure boot setting at the machine pool level ## 0.0.405 Dec 15 2024 - Add aro_hcp v1alpha1 Root resource