-
Notifications
You must be signed in to change notification settings - Fork 891
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
Minio S3 backup doesn't work due to certificate signed by unknown authority #978
Comments
This is likely due to the kube-tasks image being really old. Sadly, it no longer seems to be kept up to date. Alternatively, you could try using Velero instead (just a tool I have experience with personally). @timja I don't see an easy way of updating this. It might be a better idea to drop the whole |
I'm fine with that, @torstenwalter any thoughts? |
@kvanzuijlen I could implement backup and restore procedure in a 100 ways, but I wanted to stay inside of the solution that the Helm chart provides. Eventually I implemented the backup and restore with an AWS S3 bucket. |
Just to add on top of that, the issue I stumbled upon: |
@timja can be closed |
Describe the bug
Both backup and restore procedures do not work with a Minio S3 instance, let's call it
minio.lan
and the bucket name isjenkins-backup
.Result of backup cron job:
Result of the restore job:
Version of Helm and Kubernetes
Chart version
jenkins-4.11.1
What happened?
What you expected to happen?
For the backup job the files to be copied from Jenkins to the bucket and for the restore job from the bucket to Jenkins.
Also there is no way to alter the backup cron job via the Helm chart so we can maybe mount the certificate.
AWS_S3_NO_SSL
doesn't seem to do what is expected of it...How to reproduce it
backup: enabled: true existingSecret: jenkins-aws-s3-credentials: awsaccesskey: AWS_ACCESS_KEY_ID awssecretkey: AWS_SECRET_ACCESS_KEY env: - name: "AWS_S3_ENDPOINT" value: "https://minio.lan" - name: "AWS_S3_NO_SSL" value: "true" - name: "AWS_S3_FORCE_PATH_STYLE" value: "true" destination: "s3://jenkins-backup"
Anything else we need to know?
Both backup and restore worked with an AWS S3 bucket. Basically all the config is the same expect the environment which has only
AWS_REGION
set in the AWS S3 bucket case.Everything was done according to the official documentation: https://github.com/jenkinsci/helm-charts/tree/main/charts/jenkins#backup
Minio was configured according to: https://github.com/maorfr/skbn?tab=readme-ov-file#minio-s3-support
The text was updated successfully, but these errors were encountered: