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

Fix Redis provisioning; Improve Redis with the latest AliCloud SDK and support for Cluster instances #113

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
350fbb3
require 1.20 go version
Melonbun233 May 23, 2024
ec0b231
fix secret generating shell
Melonbun233 May 13, 2024
37aa3fc
clean up AliCloud SDK error requestID
Melonbun233 May 14, 2024
83caf16
update redis parameters
Melonbun233 May 15, 2024
d182f6f
fix redis status to match AliCloud Redis status
Melonbun233 May 15, 2024
38694c2
add connection details to the cr status
Melonbun233 May 16, 2024
a8b0f3e
make vpc and vswitch id not optional
Melonbun233 May 16, 2024
0ce1100
change example region to eu; fix redis cr example
Melonbun233 May 23, 2024
1b5b90b
match apis with the spec from AliCloud official site
Melonbun233 May 23, 2024
49fde37
adapt all parameters from AliCloud API; fix unit tests
Melonbun233 May 23, 2024
d5decdc
change port api to integer type
Melonbun233 May 26, 2024
f13334d
fix user creation with default externalName
Melonbun233 May 26, 2024
1962a62
fix unit tests
Melonbun233 May 26, 2024
825c3bb
make all integer parameter pointer so they are not generated by json …
Melonbun233 May 27, 2024
5defaf1
upgrade crossplane runtime for bug fix
Melonbun233 May 30, 2024
783c3d8
fix duplicated redis provisioning bug
Melonbun233 May 30, 2024
37a3ac5
modify logger to use ISO8601 format
Melonbun233 May 30, 2024
47f53d8
fix unit tests
Melonbun233 May 30, 2024
5b53875
rename redis client functions to be more meaningful
Melonbun233 May 30, 2024
bf7f089
make redis instance describe to return instance attribute
Melonbun233 May 30, 2024
0a7dee4
prepare for controller update loop to accept more parameters
Melonbun233 May 31, 2024
6330fc5
automate securityIp after instance creation
Melonbun233 May 31, 2024
cb7b09c
support spec updates
Melonbun233 Jun 4, 2024
5466964
modify ip change
Melonbun233 Jun 4, 2024
9ccb815
add param change support
Melonbun233 Jun 4, 2024
2e794c5
use RealInstanceClass for cluster redis update'
Melonbun233 Jun 4, 2024
dd04415
remove shard updating from spec update
Melonbun233 Jun 4, 2024
36d0d61
fix parameter updates; add more entried in observation
Melonbun233 Jun 5, 2024
ef586cb
remove logging for testing
Melonbun233 Jun 5, 2024
cb73e27
remove DS_Store file
Melonbun233 Jul 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PLATFORMS ?= linux_amd64 linux_arm64
# Setup Go

# TODO(jastang): Upgrade Go version to be in-line with build submodule.
GO_REQUIRED_VERSION = 1.17
GO_REQUIRED_VERSION = 1.20

# Set a sane default so that the nprocs calculation below is less noisy on the initial
# loading of this file
Expand Down
3 changes: 2 additions & 1 deletion apis/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build generate
// +build generate

/*
Expand All @@ -23,7 +24,7 @@ limitations under the License.
//go:generate rm -rf ../package/crds

// Generate deepcopy methodsets and CRD manifests
//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:trivialVersions=true,crdVersions=v1 output:artifacts:config=../package/crds
//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:crdVersions=v1 output:artifacts:config=../package/crds

// Generate crossplane-runtime methodsets (resource.Claim, etc)
//go:generate go run -tags generate github.com/crossplane/crossplane-tools/cmd/angryjet generate-methodsets --header-file=../hack/boilerplate.go.txt ./...
Expand Down
Loading
Loading