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

Update controllers #271

Merged
merged 21 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e6e78ca
⬆️ Upgrade to go `1.20`
asimpleidea Mar 15, 2023
33dc681
feat(ctrl): Create manager constructor
asimpleidea Mar 15, 2023
7adbd6b
refactor(ctrls): create new namespace controller
asimpleidea Mar 15, 2023
880c67c
refactor(ns-ctrl): parse namespace labels
asimpleidea Mar 15, 2023
ed613a0
refactor(ctrls): create new utility functions
asimpleidea Mar 16, 2023
2f24398
refactor(ns-ctrl): use common controller options
asimpleidea Mar 16, 2023
2c3210c
refactor(ctrl): create new service controller
asimpleidea Mar 16, 2023
759649b
feat(serviceregistry): create event struct
asimpleidea Mar 22, 2023
e64e6b0
refactor(ctrl-utils): improve service checking
asimpleidea Mar 22, 2023
ad417cc
refactor(ctrls): send events to channel
asimpleidea Mar 22, 2023
b64288f
feat(event-handler): create namespace worker
asimpleidea Mar 22, 2023
4b04a0a
feat(events-handler): create events handler
asimpleidea Mar 22, 2023
9ec8681
refactor(ctrls): move to `pkg`
asimpleidea Mar 22, 2023
906e4e2
refactor(Dockerfile): update Dockerfile `FROM`
asimpleidea Mar 22, 2023
3a24ca6
refactor(ctrl): make more attempts to resolve IPs
asimpleidea Mar 24, 2023
ce3bcb5
feat(event-handler): use namespace workers
asimpleidea Mar 24, 2023
bb773b3
refactor(main): use new handlers and controllers
asimpleidea Mar 24, 2023
53f4f82
refactor(Dockerfile): update Dockerfile
asimpleidea Mar 24, 2023
60db1a3
Update dependencies
asimpleidea Mar 24, 2023
633df05
refactor: delete unused code
asimpleidea Mar 24, 2023
6951141
⬆️ update dependencies
asimpleidea Mar 27, 2023
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
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build binary
FROM golang:1.17 as builder
FROM golang:1.20 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -12,7 +12,6 @@ RUN go mod download
# Copy the go source
COPY main.go main.go
COPY utils.go utils.go
COPY controllers/ controllers/
COPY pkg/ pkg/
COPY internal/ internal/

Expand Down
182 changes: 0 additions & 182 deletions controllers/namespace_controller.go

This file was deleted.

142 changes: 0 additions & 142 deletions controllers/service_controller.go

This file was deleted.

Loading