Skip to content

Commit 0d073fa

Browse files
committed
Add ToC
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 805ba59 commit 0d073fa

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

_posts/2025-07-09-irsa-functions.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ Both AWS Lambda and OpenFaaS can be used to manage resources within AWS, with ei
2424

2525
Our function will be used to create repositories in Elastic Container Registry (ECR). This is a common task for teams that run OpenFaaS in a multi-tenant environment, where each tenant or team publishes their own functions to the platform. It'll receive credentials using IAM Roles for Service Accounts (IRSA), which is the most modern way to map Kubernetes Service Accounts to native AWS IAM roles.
2626

27+
Contents:
28+
29+
* [Create an EKS cluster with IRSA enabled](#create-an-eks-cluster-with-irsa-enabled)
30+
* [Install OpenFaaS Standard or For Enterprises](#install-openfaas-standard-or-for-enterprises)
31+
* [IAM Policy for ECR Access](#iam-policy-for-ecr-access)
32+
* [Create IAM Role and Service Account](#create-iam-role-and-service-account)
33+
* [Create a function that uses the IAM Role](#create-a-function-that-uses-the-iam-role)
34+
* [Invoke the function to create a new repository](#invoke-the-function-to-create-a-new-repository)
35+
* [Wrapping up and next steps](#wrapping-up-and-next-steps)
36+
2737
## Create an EKS cluster with IRSA enabled
2838

2939
You may already have an AWS EKS cluster provisioned, if so, you can enable IRSA by following these instructions: [IRSA on EKS](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).
@@ -277,7 +287,7 @@ aws ecr list-images --repository-name tenant1/fn1 --region eu-west-1
277287
aws ecr describe-repositories --repository-name tenant1/fn1 --region eu-west-1
278288
```
279289

280-
## Wrapping up
290+
## Wrapping up and next steps
281291

282292
In a very short period of time, we created a function using the `golang-middleware` template, added the AWS SDK for Go as a dependency, and used it to create a repository in ECR.
283293

0 commit comments

Comments
 (0)