added kubeconfig code in the example + updated readme
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"dagger.io/aws"
|
||||
"dagger.io/aws/eks"
|
||||
)
|
||||
|
||||
// Fill using:
|
||||
@@ -23,3 +24,8 @@ infra: #Infrastructure & {
|
||||
workerNodeCapacity: 1
|
||||
workerNodeInstanceType: "t3.small"
|
||||
}
|
||||
|
||||
kubeconfig: eks.#KubeConfig & {
|
||||
config: awsConfig
|
||||
clusterName: infra.clusterName
|
||||
}
|
||||
|
Reference in New Issue
Block a user