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

User Cluster Backup Configuration for Minio Backend via KKP UI #6732

Closed
toschneck opened this issue Jul 4, 2024 · 4 comments · Fixed by #6738
Closed

User Cluster Backup Configuration for Minio Backend via KKP UI #6732

toschneck opened this issue Jul 4, 2024 · 4 comments · Fixed by #6738
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. sig/api Denotes a PR or issue as being assigned to SIG API. sig/ui Denotes a PR or issue as being assigned to SIG UI.
Milestone

Comments

@toschneck
Copy link
Member

toschneck commented Jul 4, 2024

Description of the feature you would like to add / User story

As a KKP project admin
I would like to configure as backup target an minio endpoint
in order to use my existing seed minio or self-hosted minio

Solution details

Currently the UI doesn't have an option to set all parameters of the AWS Backupstorage Class of Velero.
Backup Storage Locations in Project 'Area Pre-Sales 🚀' 2024-07-04 23-08-53

E.g. for minio it's required to set the value s3ForcePathStyle: "true"

To be generic, it would be good to have an additional yaml block field to add additional parameters to the config for the Backup Storage Location (for AWS) Object

Alternative approaches

Currently a config via the CRDS is possible, but not documented (see kubermatic/docs#1707)

apiVersion: kubermatic.k8c.io/v1
kind: ClusterBackupStorageLocation
metadata:
  labels:
    csbl-display-name: seed-minio
    project-id: nczgr7n44g
  name: seed-minio-nczgr7n44g
  namespace: kubermatic
spec:
  backupSyncPeriod: 1m0s
  config:
    region: minio
    ####  NOTE: URL must be accisble from the user cluster network scope
    s3Url: https://minio.demo.kubermatic.io 
    # Whether to use path-style addressing instead of virtual hosted bucket addressing. Set to "true"
    # if using a local storage service like MinIO.
    #
    # Optional (defaults to "false").
    s3ForcePathStyle: "true"
    # If specified, use this instead of "s3Url" when generating download URLs (e.g., for logs). This
    # field is primarily for local storage services like MinIO.
    #
  credential:
    key: cloud-credentials
    name: credential-seed-minio-nczgr7n44g-h6qkj
  objectStorage:
    bucket: user-cluster-backup
  provider: aws

Use cases

Flexible Backup Storage Location Config for on-premise Storage

Additional information

@toschneck toschneck added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 4, 2024
@toschneck
Copy link
Member Author

/assign @csengerszabo

@csengerszabo
Copy link
Contributor

/label sig/api
/label sig/ui

@kubermatic-bot kubermatic-bot added sig/api Denotes a PR or issue as being assigned to SIG API. sig/ui Denotes a PR or issue as being assigned to SIG UI. labels Jul 8, 2024
@csengerszabo
Copy link
Contributor

/assign @ahmadhamzh

@csengerszabo
Copy link
Contributor

/transfer-issue dashboard

@kubermatic-bot kubermatic-bot transferred this issue from kubermatic/kubermatic Jul 9, 2024
@ahmedwaleedmalik ahmedwaleedmalik added this to the KKP 2.26 milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. sig/api Denotes a PR or issue as being assigned to SIG API. sig/ui Denotes a PR or issue as being assigned to SIG UI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants