This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/learn/tests/kube-gcp/basic/todoapp.cue
Tom Chauveau 2a15682386 Add test for kube-gcp basic step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:39 +02:00

17 lines
366 B
CUE

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
}