values.yaml
kubectl
is installed and configured locally, and can access the target EKS cluster.Item | Example Naming | Description |
---|---|---|
S3 Policy Name | dify-ee-irsa-<cluster_name>-s3-policy | Full access to the specified S3 bucket |
ECR Policy Name | dify-ee-irsa-<cluster_name>-ecr-policy | Full access to ECR and read-only access to CloudTrail |
ECR Policy Name | dify-ee-irsa-<cluster_name>-ecr-pull-only-policy | Allows pull-only operations from ECR |
Item | Example Naming | policy |
---|---|---|
IAM Role - S3 | DifyEE-Role-<cluster_name>-s3 | dify-ee-irsa-<cluster_name>-s3-policy |
IAM Role - S3 + ECR | DifyEE-Role-<cluster_name>-s3-ecr | dify-ee-irsa-<cluster_name>-s3-policy dify-ee-irsa-<cluster_name>-ecr-policy |
IAM Role - ECR Pull-only | DifyEE-Role-<cluster_name>-ecr-image-pull | dify-ee-irsa-<cluster_name>-ecr-pull-only-policy |
Purpose | Default Name | Bound IAM Role | Description |
---|---|---|---|
For dify-api, dify-worker | dify-api-sa | DifyEE-Role-<cluster_name>-s3 | Backend services access S3 for file uploads etc. |
For dify-plugin-crd build | dify-plugin-crd-sa | DifyEE-Role-<cluster_name>-s3-ecr | Accesses S3 and operates plugin image repositories |
For dify-plugin runtime | dify-plugin-runner-sa | DifyEE-Role-<cluster_name>-ecr-image-pull | Pulls plugin images for running plugins |
S3_REGION
, S3_BUCKET_NAME
).
values.yaml
dify-plugin-connector-sa
./irsa_one_click.sh
to create the S3 read/write role, this ARN will appear at the end of the script execution.