forked from KusionStack/kusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add configs in the workspace mod definition (KusionStack#1066)
- Loading branch information
Showing
12 changed files
with
314 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 19 additions & 13 deletions
32
pkg/workspace/storages/testdata/for_delete_workspaces/dev.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 24 additions & 20 deletions
44
pkg/workspace/storages/testdata/for_set_current_workspaces/dev.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
modules: | ||
database: | ||
default: | ||
instanceType: db.t3.micro | ||
type: aws | ||
version: "5.7" | ||
smallClass: | ||
projectSelector: | ||
- foo | ||
- bar | ||
instanceType: db.t3.small | ||
port: | ||
default: | ||
type: aws | ||
mysql: | ||
path: ghcr.io/kusionstack/mysql | ||
version: 0.1.0 | ||
configs: | ||
default: | ||
instanceType: db.t3.micro | ||
type: aws | ||
version: '5.7' | ||
smallClass: | ||
projectSelector: | ||
- foo | ||
- bar | ||
instanceType: db.t3.small | ||
network: | ||
configs: | ||
default: | ||
type: aws | ||
runtimes: | ||
kubernetes: | ||
kubeConfig: /etc/kubeconfig.yaml | ||
terraform: | ||
aws: | ||
source: hashicorp/aws | ||
version: 1.0.4 | ||
region: us-east-1 | ||
kubernetes: | ||
kubeConfig: /etc/kubeconfig.yaml | ||
terraform: | ||
aws: | ||
source: hashicorp/aws | ||
version: 1.0.4 | ||
region: us-east-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
modules: | ||
database: | ||
default: | ||
instanceType: db.t3.micro | ||
type: aws | ||
version: "5.7" | ||
smallClass: | ||
projectSelector: | ||
- foo | ||
- bar | ||
instanceType: db.t3.small | ||
port: | ||
default: | ||
type: aws | ||
mysql: | ||
path: ghcr.io/kusionstack/mysql | ||
version: 0.1.0 | ||
configs: | ||
default: | ||
instanceType: db.t3.micro | ||
type: aws | ||
version: '5.7' | ||
smallClass: | ||
projectSelector: | ||
- foo | ||
- bar | ||
instanceType: db.t3.small | ||
network: | ||
configs: | ||
default: | ||
type: aws | ||
runtimes: | ||
kubernetes: | ||
kubeConfig: /etc/kubeconfig.yaml | ||
terraform: | ||
aws: | ||
source: hashicorp/aws | ||
version: 1.0.4 | ||
region: us-east-1 | ||
kubernetes: | ||
kubeConfig: /etc/kubeconfig.yaml | ||
terraform: | ||
aws: | ||
source: hashicorp/aws | ||
version: 1.0.4 | ||
region: us-east-1 |
Oops, something went wrong.