Add test for kube-aws basic & deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
committed by
Guillaume de Rouville
parent
a91181bb5f
commit
5fcaaa6cfe
18
docs/learn/tests/kube-aws/basic/config.cue
Normal file
18
docs/learn/tests/kube-aws/basic/config.cue
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/aws"
|
||||
"alpha.dagger.io/aws/eks"
|
||||
)
|
||||
|
||||
// Value created for generic reference of `kubeconfig` in `todoapp.cue`
|
||||
kubeconfig: eksConfig.kubeconfig
|
||||
|
||||
// awsConfig for Amazon connection
|
||||
awsConfig: aws.#Config
|
||||
|
||||
// eksConfig used for deployment
|
||||
eksConfig: eks.#KubeConfig & {
|
||||
// config field references `gkeConfig` value to set in once
|
||||
config: awsConfig
|
||||
}
|
Reference in New Issue
Block a user