Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
df3ef08
1st test push interface
Janooski Apr 2, 2026
29dbf1f
Merge branch 'dev/autodiscover' into feature/push-interface
Janooski Apr 2, 2026
fe8dc49
change to gin-gonic
Janooski Apr 2, 2026
5e9aedc
change to gin
Janooski Apr 7, 2026
b7e12d7
adding openapi.yaml and generated code, still has bugs
Janooski Apr 8, 2026
5e50aba
add healthz and readyz interfaces to avoid pod crashing
Janooski Apr 8, 2026
0f230c2
move healthz and readyz back to port 8081
Janooski Apr 8, 2026
4d3dc8d
url paths dynamic
Janooski Apr 8, 2026
34be165
improve logging for troubleshooting
Janooski Apr 9, 2026
7c0e2bb
move gin router creation to apiserver package
Janooski Apr 9, 2026
4dd7c8c
small refactor
Janooski Apr 9, 2026
fa8540b
Merge branch 'feature/target-loading-architecture' into feature/push-…
Janooski Apr 20, 2026
dbbcb4f
can start push loader
Janooski Apr 20, 2026
3aae153
pass discovery message to loader
Janooski Apr 22, 2026
9316ca3
create multiple core.DiscoveredTarget
Janooski Apr 23, 2026
ffc2054
Merge branch 'feature/limit-target-loading' into feature/push-interface
Janooski Apr 23, 2026
005f961
Merge branch 'feature/limit-target-loading' into feature/push-interface
Janooski Apr 23, 2026
e73a253
pull interface only in apiserver
Janooski Apr 23, 2026
452a71a
Merge branch 'feature/limit-target-loading' into feature/push-interface
Janooski Apr 23, 2026
32cb077
add core.SendEvents, ShouldBindJSON doesn't work
Janooski Apr 23, 2026
8b4f5c9
tests with ShouldBindBodyJSON
Janooski Apr 23, 2026
ff4f2bb
fix import
Janooski Apr 26, 2026
00e9818
Merge branch 'feature/limit-target-loading' into feature/push-interface
Janooski Apr 26, 2026
ffbfd47
update api contract
Janooski Apr 26, 2026
8d7ee19
CreateTargets works for complete POST request
Janooski Apr 26, 2026
80d3211
manual implementation of required fields
Janooski Apr 27, 2026
b2d3c18
add URL templating
Janooski Apr 27, 2026
ab09c7c
small code refactor
Janooski Apr 29, 2026
0ff9bdf
tags wrapped in labels
Janooski Apr 30, 2026
7962d77
refactor
Janooski Apr 30, 2026
e5b7532
Merge branch 'feature/limit-target-loading' of https://github.com/gnm…
denyost May 1, 2026
5c37a2a
add dynamic endpoints
denyost May 1, 2026
e250a8a
Merge branch 'feature/limit-target-loading' of https://github.com/gnm…
denyost May 1, 2026
f8b92b2
verify acceptPush is enabled for webhook config
denyost May 1, 2026
4fda4f8
Merge branch 'feature/limit-target-loading' of https://github.com/gnm…
denyost May 1, 2026
c76fd18
Merge branch 'feature/limit-target-loading' of https://github.com/gnm…
denyost May 1, 2026
953aaa7
fix after merge
denyost May 1, 2026
f683a44
comments from weekly
Janooski May 4, 2026
fe31b0d
update manifests
Janooski May 4, 2026
2b4a0af
fix merge conflicts
Janooski May 4, 2026
2855ea3
Merge pull request #64 from gnmic/feature/push-new-architecture
Janooski May 4, 2026
08273d0
udpate contract
Janooski May 4, 2026
e04c9c5
Merge branch 'feature/limit-target-loading' of https://github.com/gnm…
denyost May 4, 2026
84012af
change logger
Janooski May 6, 2026
7fa3e5b
unit test for helpers
Janooski May 6, 2026
491e6a9
Merge branch 'feature/push-interface' of github.com:gnmic/operator in…
Janooski May 6, 2026
35c18a2
add ip checker and default port (if empty)
Janooski May 13, 2026
38c4ec6
auth with bearer token
Janooski May 17, 2026
003f7dd
bearer token created once as kubernetes secret
Janooski May 17, 2026
6b16f38
ci: bump actions/checkout from 4 to 6 (#3)
dependabot[bot] May 17, 2026
72766de
ci: bump docker/setup-buildx-action from 3 to 4 (#26)
dependabot[bot] May 17, 2026
6312ce2
ci: bump docker/login-action from 3 to 4 (#27)
dependabot[bot] May 17, 2026
a0e534d
ci: bump docker/setup-qemu-action from 3 to 4 (#30)
dependabot[bot] May 17, 2026
edf7908
ci: bump docker/metadata-action from 5 to 6 (#36)
dependabot[bot] May 17, 2026
e802c7d
fix unit tests
Janooski May 20, 2026
0929af4
auth refactor
Janooski May 20, 2026
73a2773
change gin default router
Janooski May 20, 2026
9d35608
update targetsource
denyost May 14, 2026
bcc0b4f
cherry-pick 5d95c90: DiscoveredTarget type changes
mcdillson May 20, 2026
d523adb
renamed IP to Address
mcdillson May 20, 2026
2c0d7cb
disabled JWTAuthSpec validations
mcdillson May 20, 2026
77a5bd4
cherry-pick 6a83f49: added TargetProfile variable to DiscoveredTarget
mcdillson May 21, 2026
85571f4
return if pagination field is empty
denyost May 21, 2026
8cdd529
refactor
denyost May 21, 2026
f94e8d1
use itemsField independent of pagination
denyost May 21, 2026
29f201f
rename ItemsField to TargetsField
denyost May 21, 2026
4d008c2
make tls caBundle more user friendly
denyost May 21, 2026
a69abdd
increase default poll interval
denyost May 21, 2026
4342d66
refactor fetchTargetsFromHTTPEndpoint
denyost May 21, 2026
7c1931d
Merge branch 'feature/discovery-e2e-implementation' into feature/push…
Janooski May 21, 2026
f158b53
openapi: correct routeloading, support udpated target fields
Janooski May 21, 2026
b9fd2dd
contract rendered as md
Janooski May 21, 2026
b2092c1
add _index.md
Janooski May 21, 2026
14883c9
move header to README.md
Janooski May 21, 2026
376ee8b
developed MessageProcessor + helper files (#72)
mcdillson May 21, 2026
4f06a21
Merge branch 'main' into feature/type-updates
mcdillson May 21, 2026
0d744ba
added port + targetProfile handling to mapper
mcdillson May 21, 2026
5b612f2
added webhook spec for authorization
mcdillson May 21, 2026
58b77d4
removed inline credential fields
mcdillson May 21, 2026
aa023ab
use itemsField independent of pagination
denyost May 21, 2026
fc6008d
rename ItemsField to TargetsField
denyost May 21, 2026
0c1b414
changed assertion to new webhook spec
mcdillson May 21, 2026
7e06e14
moved TargetsField to ResponseMappingSpec
mcdillson May 21, 2026
421d40f
changed validation rule for url or webhook
mcdillson May 21, 2026
85c46b5
reworked kubebuilder validations
mcdillson May 21, 2026
e7a62df
generated manifests
mcdillson May 21, 2026
513e539
update targetsource CRD
denyost May 22, 2026
bc2182f
cleanup secret fetching
denyost May 22, 2026
022ed92
refactor
denyost May 22, 2026
214810c
removed old webhook statements
mcdillson May 22, 2026
89bfbf5
changed pushSpec comment
mcdillson May 22, 2026
feb3717
Merge branch 'feature/type-updates' of https://github.com/gnmic/opera…
denyost May 22, 2026
0e14751
update webhook to push
denyost May 22, 2026
8d9730f
Merge branch 'feature/type-updates' of https://github.com/gnmic/opera…
denyost May 22, 2026
51cbf8c
Merge branch 'feature/type-updates' of https://github.com/gnmic/opera…
denyost May 22, 2026
e8c298e
fix after unlean merge
denyost May 22, 2026
b62f3f5
refactor CRD
denyost May 22, 2026
b3f4bbb
Merge branch 'feature/type-updates' of https://github.com/gnmic/opera…
denyost May 22, 2026
f390eae
fixes after merge
denyost May 22, 2026
722f53c
fix ip/address after merge
denyost May 22, 2026
d5be9a8
implement secret and configmap fetcher
denyost May 22, 2026
647e2a9
replace JSONPath mapping with CEL mapping
denyost May 22, 2026
1a486b1
update targetsource base
denyost May 22, 2026
b931a02
mapping of labels via CEL
denyost May 23, 2026
c2d49cb
fix nil pointer issue
denyost May 25, 2026
a9ddacd
remove missleading old comment
denyost May 25, 2026
f4fcf78
enable CEL extensions for advanced mapping
denyost May 25, 2026
0995dfe
fix: add optional types for CEL regex
denyost May 25, 2026
5c337e6
fix CEL OptionalTypes order
denyost May 25, 2026
eecee72
add support for POST and custom headers and body
denyost May 25, 2026
8a17aad
Handle different map representations returned by CEL
denyost May 25, 2026
1316082
changed interface{} to any
denyost May 25, 2026
c4a553c
normalize CEL returns
denyost May 25, 2026
9396550
simplify normalization of maps for CEL
denyost May 27, 2026
aea803e
refactor improve readability of getLabels
denyost May 27, 2026
dfbdc54
set default http method in targetsource_types
denyost May 27, 2026
522e8bf
refactor buildHTTPClient and add guards
denyost May 27, 2026
3ef7a45
refactor timeout error
denyost May 27, 2026
01c28b4
add guards for default values
denyost May 27, 2026
3f77f8a
refactor basic auth authorization
denyost May 27, 2026
99d32a8
refactor reduce complexity of applyAuthorization
denyost May 27, 2026
6ab7731
refactor: reduce complexity of buildHTTPClient
denyost May 27, 2026
a020b2a
add unit tests
denyost May 27, 2026
8255f83
Merge branch 'main' into feature/push-interface
mcdillson May 27, 2026
a7747be
Merge branch 'feature/pull-interface' into feature/push-interface
mcdillson May 27, 2026
47afe12
fix function call for Loader.Run()
mcdillson May 27, 2026
bc3c2c6
fixed http integration test resources based on type changes
mcdillson May 28, 2026
4600fde
Merge branch 'feature/type-updates' into feature/push-interface
mcdillson May 28, 2026
e3eefb3
apply target updates done in demo/autodiscover
Janooski Jun 1, 2026
9117981
remove documentaiton
Janooski Jun 1, 2026
0296f9e
remove generated openAPI documentation
Janooski Jun 1, 2026
422767d
add noAuthentication as an option
Janooski Jun 1, 2026
11b954c
Merge branch 'feature/push-interface' of github.com:gnmic/operator in…
Janooski Jun 1, 2026
9f2dc6d
temporarily add working targetsource definitions
Janooski Jun 3, 2026
52cb668
push interface integration test
Janooski Jun 3, 2026
4fcc001
fix configmap file
Janooski Jun 3, 2026
62a53d9
adjust when e2e tests run
Janooski Jun 3, 2026
c7d1e7b
Merge branch 'feature/push-interface' into feature/discovery-e2e-impl…
Janooski Jun 3, 2026
04b97f8
adjust makefile syntax
Janooski Jun 3, 2026
76a620f
change url of curl
Janooski Jun 3, 2026
536ad0d
sleep 3s after port-forwarding
Janooski Jun 3, 2026
91decfe
udpate configmap
Jun 3, 2026
1adf4c5
e2e worked locally
Janooski Jun 3, 2026
279aa3c
Merge branch 'feature/discovery-e2e-implementation-push' of github.co…
Janooski Jun 3, 2026
c82a6f2
file cleanup
Janooski Jun 3, 2026
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 .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# uses: actions/checkout@v6

# - name: Setup Go
# uses: actions/setup-go@v6
Expand All @@ -44,7 +44,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
Expand All @@ -71,7 +71,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
Expand All @@ -92,7 +92,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
Expand All @@ -119,7 +119,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand All @@ -34,21 +34,21 @@ jobs:
run: make test

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Helm
uses: azure/setup-helm@v4
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ delete-outputs-dev-lab: ## Delete the outputs for the development lab cluster
kubectl delete -f lab/dev/resources/outputs

.PHONY: apply-pipelines-dev-lab
apply-pipelines-dev-lab: ## Apply the pipelines for the development lab cluster
§apply-pipelines-dev-lab: ## Apply the pipelines for the development lab cluster
kubectl apply -f lab/dev/resources/pipelines

.PHONY: delete-pipelines-dev-lab
Expand All @@ -308,7 +308,7 @@ delete-targetsources-dev-lab: ## Delete the target sources for the development l
##@ Testing Lab

.PHONY: run-integration-tests
run-integration-tests: docker-build undeploy-test-cluster deploy-test-cluster install-test-cluster-dependencies load-test-image deploy deploy-test-http-server install-kubectl install-gnmic install-containerlab deploy-test-topology apply-test-resources
run-integration-tests: docker-build undeploy-test-cluster deploy-test-cluster install-test-cluster-dependencies load-test-image deploy deploy-test-http-server install-kubectl install-gnmic install-containerlab deploy-test-topology apply-test-resources send-target-to-apiserver
kubectl wait --for=condition=Ready cluster --all --timeout=180s
kubectl wait --for=condition=Ready pipeline --all --timeout=180s
kubectl wait --for=jsonpath='{.status.targetsCount}'=3 targetsource --all --timeout=180s
Expand Down
Loading