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

OCM-10387 | Wif API updates to suppport SRE access #979

Merged
merged 2 commits into from
Sep 3, 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
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This document describes the relevant changes between releases of the API model.

## 0.0.392 Sep 03 2024
- Defined "support" field in WifConfig structure
- Added "vm" WIF access method

## 0.0.391 Aug 28 2024
- Add `RegistryConfig` attribute to `Cluster` model
- Add `RegistryAllowlist` resource and endpoints
Expand Down
2 changes: 2 additions & 0 deletions model/clusters_mgmt/v1/wif_config_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ struct WifGcp {
// The list of service accounts and their associated roles that will need to be
// configured on the user's GCP project.
ServiceAccounts []WifServiceAccount
// Defines the access configuration for support.
Support WifSupport
// The workload identity configuration data that will be used to create the
// workload identity pool on the user's account.
WorkloadIdentityPool WifPool
Expand Down
1 change: 1 addition & 0 deletions model/clusters_mgmt/v1/wif_service_account_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ struct WifServiceAccount {

enum WifAccessMethod {
Impersonate
Vm
Wif
}

Expand Down
20 changes: 20 additions & 0 deletions model/clusters_mgmt/v1/wif_support_type.model
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
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.
*/

struct WifSupport {
Principal String
Roles []WifRole
}
2 changes: 2 additions & 0 deletions model/clusters_mgmt/v2alpha1/wif_config_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ struct WifGcp {
// The list of service accounts and their associated roles that will need to be
// configured on the user's GCP project.
ServiceAccounts []WifServiceAccount
// Defines the access configuration for support.
Support WifSupport
// The workload identity configuration data that will be used to create the
// workload identity pool on the user's account.
WorkloadIdentityPool WifPool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ struct WifServiceAccount {

enum WifAccessMethod {
Impersonate
Vm
Wif
}

Expand Down
20 changes: 20 additions & 0 deletions model/clusters_mgmt/v2alpha1/wif_support_type.model
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
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.
*/

struct WifSupport {
Principal String
Roles []WifRole
}
Loading