Skip to main content
Version: v1.8

Alibaba Cloud OSS-WEBSITE

Description

Alibaba Cloud OSS static webstie bucket.

Examples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: alibaba-cloud-oss-webstie
spec:
components:
- name: oss-website-example
type: alibaba-oss-website
properties:
acl: public-read
bucket: oss-website-example
index_document: index.html
error_document: 404.html
writeConnectionSecretToRef:
name: oss-website-conn

Specification

Properties

NameDescriptionTypeRequiredDefault
aclOSS bucket ACL, supported 'private', 'public-read', 'public-read-write'.stringfalse
bucketOSS bucket name.stringfalse
error_documentOSS bucket static website error document.stringfalse
index_documentOSS bucket static website index document.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

Outputs

If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:

NameDescription
BUCKET_NAME
EXTRANET_ENDPOINTOSS bucket external endpoint
INTRANET_ENDPOINTOSS bucket internal endpoint