Skip to content

refactor rustfs template for Sealos deployment#643

Open
jockey-x wants to merge 4 commits intolabring-actions:kb-0.9from
jockey-x:rustfs-template-refresh
Open

refactor rustfs template for Sealos deployment#643
jockey-x wants to merge 4 commits intolabring-actions:kb-0.9from
jockey-x:rustfs-template-refresh

Conversation

@jockey-x
Copy link
Copy Markdown

PR Description
Refresh the RustFS template for Sealos by migrating it to template/rustfs/index.yaml, improving runtime config and defaults, and adding app-specific docs/assets.

Verified by successful deployment on Sealos.

description: 'S3 Access Key for authentication'
description: 'S3 access key used by RustFS for authentication'
type: string
default: ''
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A default value can be provided, in case the user enters too short a value, causing deployment failure.

description: 'S3 Secret Key for authentication'
description: 'S3 secret key used by RustFS for authentication'
type: string
default: ''
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A default value can be provided, in case the user enters too short a value, causing deployment failure.

cloud.sealos.io/app-deploy-manager: ${{ defaults.app_name }}
type: Opaque
data:
RUSTFS_ACCESS_KEY: ${{ base64(inputs.access_key) }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the base64 encoding work correctly here? I haven't tried it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants