Merge pull request #568 from aluzzardi/kubernetes-apply-resources
stdlib: kubernetes: rename #Apply to #Resources
This commit is contained in:
commit
9cdde1318f
@ -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
|
||||
|
@ -43,8 +43,8 @@ import (
|
||||
]
|
||||
}
|
||||
|
||||
// Apply a Kubernetes configuration
|
||||
#Apply: {
|
||||
// Apply Kubernetes resources
|
||||
#Resources: {
|
||||
|
||||
// Kubernetes config to deploy
|
||||
source?: dagger.#Artifact @dagger(input)
|
||||
|
@ -26,7 +26,7 @@ TestKubeApply: {
|
||||
}
|
||||
|
||||
// Apply deployment
|
||||
apply: kubernetes.#Apply & {
|
||||
apply: kubernetes.#Resources & {
|
||||
"kubeconfig": kubeconfig
|
||||
namespace: "dagger-test"
|
||||
manifest: yaml.Marshal(kubeSrc)
|
||||
|
Reference in New Issue
Block a user