From 2d72303bc4e54ec5d584021247f0e413574d5efc Mon Sep 17 00:00:00 2001 From: Tom Chauveau Date: Thu, 22 Apr 2021 17:30:40 +0200 Subject: [PATCH] Fix AWS eks kubeconfig generation Signed-off-by: Tom Chauveau --- stdlib/aws/eks/eks.cue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stdlib/aws/eks/eks.cue b/stdlib/aws/eks/eks.cue index cd94428d..529a6d0e 100644 --- a/stdlib/aws/eks/eks.cue +++ b/stdlib/aws/eks/eks.cue @@ -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: [