Files
netbird-kubernetes-operator/PROJECT
T
Philip LaineandGitHub 6768a76c9c Add network router and resource (#189)
This change adds two new resources, NetworkRouter and NetworkResource,
which enable clusters to expose Kubernetes services to Netbird.

The NetworkRouter is responsible for creating the network, group, setup
key and routing peer all of which are unique to the isntance. Along with
the deployment of the client in the cluster.

The NetworkResource exposes a service by linking to the specific router
it wants to expose to. This makes coupling between the resource and
network easy to understand.

Routers also set a DNS zone which is used to give names to resources
based on the name and namespace of the service being exposed.

Part of #172

Signed-off-by: Philip Laine <philip.laine@gmail.com>
2026-04-23 08:55:49 +02:00

111 lines
2.5 KiB
Plaintext

# Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: netbird.io
layout:
- helm.kubebuilder.io/v1-alpha
- go.kubebuilder.io/v4
plugins:
helm.kubebuilder.io/v1-alpha: {}
projectName: kubernetes-operator
repo: github.com/netbirdio/kubernetes-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NBSetupKey
path: github.com/netbirdio/kubernetes-operator/api/v1
version: v1
webhooks:
validation: true
webhookVersion: v1
- external: true
kind: Pod
path: k8s.io/api/core/v1
version: v1
webhooks:
defaulting: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NBRoutingPeer
path: github.com/netbirdio/kubernetes-operator/api/v1
version: v1
webhooks:
validation: true
webhookVersion: v1
- controller: true
external: true
kind: Service
path: k8s.io/api/core/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NBResource
path: github.com/netbirdio/kubernetes-operator/api/v1
version: v1
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NBGroup
path: github.com/netbirdio/kubernetes-operator/api/v1
version: v1
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NBPolicy
path: github.com/netbirdio/kubernetes-operator/api/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: SetupKey
path: github.com/netbirdio/kubernetes-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: Group
path: github.com/netbirdio/kubernetes-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NetworkRouter
path: github.com/netbirdio/kubernetes-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: netbird.io
kind: NetworkResource
path: github.com/netbirdio/kubernetes-operator/api/v1alpha1
version: v1alpha1
version: "3"