5b7b1cab79
- Refactored to keep every transformation of built-in types (e.g. FS, Secret, etc) to/from CUE in the same place (plancontext) - dagger.#Service and dagger.#Secret are now following the new FS-like format (e.g. `_service: id: string`) - Backward compatibility - dagger.#Stream is now an alias for dagger.#Service Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
---
|
|
sidebar_label: kubernetes
|
|
---
|
|
|
|
# alpha.dagger.io/kubernetes
|
|
|
|
Kubernetes client operations
|
|
|
|
```cue
|
|
import "alpha.dagger.io/kubernetes"
|
|
```
|
|
|
|
## kubernetes.#Kubectl
|
|
|
|
Kubectl client
|
|
|
|
### kubernetes.#Kubectl Inputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*version* | `*"v1.19.9" \| string` |Kubectl version |
|
|
|
|
### kubernetes.#Kubectl Outputs
|
|
|
|
_No output._
|
|
|
|
## kubernetes.#Resources
|
|
|
|
Apply Kubernetes resources
|
|
|
|
### kubernetes.#Resources Inputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*source* | `dagger.#Artifact` |Kubernetes config to deploy |
|
|
|*manifest* | `*null \| string` |Kubernetes manifest to deploy inlined in a string |
|
|
|*url* | `*null \| string` |Kubernetes manifest url to deploy remote configuration |
|
|
|*namespace* | `*"default" \| string` |Kubernetes Namespace to deploy to |
|
|
|*version* | `*"v1.19.9" \| string` |Version of kubectl client |
|
|
|*kubeconfig* | `(string\|struct)` |Kube config file |
|
|
|
|
### kubernetes.#Resources Outputs
|
|
|
|
_No output._
|