Skip to content

Commit eb227d7

Browse files
authored
chore: Remove deprecated AAD-Pod-Identity and AWS-KIAM auths (kedacore#1388)
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
1 parent 82f8ba5 commit eb227d7

9 files changed

+17
-161
lines changed

content/docs/2.15/authentication-providers/aws-kiam.md

-14
This file was deleted.

content/docs/2.15/authentication-providers/azure-ad-pod-identity.md

-19
This file was deleted.

content/docs/2.15/concepts/authentication.md

+3-34
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ metadata:
9292
namespace: default # must be same namespace as the ScaledObject
9393
spec:
9494
podIdentity:
95-
provider: none | azure | azure-workload | aws | aws-eks | aws-kiam | gcp # Optional. Default: none
95+
provider: none | azure-workload | aws | aws-eks | gcp # Optional. Default: none
9696
identityId: <identity-id> # Optional. Only used by azure & azure-workload providers.
9797
roleArn: <role-arn> # Optional. Only used by aws provider.
9898
identityOwner: keda|workload # Optional. Only used by aws provider.
@@ -332,30 +332,12 @@ Currently we support the following:
332332

333333
```yaml
334334
podIdentity:
335-
provider: none | azure | azure-workload | aws | aws-eks | aws-kiam # Optional. Default: none
335+
provider: none | azure-workload | aws | aws-eks | gcp # Optional. Default: none
336336
identityId: <identity-id> # Optional. Only used by azure & azure-workload providers.
337337
roleArn: <role-arn> # Optional. Only used by aws provider.
338338
identityOwner: keda|workload # Optional. Only used by aws provider.
339339
```
340340

341-
#### Azure Pod Identity
342-
343-
> [DEPRECATED: This will be removed in KEDA v2.15](https://github.com/kedacore/keda/discussions/5362)
344-
345-
Azure Pod Identity is an implementation of [**Azure AD Pod Identity**](https://github.com/Azure/aad-pod-identity) which lets you bind an [**Azure Managed Identity**](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/) to a Pod in a Kubernetes cluster as delegated access - *Don't manage secrets, let Azure AD do the hard work*.
346-
347-
You can tell KEDA to use Azure AD Pod Identity via `podIdentity.provider`.
348-
349-
```yaml
350-
podIdentity:
351-
provider: azure # Optional. Default: none
352-
identityId: <identity-id> # Optional. Default: Identity linked with the label set when installing KEDA.
353-
```
354-
355-
Azure AD Pod Identity will give access to containers with a defined label for `aadpodidbinding`. You can set this label on the KEDA operator deployment. This can be done for you during deployment with Helm with `--set podIdentity.activeDirectory.identity={your-label-name}`.
356-
357-
You can override the identity that was assigned to KEDA during installation, by specifying an `identityId` parameter under the `podIdentity` field. This allows end-users to use different identities to access various resources which is more secure than using a single identity that has access to multiple resources.
358-
359341
#### Azure Workload Identity
360342

361343
[**Azure AD Workload Identity**](https://github.com/Azure/azure-workload-identity) is the newer version of [**Azure AD Pod Identity**](https://github.com/Azure/aad-pod-identity). It lets your Kubernetes workloads access Azure resources using an
@@ -443,17 +425,4 @@ You can tell KEDA to use EKS Pod Identity Webhook via `podIdentity.provider`.
443425
```yaml
444426
podIdentity:
445427
provider: aws-eks # Optional. Default: none
446-
```
447-
448-
#### AWS Kiam Pod Identity
449-
450-
> [DEPRECATED: This will be removed in KEDA v2.15](https://github.com/kedacore/keda/discussions/5342)
451-
452-
[**Kiam**](https://github.com/uswitch/kiam/) lets you bind an AWS IAM Role to a pod using an annotation on the pod.
453-
454-
You can tell KEDA to use Kiam via `podIdentity.provider`.
455-
456-
```yaml
457-
podIdentity:
458-
provider: aws-kiam # Optional. Default: none
459-
```
428+
```

content/docs/2.15/scalers/aws-cloudwatch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ triggers:
5858
- `dimensionValue` - Supports specifying multiple dimension values by using ";" as a separator i.e. dimensionValue: queue1;queue2 (Optional, Required when `expression` is not specified)
5959
- `expression` - Supports query with [expression](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-insights-querylanguage.html) (Optional, Required when `dimensionName` & `dimensionValue` are not specified)
6060

61-
- `identityOwner` - Receive permissions for CloudWatch via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` and `aws-kiam` authentications)
61+
- `identityOwner` - Receive permissions for CloudWatch via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` authentication)
6262

6363
> When `identityOwner` set to `operator` - the only requirement is that the KEDA operator has the correct IAM permissions on the CloudWatch. Additional Authentication Parameters are not required.
6464

@@ -81,7 +81,7 @@ You can use `TriggerAuthentication` CRD to configure authentication by providing
8181

8282
**Role based authentication:**
8383

84-
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated only applies for `aws-eks` and `aws-kiam` authentications, for `aws` is set in the auth)
84+
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated and only applies for `aws-eks` authentication, for `aws` is set in the auth)
8585

8686
**Credential based authentication:**
8787

content/docs/2.15/scalers/aws-dynamodb-streams.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ triggers:
3333
- `tableName` - The target DynamoDB table to which the stream belongs.
3434
- `shardCount` - The target value that a DynamoDB streams consumer can handle. (Default: `2`, Optional)
3535
- `activationShardCount` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional)
36-
- `identityOwner` - Receive permissions on the DynamoDB and DynamoDB Streams via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` and `aws-kiam` authentications)
36+
- `identityOwner` - Receive permissions on the DynamoDB and DynamoDB Streams via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` authentication)
3737

3838
> When `identityOwner` set to `operator` - the only requirement is that the KEDA operator has the correct IAM permissions on the DynamoDB and Dynamodb Streams. Additional Authentication Parameters are not required.
3939

@@ -43,11 +43,11 @@ You can use `TriggerAuthentication` CRD to configure the authenticate by providi
4343

4444
**Pod identity based authentication:**
4545

46-
- `podIdentity.provider` - Needs to be set to either `aws-kiam` or `aws-eks` on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
46+
- `podIdentity.provider` - Needs to be set on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
4747

4848
**Role based authentication:**
4949

50-
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated only applies for `aws-eks` and `aws-kiam` authentications, for `aws` is set in the auth)
50+
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated and only applies for `aws-eks` authentication, for `aws` is set in the auth)
5151

5252
**Credential based authentication:**
5353

content/docs/2.15/scalers/aws-dynamodb.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ triggers:
4545
- `expressionAttributeNames` - one or more substitution tokens for attribute names in an expression. Defined as JSON.
4646
- `keyConditionExpression` - the condition that specifies the key values for items to be retrieved by the Query action.
4747
- `expressionAttributeValues` - one or more values that can be substituted in an expression. Defined as JSON.
48-
- `identityOwner` - Receive permissions on the DynamoDB Table via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` and `aws-kiam` authentications)
48+
- `identityOwner` - Receive permissions on the DynamoDB Table via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` authentication)
4949

5050
> When `identityOwner` set to `operator` - the only requirement is that the KEDA operator has the correct IAM permissions on the DynamoDB Table. Additional Authentication Parameters are not required.
5151

@@ -55,11 +55,11 @@ You can use `TriggerAuthentication` CRD to configure the authenticate by providi
5555

5656
**Pod identity based authentication:**
5757

58-
- `podIdentity.provider` - Needs to be set to either `aws-kiam` or `aws-eks` on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
58+
- `podIdentity.provider` - Needs to be set on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
5959

6060
**Role based authentication:**
6161

62-
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated only applies for `aws-eks` and `aws-kiam` authentications, for `aws` is set in the auth)
62+
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated and only applies for `aws-eks` authentication, for `aws` is set in the auth)
6363

6464
**Credential based authentication:**
6565

content/docs/2.15/scalers/aws-kinesis.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ triggers:
3333
- `activationShardCount` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional)
3434
- `awsRegion` - AWS Region for the Kinesis Stream.
3535
- `awsEndpoint` - Endpoint URL to override the default AWS endpoint. (Default: `""`, Optional)
36-
- `identityOwner` - Receive permissions on the Kinesis Stream via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` and `aws-kiam` authentications)
36+
- `identityOwner` - Receive permissions on the Kinesis Stream via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` authentication)
3737

3838
> When `identityOwner` set to `operator` - the only requirement is that the KEDA operator has the correct IAM permissions on the Kinesis Stream. Additional Authentication Parameters are not required.
3939

@@ -45,7 +45,7 @@ You can use `TriggerAuthentication` CRD to configure the authenticate by providi
4545

4646
**Role based authentication:**
4747

48-
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated only applies for `aws-eks` and `aws-kiam` authentications, for `aws` is set in the auth)
48+
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated and only applies for `aws-eks` authentication, for `aws` is set in the auth)
4949

5050
**Credential based authentication:**
5151

content/docs/2.15/scalers/aws-sqs.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ triggers:
4040
- `scaleOfDelayed` - Indication of whether or not to include delayed messages when calculating the number of SQS messages. (default: false, Optional)
4141
- `awsRegion` - AWS Region for the SQS Queue.
4242
- `awsEndpoint` - Endpoint URL to override the default AWS endpoint. (Default: `""`, Optional)
43-
- `identityOwner` - Receive permissions on the SQS Queue via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` and `aws-kiam` authentications)
43+
- `identityOwner` - Receive permissions on the SQS Queue via Pod Identity or from the KEDA operator itself (see below). (DEPRECATED: This parameter is deprecated as of KEDA v2.13 and will be removed in version `3`, Values: `pod`, `operator`, Default: `pod`, Optional, This field only applies for `aws-eks` authentication)
4444

4545
> When `identityOwner` set to `operator` - the only requirement is that the KEDA operator has the correct IAM permissions on the SQS queue. Additional Authentication Parameters are not required.
4646

@@ -50,11 +50,11 @@ You can use `TriggerAuthentication` CRD to configure the authenticate by providi
5050

5151
**Pod identity based authentication:**
5252

53-
- `podIdentity.provider` - Needs to be set to either `aws-kiam` or `aws-eks` on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
53+
- `podIdentity.provider` - Needs to be set on the `TriggerAuthentication` and the pod/service account must be configured correctly for your pod identity provider.
5454

5555
**Role based authentication:**
5656

57-
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated only applies for `aws-eks` and `aws-kiam` authentications, for `aws` is set in the auth)
57+
- `awsRoleArn` - Amazon Resource Names (ARNs) uniquely identify AWS resource. (This field is deprecated and only applies for `aws-eks` authentication, for `aws` is set in the auth)
5858

5959
**Credential based authentication:**
6060

@@ -76,7 +76,7 @@ metadata:
7676
namespace: keda-test
7777
spec:
7878
podIdentity:
79-
provider: aws-kiam # or aws-eks when using IRSA
79+
provider: aws
8080
---
8181
apiVersion: keda.sh/v1alpha1
8282
kind: ScaledObject

0 commit comments

Comments
 (0)