Merge pull request #350 from TomChv/tests-aws-eks

This commit is contained in:
Andrea Luzzardi
2021-04-24 14:04:11 -07:00
committed by GitHub
3 changed files with 62 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
package eks
import (
"dagger.io/dagger"
"dagger.io/dagger/op"
"dagger.io/aws"
)
@@ -19,16 +18,19 @@ import (
// kubeconfig is the generated kube configuration file
kubeconfig: {
dagger.#Secret
// FIXME There is a problem with dagger.#Secret type
string
#up: [
op.#Load & {
from: aws.#CLI
},
op.#WriteFile & {
dest: "/entrypoint.sh"
content: #Code
},
op.#Exec & {
always: true
args: [