stdlib: kubernetes: rename #Apply to #Resources

Code convention: use nouns instead of verbs whenever possible.

Reasoning: One can apply just about anything to Kubernetes via this:
deployment, load balancer, RBAC policy, a custom CRD resource, etc.

Upstream those are called resources: You give `kubectl apply` one or more
manifests and it will create the corresponding resources.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-06-04 14:03:35 -07:00
parent 19db780de4
commit a5e9ac8a0f
3 changed files with 4 additions and 4 deletions

View File

@@ -43,8 +43,8 @@ import (
]
}
// Apply a Kubernetes configuration
#Apply: {
// Apply Kubernetes resources
#Resources: {
// Kubernetes config to deploy
source?: dagger.#Artifact @dagger(input)