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

Clean up remove session token #8369

Merged
merged 1 commit into from
Dec 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
25 changes: 0 additions & 25 deletions config/core/resources/integrationsink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,6 @@ spec:
true overrides any behavior defined by the `includeBody` option. If
false, the S3 object is put in the body.
default: false
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -242,16 +232,6 @@ spec:
type: string
title: Queue URL
description: The full SQS Queue URL (required if using KEDA)
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -313,11 +293,6 @@ spec:
title: Autocreate Topic
description: Setting the autocreation of the SNS topic.
default: false
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down
30 changes: 0 additions & 30 deletions config/core/resources/integrationsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,6 @@ spec:
true overrides any behavior defined by the `includeBody` option. If
false, the S3 object is put in the body.
default: false
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -232,16 +222,6 @@ spec:
type: string
title: Queue URL
description: The full SQS Queue URL (required if using KEDA)
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -306,16 +286,6 @@ spec:
Note that using FROM_START can cause a significant delay before the stream
has caught up to real-time.
default: FROM_LATEST
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
an IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down
8 changes: 3 additions & 5 deletions pkg/apis/common/integration/v1alpha1/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ const (

type AWSCommon struct {
// Auth is the S3 authentication (accessKey/secretKey) configuration.
Region string `json:"region,omitempty"` // AWS region
ProfileCredentialsName string `json:"profileCredentialsName,omitempty"` // Profile name for profile credentials provider
SessionToken string `json:"sessionToken,omitempty"` // Session token
URIEndpointOverride string `json:"uriEndpointOverride,omitempty"` // Override endpoint URI
OverrideEndpoint bool `json:"overrideEndpoint" default:"false"` // Override endpoint flag
Region string `json:"region,omitempty"` // AWS region
URIEndpointOverride string `json:"uriEndpointOverride,omitempty"` // Override endpoint URI
OverrideEndpoint bool `json:"overrideEndpoint" default:"false"` // Override endpoint flag
}

type AWSS3 struct {
Expand Down
Loading