Skip to content
Closed
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
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ instance roles)

# Cloud Providers

Currently the operator supports AWS, Azure, GCP, KubeVirt, OpenStack. oVirt and VMWare.
Currently the operator supports AWS, Azure, GCP, IBMCloud, KubeVirt, OpenStack. oVirt and VMWare.

## Credentials Root Secret Formats

Expand Down Expand Up @@ -71,6 +71,18 @@ data:
service_account.json: Base64encodeServiceAccount
```

### IBMCloud

```yaml
apiVersion: v1
kind: Secret
metadata:
namespace: kube-system
name: ibmcloud-credentials
data:
ibmcloud_api_key: Base64encodeAPIKey
```

### Kubevirt

```yaml
Expand Down Expand Up @@ -174,7 +186,7 @@ Cons:
* Credential permissions may need to be manually updated prior to any upgrade.
* Each component has permissions used by all other components.

Supported clouds: AWS, GCP, Azure, VMWare, OpenStack, oVirt, KubeVirt
Supported clouds: AWS, GCP, IBMCloud, Azure, VMWare, OpenStack, oVirt, KubeVirt

## 3. Manual Credentials Management

Expand Down
1 change: 1 addition & 0 deletions pkg/apis/cloudcredential/v1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&AWSProviderStatus{}, &AWSProviderSpec{},
&AzureProviderStatus{}, &AzureProviderSpec{},
&GCPProviderStatus{}, &GCPProviderSpec{},
&IBMCloudProviderStatus{}, &IBMCloudProviderSpec{},
&VSphereProviderStatus{}, &VSphereProviderSpec{},
&KubevirtProviderStatus{}, &KubevirtProviderSpec{},
)
Expand Down
35 changes: 35 additions & 0 deletions pkg/apis/cloudcredential/v1/types_ibmcloud.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Copyright 2021 The OpenShift Authors.

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.
*/

package v1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// TODO: these types should eventually be broken out, along with the actuator, to a separate repo.

// IBMCloudProviderSpec the specification of the credentials request in IBM Cloud.
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type IBMCloudProviderSpec struct {
metav1.TypeMeta `json:",inline"`
}

// IBMCloudProviderStatus contains the status of the credentials request in IBM Cloud.
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type IBMCloudProviderStatus struct {
metav1.TypeMeta `json:",inline"`
}
50 changes: 50 additions & 0 deletions pkg/apis/cloudcredential/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading