You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add kubebuild init files, titfile and few command to makefile for running locally
* add kind config yaml for local k8s kind cluster
* modify the make file , deploy working
* define s3 bucket type
* add readme and script for local running
* add input validition and RetryPeriod
* edit titfile
* add aws client functions
* insert create and delete bucket functionality , modify the tiltfile
* add gettter to aws client , and helm commands to localstack
* support encrypt bucket
* add resource map to manage k8s resource agianst aws resource
* fix delete resource
* fix run loclal script, add logs to delete flow
* fix deletion of bucket in aws
* support deletion of bucket policy and creation and deletion of iam role
* support deletion of bucket policy and creation and deletion of iam role
* add bucket name validation
* bucketname validation
* syntax
* refactor: remove unused files in bin folder + update git ignore
* fix: change runLocalenv.sh script variable defenitions
* add tests folder
* update git ignore
* add varieble file to config
* remove region from s3 resource
* move cred var to deploy yaml
* fix: makefile controller-gen
* add devmode var
* add to readme: golang version
* add cleanup bucket function to delete flow
* move config varibels under controllers folder
* edit logs
* test
* change delete logic
* edit logs
* chang looger logic, fix put tgs function
* add logs for update flow
* remove comment
* a
* change kind cluster
* add system test , edit run local script to deploy ingress controller
* change port to 4566, fix putting tags
* edit: readme, add update test
* crate k8s client function
* crate k8s client function
* fix scripts
* edit delete bucket test
* add logs to tests, fix update tags function and edit logs
* change tag prefix var
Co-authored-by: Niv Raviv <[email protected]>
Co-authored-by: shaimoria <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+15-2
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,10 @@ Requirements:
15
15
16
16
**Quick Start**
17
17
18
-
This script will create kind cluster, build image and deploy it and will run local aws on cluster ([localstack](https://github.com/localstack/localstack))
18
+
This script will create kind cluster,
19
+
build image of the controller and deploy it,
20
+
deploy kong ingress controller
21
+
and will run local aws on cluster with ingress ([localstack](https://github.com/localstack/localstack))
19
22
```bash
20
23
sh ./hack/scripts/runLocalEnv.sh # you might need to run this as sudo if a regular user can't use docker
21
24
@@ -25,7 +28,17 @@ sh ./hack/scripts/runLocalEnv.sh # you might need to run this as sudo if a regul
25
28
26
29
Todo
27
30
28
-
### Development using Tilt
31
+
### **Run system tests**
32
+
The tests run against your local kind cluster and the [localstack](https://github.com/localstack/localstack) service that run on your cluster.
33
+
34
+
run tests:
35
+
```bash
36
+
1. upload local env:
37
+
1.1. sh ./hack/scripts/runLocalEnv.sh
38
+
2. go test ./tests/systemTest/system_test.go -v # -v flag for log all tests as they are run
39
+
```
40
+
41
+
### **Development using Tilt**
29
42
30
43
The recommended development flow is based on [Tilt](https://tilt.dev/) - it is used for quick iteration on code running in live containers.
31
44
Setup based on [official docs](https://docs.tilt.dev/example_go.html) can be found in the Tiltfile.
0 commit comments