Fix AWS eks kubeconfig generation

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-04-22 17:30:40 +02:00
parent d77c6f46ff
commit 2d72303bc4

View File

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