├── .ct.yaml ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── pull_request_template.md ├── release.yml └── workflows │ ├── build.yml │ ├── codeql-analysis.yml │ ├── dockerfile-lint.yml │ ├── golangci-lint.yml │ ├── helm-docs.yml │ └── helm-lint.yml ├── .gitignore ├── .mkdocs.yml ├── .readthedocs.yml ├── .vscode ├── extensions.json └── settings.json ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── bin └── .gitignore ├── charts └── s3sync-service │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── ci │ ├── custom-sa-name.yaml │ ├── no-brac-custom-sa.yaml │ ├── no-rbac.yaml │ ├── secret-custom.yaml │ └── secret.yaml │ ├── docs-template.md │ ├── index.html │ ├── templates │ ├── NOTES.txt │ ├── _helpers.tpl │ ├── configmap.yaml │ ├── deployment.yaml │ ├── rbac.yaml │ └── secret.yaml │ └── values.yaml ├── docs ├── authentication.md ├── configuration.md ├── helm-charts.md ├── how-it-works.md ├── http-server.md ├── img │ ├── process-flow.png │ ├── reload-process-flow.png │ └── sample-dashboard.png ├── index.md ├── k8s-integration.md ├── limitations.md ├── prometheus-exporter.md ├── running-in-docker.md ├── running-locally.md ├── running-on-k8s.md └── s3-compatible.md ├── go.mod ├── go.sum ├── grafana └── sample-dashboard.json ├── lintconf.yaml ├── main.go ├── service ├── config.go ├── config_test.go ├── example_config.yml ├── helpers.go ├── http.go ├── http_test.go ├── k8s.go ├── k8s_test.go ├── local.go ├── local_test.go ├── logger.go ├── logger_test.go ├── main.go ├── main_test.go ├── s3.go ├── s3_test.go ├── watcher.go └── watcher_test.go └── test_data ├── test.file └── valid_config.yml /.ct.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.ct.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/dockerfile-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/dockerfile-lint.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/helm-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/helm-docs.yml -------------------------------------------------------------------------------- /.github/workflows/helm-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.github/workflows/helm-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.gitignore -------------------------------------------------------------------------------- /.mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.mkdocs.yml -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.readthedocs.yml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @mazay 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/README.md -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/bin/.gitignore -------------------------------------------------------------------------------- /charts/s3sync-service/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/.helmignore -------------------------------------------------------------------------------- /charts/s3sync-service/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/Chart.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/README.md -------------------------------------------------------------------------------- /charts/s3sync-service/ci/custom-sa-name.yaml: -------------------------------------------------------------------------------- 1 | serviceAccountName: foobar 2 | -------------------------------------------------------------------------------- /charts/s3sync-service/ci/no-brac-custom-sa.yaml: -------------------------------------------------------------------------------- 1 | createRbac: false 2 | serviceAccountName: foobar 3 | -------------------------------------------------------------------------------- /charts/s3sync-service/ci/no-rbac.yaml: -------------------------------------------------------------------------------- 1 | createRbac: false 2 | -------------------------------------------------------------------------------- /charts/s3sync-service/ci/secret-custom.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/ci/secret-custom.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/ci/secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/ci/secret.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/docs-template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/docs-template.md -------------------------------------------------------------------------------- /charts/s3sync-service/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/index.html -------------------------------------------------------------------------------- /charts/s3sync-service/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/NOTES.txt -------------------------------------------------------------------------------- /charts/s3sync-service/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/s3sync-service/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/configmap.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/templates/rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/rbac.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/templates/secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/templates/secret.yaml -------------------------------------------------------------------------------- /charts/s3sync-service/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/charts/s3sync-service/values.yaml -------------------------------------------------------------------------------- /docs/authentication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/authentication.md -------------------------------------------------------------------------------- /docs/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/configuration.md -------------------------------------------------------------------------------- /docs/helm-charts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/helm-charts.md -------------------------------------------------------------------------------- /docs/how-it-works.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/how-it-works.md -------------------------------------------------------------------------------- /docs/http-server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/http-server.md -------------------------------------------------------------------------------- /docs/img/process-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/img/process-flow.png -------------------------------------------------------------------------------- /docs/img/reload-process-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/img/reload-process-flow.png -------------------------------------------------------------------------------- /docs/img/sample-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/img/sample-dashboard.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/k8s-integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/k8s-integration.md -------------------------------------------------------------------------------- /docs/limitations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/limitations.md -------------------------------------------------------------------------------- /docs/prometheus-exporter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/prometheus-exporter.md -------------------------------------------------------------------------------- /docs/running-in-docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/running-in-docker.md -------------------------------------------------------------------------------- /docs/running-locally.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/running-locally.md -------------------------------------------------------------------------------- /docs/running-on-k8s.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/running-on-k8s.md -------------------------------------------------------------------------------- /docs/s3-compatible.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/docs/s3-compatible.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/go.sum -------------------------------------------------------------------------------- /grafana/sample-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/grafana/sample-dashboard.json -------------------------------------------------------------------------------- /lintconf.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/lintconf.yaml -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/main.go -------------------------------------------------------------------------------- /service/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/config.go -------------------------------------------------------------------------------- /service/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/config_test.go -------------------------------------------------------------------------------- /service/example_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/example_config.yml -------------------------------------------------------------------------------- /service/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/helpers.go -------------------------------------------------------------------------------- /service/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/http.go -------------------------------------------------------------------------------- /service/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/http_test.go -------------------------------------------------------------------------------- /service/k8s.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/k8s.go -------------------------------------------------------------------------------- /service/k8s_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/k8s_test.go -------------------------------------------------------------------------------- /service/local.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/local.go -------------------------------------------------------------------------------- /service/local_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/local_test.go -------------------------------------------------------------------------------- /service/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/logger.go -------------------------------------------------------------------------------- /service/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/logger_test.go -------------------------------------------------------------------------------- /service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/main.go -------------------------------------------------------------------------------- /service/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/main_test.go -------------------------------------------------------------------------------- /service/s3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/s3.go -------------------------------------------------------------------------------- /service/s3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/s3_test.go -------------------------------------------------------------------------------- /service/watcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/watcher.go -------------------------------------------------------------------------------- /service/watcher_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/service/watcher_test.go -------------------------------------------------------------------------------- /test_data/test.file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/test_data/test.file -------------------------------------------------------------------------------- /test_data/valid_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mazay/s3sync-service/HEAD/test_data/valid_config.yml --------------------------------------------------------------------------------