Add test for kube-aws basic & deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
committed by
Guillaume de Rouville
parent
a91181bb5f
commit
5fcaaa6cfe
16
docs/learn/tests/kube-aws/basic/todoapp.cue
Normal file
16
docs/learn/tests/kube-aws/basic/todoapp.cue
Normal 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
|
||||
}
|
Reference in New Issue
Block a user