Skip to content

Commit

Permalink
Implement etcd-backup-restore on OSS of Alicloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Minchao Wang committed Feb 14, 2019
1 parent b173f99 commit 52ab51f
Show file tree
Hide file tree
Showing 9 changed files with 528 additions and 48 deletions.
104 changes: 58 additions & 46 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ required = ["github.com/coreos/bbolt"]
name = "github.com/prometheus/client_golang"
version = "0.9.2"

[[constraint]]
name = "github.com/aliyun/aliyun-oss-go-sdk"
version = "1.9.4"

[[override]]
name = "gopkg.in/fsnotify.v1"
source = "https://github.com/fsnotify/fsnotify.git"
source = "https://github.com/fsnotify/fsnotify.git"

[[override]]
name = "github.com/ugorji/go"
revision = "b4c50a2b199d93b13dc15e78929cfb23bfdf21ab"
4 changes: 4 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ https://github.com/gophercloud/gophercloud.
Copyright 2012-2013 Rackspace, Inc.
Apache 2 license (https://github.com/gophercloud/gophercloud/blob/master/LICENSE)

Alibaba Cloud OSS SDK for Go.
https://github.com/aliyun/aliyun-oss-go-sdk.
Copyright 2019 The Alibaba Cloud Authors
Apache 2 license (https://github.com/aliyun/aliyun-oss-go-sdk/blob/master/README.md)

Prometheus instrumentation library for Go applications.
https://github.com/prometheus/client_golang.
Expand Down
20 changes: 20 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,26 @@ tls:
# podAnnotations will be placed to the resulting etcd pod
podAnnotations: {}

# Alicloud OSS storage configuration
# Note: No volumeMounts needed
# storageProvider: "OSS"
# env:
# - name: "ALICLOUD_ENDPOINT"
# valueFrom:
# secretKeyRef:
# name: etcd-backup
# key: "storageEndpoint"
# - name: "ALICLOUD_ACCESS_KEY_ID"
# valueFrom:
# secretKeyRef:
# name: etcd-backup
# key: "accessKeyID"
# - name: "ALICLOUD_ACCESS_KEY_SECRET"
# valueFrom:
# secretKeyRef:
# name: etcd-backup
# key: "accessKeySecret"

# Aws S3 storage configuration
# Note: No volumeMounts variable needed
# storageProvider: "S3"
Expand Down
Loading

0 comments on commit 52ab51f

Please sign in to comment.