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

Feature/random hash #107

Merged
merged 38 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cfb2ee0
init: define basic random hash genreator functions
jaskeerat789 Nov 2, 2021
e0f6f02
init: define basic random hash genreator functions
jaskeerat789 Nov 2, 2021
c86eacc
Merge branch 'feacture/random-hash' of github.com:Berops/platform int…
jaskeerat789 Nov 2, 2021
41bbe7e
update(grpc): update make file for GRPC code gen
jaskeerat789 Nov 4, 2021
8076c7a
BUGGED: kube eleven fails after terraformer allocates resources
jaskeerat789 Nov 5, 2021
c294c67
cleanup: remove logging statements
jaskeerat789 Nov 5, 2021
a05b638
cleanup: delete commented code
jaskeerat789 Nov 5, 2021
41f268d
Auto commit - add new kustomization.yaml
Nov 5, 2021
90028ce
Auto commit - add new kustomization.yaml
Nov 5, 2021
79c13c0
update(grpc): update make file for GRPC code gen
jaskeerat789 Nov 4, 2021
593e6f6
BUGGED: kube eleven fails after terraformer allocates resources
jaskeerat789 Nov 5, 2021
b628bca
cleanup: remove logging statements
jaskeerat789 Nov 5, 2021
66beb28
cleanup: delete commented code
jaskeerat789 Nov 5, 2021
6f02c4b
Auto commit - add new kustomization.yaml
Nov 5, 2021
01014b1
Auto commit - add new kustomization.yaml
Nov 5, 2021
2ff843b
Merge branch 'feature/random-hash' of github.com:Berops/platform into…
jaskeerat789 Nov 8, 2021
7a111b0
init: define basic random hash genreator functions
jaskeerat789 Nov 2, 2021
4b4e845
update(grpc): update make file for GRPC code gen
jaskeerat789 Nov 4, 2021
c9ceb49
BUGGED: kube eleven fails after terraformer allocates resources
jaskeerat789 Nov 5, 2021
1700fb8
cleanup: delete commented code
jaskeerat789 Nov 5, 2021
7761d30
Auto commit - add new kustomization.yaml
Nov 5, 2021
e33ac6f
Auto commit - add new kustomization.yaml
Nov 5, 2021
0cbe152
Merge branch 'feature/random-hash' of github.com:Berops/platform into…
jaskeerat789 Nov 8, 2021
077d8e6
PB: generate pb files
jaskeerat789 Nov 8, 2021
c9247da
Auto commit - add new kustomization.yaml
Nov 8, 2021
25e39a4
Auto commit - add new kustomization.yaml
Nov 8, 2021
3639093
terraform: append hash to resource name
jaskeerat789 Nov 8, 2021
e97616d
Merge branch 'feature/random-hash' of github.com:Berops/platform into…
jaskeerat789 Nov 8, 2021
d339684
Auto commit - add new kustomization.yaml
Nov 8, 2021
d2fb174
fix: Etcd pod name supports only lowercase char
jaskeerat789 Nov 9, 2021
e89a9d7
tpl: add hash to the Clustername for backend.tpl
jaskeerat789 Nov 9, 2021
9035227
Auto commit - add new kustomization.yaml
Nov 9, 2021
3ea3b47
Merge master into feature/random-hash
github-actions[bot] Nov 10, 2021
3295741
trigger CI
jaskeerat789 Nov 10, 2021
7eae808
Auto commit - add new kustomization.yaml
Nov 10, 2021
761e61f
trigger CI
jaskeerat789 Nov 10, 2021
01be81b
Merge branch 'feature/random-hash' of github.com:Berops/platform into…
jaskeerat789 Nov 10, 2021
6c622cc
Auto commit - add new kustomization.yaml
Nov 10, 2021
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
10 changes: 5 additions & 5 deletions K8s-dev-cluster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ images:
- name: eu.gcr.io/platform-infrastructure-316112/platform/builder
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
- name: eu.gcr.io/platform-infrastructure-316112/platform/context-box
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
newTag: 79577d2f78f4c39153664bf832d6ae6620596f8b
- name: eu.gcr.io/platform-infrastructure-316112/platform/kube-eleven
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
newTag: 79577d2f78f4c39153664bf832d6ae6620596f8b
- name: eu.gcr.io/platform-infrastructure-316112/platform/scheduler
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
newTag: 79577d2f78f4c39153664bf832d6ae6620596f8b
- name: eu.gcr.io/platform-infrastructure-316112/platform/terraformer
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
newTag: 79577d2f78f4c39153664bf832d6ae6620596f8b
- name: eu.gcr.io/platform-infrastructure-316112/platform/testing-framework
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
- name: eu.gcr.io/platform-infrastructure-316112/platform/wireguardian
newTag: 7970bf38b2c4f59ab259eb32d00199a554ebbed3
newTag: 79577d2f78f4c39153664bf832d6ae6620596f8b
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#Generate all .proto files
gen:
protoc --proto_path=proto proto/*.proto --go_out=plugins=grpc:.
protoc --go-grpc_out=. --go_out=. proto/*.proto

contextbox:
go run services/context-box/server/server.go
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ module github.com/Berops/platform
go 1.16

require (
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/posener/complete/v2 v2.0.1-alpha.13 // indirect
github.com/rs/zerolog v1.25.0
github.com/spiffe/go-spiffe/v2 v2.0.0-beta.7
github.com/stretchr/testify v1.7.0
Expand Down
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
Expand Down Expand Up @@ -98,6 +104,11 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/posener/autogen v0.0.2/go.mod h1:23ND5WRzjjNM+lOMUvy4WudgDikSK3Sm0rmaXAfnIWo=
github.com/posener/complete/v2 v2.0.1-alpha.13 h1:xmeDzuCWM0E+hSq6hv4gZQBmiw+uz0zvXvqI7yFMcsk=
github.com/posener/complete/v2 v2.0.1-alpha.13/go.mod h1:+ndzg+QjkR+oKXdpgsPCdZTg67phWqV1atTotlxuyDg=
github.com/posener/script v1.1.5 h1:su+9YHNlevT+Hlq2Xul5skh5kYDIBE+x4xu+5mLDT9o=
github.com/posener/script v1.1.5/go.mod h1:Rg3ijooqulo05aGLyGsHoLmIOUzHUVK19WVgrYBPU/E=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
Expand All @@ -116,6 +127,7 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
Expand Down
1 change: 1 addition & 0 deletions proto/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ message Cluster {
string kubeconfig = 4;
string public_key = 5;
string private_key = 6;
string hash = 7;
repeated NodePool nodePools = 9;
repeated NodeInfo nodeInfos = 10;
}
Expand Down
2 changes: 1 addition & 1 deletion proto/contextBox.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package platform;
option go_package = "proto/pb";
import "config.proto";
import "proto/config.proto";

// Save
message SaveConfigRequest { Config config = 1; }
Expand Down
3 changes: 2 additions & 1 deletion proto/kubeEleven.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ syntax = "proto3";

package platform;

import "config.proto";
import "proto/config.proto";


option go_package = "proto/pb";

Expand Down
Loading