Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
joekr committed May 1, 2023
1 parent a04275b commit 3687a96
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
3 changes: 2 additions & 1 deletion api/v1beta2/ocicluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ type OCIAvailabilityDomain struct {
// ClientOverrides contains information about client host url overrides.
type ClientOverrides struct {

// CertOverride sets the cert used for all the clients
// CertOverride is a secret that contains information about a cert override used by all the OCI SDK clients.
// The secret must contain data with a `cert`property.
//
// +optional
// +nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1130,9 +1130,9 @@ spec:
nullable: true
properties:
certOverride:
description: "CertOverride sets the cert used for all the clients
\n TODO: make this a ref to some secret like identity CertOverride
*string `json:\"certOverride,omitempty\"`"
description: CertOverride is a secret that contains information
about a cert override used by all the OCI SDK clients. The secret
must contain data with a `cert`property.
nullable: true
properties:
name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1183,9 +1183,9 @@ spec:
nullable: true
properties:
certOverride:
description: "CertOverride sets the cert used for all
the clients \n TODO: make this a ref to some secret
like identity CertOverride *string `json:\"certOverride,omitempty\"`"
description: CertOverride is a secret that contains information
about a cert override used by all the OCI SDK clients.
The secret must contain data with a `cert`property.
nullable: true
properties:
name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1168,9 +1168,9 @@ spec:
nullable: true
properties:
certOverride:
description: "CertOverride sets the cert used for all the clients
\n TODO: make this a ref to some secret like identity CertOverride
*string `json:\"certOverride,omitempty\"`"
description: CertOverride is a secret that contains information
about a cert override used by all the OCI SDK clients. The secret
must contain data with a `cert`property.
nullable: true
properties:
name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,9 +1225,9 @@ spec:
nullable: true
properties:
certOverride:
description: "CertOverride sets the cert used for all
the clients \n TODO: make this a ref to some secret
like identity CertOverride *string `json:\"certOverride,omitempty\"`"
description: CertOverride is a secret that contains information
about a cert override used by all the OCI SDK clients.
The secret must contain data with a `cert`property.
nullable: true
properties:
name:
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,7 @@ var _ = SynchronizedBeforeSuite(func() []byte {
By("Using user principal as auth provider")
}

clientProvider, err := scope.NewClientProvider(scope.ClientProviderParams{
ociAuthConfigProvider,
nil})
clientProvider, err := scope.NewClientProvider(scope.ClientProviderParams{OciAuthConfigProvider: ociAuthConfigProvider})
Expect(err).NotTo(HaveOccurred())

region, err := ociAuthConfigProvider.Region()
Expand Down

0 comments on commit 3687a96

Please sign in to comment.