Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support automatically create OSS bucket if not exists #5133

Merged
merged 2 commits into from
Feb 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3915,6 +3915,10 @@
"description": "Bucket is the name of the bucket",
"type": "string"
},
"createBucketIfNotPresent": {
"description": "CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist",
"type": "boolean"
},
"endpoint": {
"description": "Endpoint is the hostname of the bucket endpoint",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7333,6 +7333,10 @@
"description": "Bucket is the name of the bucket",
"type": "string"
},
"createBucketIfNotPresent": {
"description": "CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist",
"type": "boolean"
},
"endpoint": {
"description": "Endpoint is the hostname of the bucket endpoint",
"type": "string"
Expand Down
1 change: 1 addition & 0 deletions docs/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -3408,6 +3408,7 @@ OSSArtifact is the location of an Alibaba Cloud OSS artifact
|:----------:|:----------:|---------------|
|`accessKeySecret`|[`SecretKeySelector`](#secretkeyselector)|AccessKeySecret is the secret selector to the bucket's access key|
|`bucket`|`string`|Bucket is the name of the bucket|
|`createBucketIfNotPresent`|`boolean`|CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist|
|`endpoint`|`string`|Endpoint is the hostname of the bucket endpoint|
|`key`|`string`|Key is the path in the bucket where the artifact resides|
|`secretKeySecret`|[`SecretKeySelector`](#secretkeyselector)|SecretKeySecret is the secret selector to the bucket's secret key|
Expand Down
10 changes: 10 additions & 0 deletions manifests/base/crds/full/argoproj.io_clusterworkflowtemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -1399,6 +1401,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -2247,6 +2251,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3211,6 +3217,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3652,6 +3660,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down
10 changes: 10 additions & 0 deletions manifests/base/crds/full/argoproj.io_cronworkflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -1420,6 +1422,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -2268,6 +2272,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3232,6 +3238,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3673,6 +3681,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down
34 changes: 34 additions & 0 deletions manifests/base/crds/full/argoproj.io_workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -1408,6 +1410,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -2256,6 +2260,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3220,6 +3226,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3661,6 +3669,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -6831,6 +6841,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -7189,6 +7201,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -7572,6 +7586,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -8840,6 +8856,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -9688,6 +9706,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -10652,6 +10672,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -11093,6 +11115,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -13645,6 +13669,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -14533,6 +14559,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -15381,6 +15409,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -16345,6 +16375,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -16786,6 +16818,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down
10 changes: 10 additions & 0 deletions manifests/base/crds/full/argoproj.io_workflowtemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -1398,6 +1400,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -2246,6 +2250,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3210,6 +3216,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down Expand Up @@ -3651,6 +3659,8 @@ spec:
type: object
bucket:
type: string
createBucketIfNotPresent:
type: boolean
endpoint:
type: string
key:
Expand Down
Loading