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

missing s3_backup_force_path_style #548

Open
aep opened this issue Apr 10, 2024 · 2 comments
Open

missing s3_backup_force_path_style #548

aep opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@aep
Copy link

aep commented Apr 10, 2024

according to this change

https://github.com/vitessio/vitess/pull/4200/files

i believe s3_backup_force_path_style is needed to get backup to minio working.
hwoever, the CRD doesnt have that option in S3BackupLocation

@aep
Copy link
Author

aep commented Apr 10, 2024

it isnt actually missing. forcePathStyle is just missing from the docs here https://github.com/planetscale/vitess-operator/blob/main/docs/api.md

i would just send a PR, but the docs look autogenerated and i'm not sure from what

@mattlord
Copy link
Contributor

mattlord commented Apr 10, 2024

Hi @aep !

it isnt actually missing. forcePathStyle is just missing from the docs here https://github.com/planetscale/vitess-operator/blob/main/docs/api.md

Ah, I was going to say that I knew some people were using minio successfully.

i would just send a PR, but the docs look autogenerated and i'm not sure from what

That would be awesome! ❤️ The docs are built using the generate makefile target:

generate:
        go run sigs.k8s.io/controller-tools/cmd/controller-gen object crd:maxDescLen=0 paths="./pkg/apis/planetscale/v2" output:crd:artifacts:config=./deploy/crds
        go run github.com/ahmetb/gen-crd-api-reference-docs -api-dir planetscale.dev/vitess-operator/pkg/apis/planetscale/v2 -config ./docs/api/config.json -template-dir ./docs/api/template -out-file ./docs/api/index.html

And the docs are built from the code in pkg/apis/planetscale/v2/*.go.

I see it documented here:

docs/api/index.html:<code>forcePathStyle</code></br>
pkg/apis/planetscale/v2/vitessbackupstorage_types.go:   ForcePathStyle bool `json:"forcePathStyle,omitempty"`

What do you think is missing? You expected it to be somewhere else?

@mattlord mattlord self-assigned this Apr 10, 2024
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

No branches or pull requests

2 participants