6a442fae6c
Previously, we were embedding cue files directly in the doc, now we display it from real cue file that we also use to test our doc. I've add the first step of the kubernetes documentation adapted for kind Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
17 lines
366 B
CUE
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
|
|
}
|