This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/pkg/universe.dagger.io/x/vgjm456@qq.com/helm/test/test.cue
vgjm fe5496b3ff feat: support helm
Signed-off-by: vgjm <vgjm456@qq.com>
2022-04-16 14:10:01 +08:00

34 lines
715 B
CUE

package helm
import (
"dagger.io/dagger"
"universe.dagger.io/x/vgjm456@qq.com/helm"
)
dagger.#Plan & {
client: {
env: KUBECONFIG: string
commands: kubeconfig: {
name: "cat"
args: ["\(env.KUBECONFIG)"]
stdout: dagger.#Secret
}
}
actions: test: {
URL: helm.#Install & {
name: "test-pgsql"
source: "URL"
URL: "https://charts.bitnami.com/bitnami/postgresql-11.1.12.tgz"
kubeconfig: client.commands.kubeconfig.stdout
}
repository: helm.#Install & {
name: "test-redis"
source: "repository"
chart: "redis"
repoName: "bitnami"
repository: "https://charts.bitnami.com/bitnami"
kubeconfig: client.commands.kubeconfig.stdout
}
}
}