-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Alibaba Cloud OSS website resources (#275)
* Add Alibaba Cloud OSS website resources - create a website OSS bucket - deploy a static website in the bucket Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com> * rename definition name Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>
- Loading branch information
Showing
5 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
addons/terraform-alibaba/definitions/terraform-alibaba-oss-website-bucket.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: core.oam.dev/v1beta1 | ||
kind: ComponentDefinition | ||
metadata: | ||
annotations: | ||
definition.oam.dev/description: Alibaba Cloud OSS static webstie bucket | ||
creationTimestamp: null | ||
labels: | ||
type: terraform | ||
name: alibaba-oss-website | ||
namespace: vela-system | ||
spec: | ||
schematic: | ||
terraform: | ||
configuration: https://github.com/kubevela-contrib/terraform-modules.git | ||
path: alibaba/oss/website-bucket | ||
type: remote | ||
workload: | ||
definition: | ||
apiVersion: terraform.core.oam.dev/v1beta1 | ||
kind: Configuration | ||
status: {} |
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions
22
addons/terraform-alibaba/definitions/terraform-deploy-website.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: core.oam.dev/v1beta1 | ||
kind: ComponentDefinition | ||
metadata: | ||
annotations: | ||
definition.oam.dev/description: Deploy a Static Website in object stroage, like | ||
S3 and OSS | ||
creationTimestamp: null | ||
labels: | ||
type: terraform | ||
name: deploy-website | ||
namespace: vela-system | ||
spec: | ||
schematic: | ||
terraform: | ||
configuration: https://github.com/kubevela-contrib/terraform-modules.git | ||
path: alibaba/oss/deploy-website | ||
type: remote | ||
workload: | ||
definition: | ||
apiVersion: terraform.core.oam.dev/v1beta1 | ||
kind: Configuration | ||
status: {} |