stdlib: kubernetes: misc fixes

- `source` is now optional
- `sourceInline` renamed to `manifest`
- `kubeconfig` is a `string` rather than a `dagger.#Secret`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-06-01 18:58:18 -07:00
parent 413dec63a0
commit 2e748c9c31
3 changed files with 16 additions and 15 deletions

View File

@@ -37,9 +37,9 @@ cluster: eks.#KubeConfig & {
// Example of a simple `kubectl apply` using a simple config
kubeApply: kubernetes.#Apply & {
sourceInline: yaml.Marshal(kubeSrc)
namespace: "test"
kubeconfig: cluster.kubeconfig
manifest: yaml.Marshal(kubeSrc)
namespace: "test"
kubeconfig: cluster.kubeconfig
}
// Example of a `helm install` using a local chart