Add test for kube-aws basic & deployment

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-08-16 16:34:07 +02:00
committed by Guillaume de Rouville
parent a91181bb5f
commit 5fcaaa6cfe
14 changed files with 376 additions and 108 deletions

View File

@@ -0,0 +1,16 @@
package main
import (
"alpha.dagger.io/dagger"
"alpha.dagger.io/kubernetes"
)
// input: kubernetes objects directory to deploy to
// set with `dagger input dir manifest ./k8s -e kube`
manifest: dagger.#Artifact & dagger.#Input
// Deploy the manifest to a kubernetes cluster
todoApp: kubernetes.#Resources & {
"kubeconfig": kubeconfig
source: manifest
}