Files
netbird-kubernetes-operator/charts/netbird-operator/crds/netbird.io_nbpolicies.yaml
T
Philip LaineandGitHub ae34898735 Rename Helm chart and Docker image and move to GHCR (#233)
This change does a few things, none of these are breaking.

It changes the registry from Docker Hub to GHCR, as we dont have the
same rate limiting issues with unauthenticated pulls.

It changes the release process to push the Helm chart as an OCI artifact
removing the need for GH pages.

It renames both the image and chart from kubernetes-operator to
netbird-operator. This name is cleaner and easier for people to
understand in a sea of Helm charts. Funnily enough this is not a
breaking change as the release name is used and not the chart name. So
in place upgrades just work.

Fixes #207

Signed-off-by: Philip Laine <philip.laine@gmail.com>
2026-05-06 12:26:32 +02:00

132 lines
4.4 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.20.1
name: nbpolicies.netbird.io
spec:
group: netbird.io
names:
kind: NBPolicy
listKind: NBPolicyList
plural: nbpolicies
singular: nbpolicy
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: NBPolicy is the Schema for the nbpolicies API.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: NBPolicySpec defines the desired state of NBPolicy.
properties:
bidirectional:
default: true
type: boolean
description:
type: string
destinationGroups:
items:
minLength: 1
type: string
type: array
name:
description: Name Policy name
minLength: 1
type: string
ports:
items:
format: int32
maximum: 65535
minimum: 0
type: integer
type: array
protocols:
items:
enum:
- tcp
- udp
type: string
type: array
sourceGroups:
items:
minLength: 1
type: string
type: array
required:
- name
type: object
status:
description: NBPolicyStatus defines the observed state of NBPolicy.
properties:
conditions:
items:
description: NBCondition defines a condition in NBSetupKey status.
properties:
lastProbeTime:
description: Last time we probed the condition.
format: date-time
type: string
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
type: string
message:
description: Human-readable message indicating details about
last transition.
type: string
reason:
description: Unique, one-word, CamelCase reason for the condition's
last transition.
type: string
status:
description: |-
Status is the status of the condition.
Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
type: string
required:
- status
- type
type: object
type: array
lastUpdatedAt:
format: date-time
type: string
managedServiceList:
items:
type: string
type: array
tcpPolicyID:
type: string
udpPolicyID:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}