added kubeconfig code in the example + updated readme
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# Kubernetes on AWS (EKS)
|
||||
|
||||
This example creates a new EKS cluster and outputs its corresponding kubeconfig
|
||||
|
||||
## How to run
|
||||
|
||||
```sh
|
||||
dagger compute . \
|
||||
--input-string awsConfig.accessKey="MY_AWS_ACCESS_KEY" \
|
||||
--input-string awsConfig.secretKey="MY_AWS_SECRET_KEY"
|
||||
--input-string awsConfig.secretKey="MY_AWS_SECRET_KEY" \
|
||||
| jq -j '.kubeconfig.kubeconfig' > kubeconfig
|
||||
```
|
||||
|
Reference in New Issue
Block a user