Skip to content

Commit

Permalink
Improve files structure
Browse files Browse the repository at this point in the history
  • Loading branch information
1doce8 committed Oct 29, 2024
1 parent 84e8133 commit b0ed194
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
tests/routes:
kubectl apply -f tests/crd-route.yaml

tests/groups:
kubectl apply -f tests/crd-group.yaml

update-crd:
kubectl apply -f deployments/crd-scheme.yaml

update-ver:
sudo docker build -t 1doce8/netbird-operator:latest .
sudo docker push 1doce8/netbird-operator
kubectl delete -f k8s.yaml
kubectl apply -f k8s.yaml

build:
sudo docker build -t 1doce8/netbird-operator:latest .
sudo docker push 1doce8/netbird-operator

redeploy:
kubectl delete -f k8s.yaml
kubectl apply -f k8s.yaml
1 change: 0 additions & 1 deletion crd-scheme.yaml → deployments/crd-scheme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ spec:
group: gitops.netbird.io
names:
kind: Groups
# listKind: NetbirdGroupList
plural: groups
singular: group
scope: Namespaced
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions crd2.yaml → tests/crd-group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ metadata:
name: test-group
namespace: netbird-system
spec:
name: "Test"
description: "Test"
name: "Test-Group"
description: "Test Group"
File renamed without changes.

0 comments on commit b0ed194

Please sign in to comment.