Skip to content

Commit

Permalink
Removed deprecated secret-namespace references from examples (#380)
Browse files Browse the repository at this point in the history
* Removing secret-namespace ref from example-dataset-s3-secrets.yaml

Signed-off-by: Ryan Borstelmann <ryan@ryanb.tv>

* Removing secret-namespace ref from example-dataset-s3-provision.yaml

Signed-off-by: Ryan Borstelmann <ryan@ryanb.tv>

---------

Signed-off-by: Ryan Borstelmann <ryan@ryanb.tv>
  • Loading branch information
SlothCroissant authored Oct 3, 2024
1 parent 22dbf24 commit 075b8d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions examples/templates/example-dataset-s3-provision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ metadata:
spec:
local:
type: "COS"
secret-name: "{SECRET_NAME}" #see s3-secrets.yaml for an example
secret-namespace: "{SECRET_NAMESPACE}" #optional if the secret is in the same ns as dataset
secret-name: "{SECRET_NAME}" #see s3-secrets.yaml for an example. Must be in the same namespace.
endpoint: "{S3_SERVICE_URL}"
bucket: "{BUCKET_NAME}"
readonly: "true" # default is false
provision: "true" # DLF will allocate bucket on the COS if it doesn't exist [Default: false]
region: "" #it can be empty
region: "" #it can be empty
3 changes: 1 addition & 2 deletions examples/templates/example-dataset-s3-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
spec:
local:
type: "COS"
secret-name: "{SECRET_NAME}" #see s3-secrets.yaml for an example
secret-namespace: "{SECRET_NAMESPACE}" #optional if the secret is in the same ns as dataset
secret-name: "{SECRET_NAME}" #see s3-secrets.yaml for an example. Must be in the same namespace.
endpoint: "{S3_SERVICE_URL}"
bucket: "{BUCKET_NAME}"
readonly: "true" # default is false
Expand Down

0 comments on commit 075b8d6

Please sign in to comment.