diff --git a/examples/kubernetes-app/main.cue b/examples/kubernetes-app/main.cue index 31247209..3185ef5b 100644 --- a/examples/kubernetes-app/main.cue +++ b/examples/kubernetes-app/main.cue @@ -36,7 +36,7 @@ cluster: eks.#KubeConfig & { } // Example of a simple `kubectl apply` using a simple config -kubeApply: kubernetes.#Apply & { +kubeApply: kubernetes.#Resources & { manifest: yaml.Marshal(kubeSrc) namespace: "test" kubeconfig: cluster.kubeconfig diff --git a/stdlib/kubernetes/kubernetes.cue b/stdlib/kubernetes/kubernetes.cue index f6499a92..55aa4c5f 100644 --- a/stdlib/kubernetes/kubernetes.cue +++ b/stdlib/kubernetes/kubernetes.cue @@ -43,8 +43,8 @@ import ( ] } -// Apply a Kubernetes configuration -#Apply: { +// Apply Kubernetes resources +#Resources: { // Kubernetes config to deploy source?: dagger.#Artifact @dagger(input) diff --git a/tests/stdlib/kubernetes/kubernetes.cue b/tests/stdlib/kubernetes/kubernetes.cue index 123f26ba..311b247a 100644 --- a/tests/stdlib/kubernetes/kubernetes.cue +++ b/tests/stdlib/kubernetes/kubernetes.cue @@ -26,7 +26,7 @@ TestKubeApply: { } // Apply deployment - apply: kubernetes.#Apply & { + apply: kubernetes.#Resources & { "kubeconfig": kubeconfig namespace: "dagger-test" manifest: yaml.Marshal(kubeSrc)