Update helm and kubernetes tests to use new dagger.#Secret definition
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
@@ -21,12 +21,6 @@ import (
|
||||
from: kubernetes.#Kubectl
|
||||
},
|
||||
|
||||
op.#WriteFile & {
|
||||
dest: "/kubeconfig"
|
||||
content: config.contents
|
||||
mode: 0o600
|
||||
},
|
||||
|
||||
op.#WriteFile & {
|
||||
dest: "/getHelmPods.sh"
|
||||
content: #getHelmPods
|
||||
@@ -46,6 +40,7 @@ import (
|
||||
KUBECONFIG: "/kubeconfig"
|
||||
KUBE_NAMESPACE: namespace
|
||||
}
|
||||
mount: "/kubeconfig": secret: kubeconfig
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user