Skip to content

Commit

Permalink
Move origin export config to an example file
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhlin authored and turetske committed Nov 5, 2024
1 parent 826da11 commit 8dad09d
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ nfpms:
- src: "systemd/examples/10-federation.yaml"
dst: "/etc/pelican/config.d/10-federation.yaml"
type: config|noreplace
- src: "systemd/examples/20-origin-exports.yaml"
dst: "/etc/pelican/config.d/20-origin-exports.yaml"
type: config|noreplace
- src: "systemd/examples/60-origin-multiuser.yaml"
dst: "/etc/pelican/config.d/60-origin-multiuser.yaml"
type: config|noreplace
Expand Down
47 changes: 47 additions & 0 deletions systemd/examples/20-origin-exports.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
#####################################################
# Origin export configuration
#
# Required configuration for sharing data through your origin service
#
# See Origin config here:
# https://docs.pelicanplatform.org/federating-your-data
#
# If serving an S3 origin, see:
# https://docs.pelicanplatform.org/federating-your-data/s3-backend
#####################################################

Origin:
# s3 or posix
StorageType:

# If 'StorageType: s3', uncomment and fill out the following:
# S3ServiceUrl:
# S3Region:
# S3UrlStyle:

# List of namespaces and backing filesystem or object store to serve
Exports:
# FederationPrefix is the namespace that your users will interact
# with to access data through your origin
- FederationPrefix:
# Possible capabilities: ["Reads", "PublicReads", "Writes", "DirectReads", "Listings"]
# https://docs.pelicanplatform.org/federating-your-data#origin-and-namespace-capabilities
Capabilities:

# If 'StorageType: posix', uncomment and fill out the following
# with the path to the POSIX filesystem to serve
# StoragePrefix:

# If 'StorageType: s3', uncomment and fill out the following:
# S3Bucket:

# If 'StorageType: s3', uncomment and fill out the following if
# they are required by the underlying object store:
# S3AccessKeyfile:
# S3SecretKeyfile:

# See multi-export configuration details here:
# https://docs.pelicanplatform.org/federating-your-data#multi-export-origins
# - FederationPrefix:
# Capabilities:
1 change: 0 additions & 1 deletion systemd/osdf-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ XRootD:
Sitename: TOPOLOGY_RESOURCE_NAME

Origin:
NamespacePrefix: "/MY_NAMESPACE"
RunLocation: /run/pelican/xrootd/osdf-origin
3 changes: 0 additions & 3 deletions systemd/pelican-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ ConfigLocations:

Logging:
LogLocation: /var/log/pelican/pelican-origin.log

Origin:
NamespacePrefix: "/MY_NAMESPACE"

0 comments on commit 8dad09d

Please sign in to comment.