Skip to content

Commit 1648c75

Browse files
Regenerate Helm Chart and Documentation
1 parent 0f388b4 commit 1648c75

6 files changed

Lines changed: 43 additions & 21 deletions

File tree

‎charts/network-operator/templates/crd/interfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ spec:
7979
- Normal
8080
- Edge
8181
- Network
82+
- Trunk
8283
type: string
8384
required:
8485
- portType

‎charts/network-operator/templates/crd/routingpolicies.networking.metal.ironcore.dev.yaml‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ spec:
143143
Only applicable when RouteDisposition is AcceptRoute.
144144
properties:
145145
setASPath:
146-
description: |-
147-
SetASPath configures modifications to the BGP AS path attribute.
148-
Not all providers may support this action.
146+
description: SetASPath configures modifications to the
147+
BGP AS path attribute.
149148
properties:
150149
asNumber:
151150
anyOf:
@@ -166,12 +165,11 @@ spec:
166165
description: |-
167166
ASNumber is the autonomous system number to prepend to the AS path.
168167
Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396.
169-
Mutually exclusive with useLastAS.
170168
x-kubernetes-int-or-string: true
171169
useLastAS:
172-
description: |-
173-
UseLastAS prepends the last AS number in the existing AS path the specified number of times.
174-
Mutually exclusive with asNumber.
170+
description: UseLastAS prepends the last AS
171+
number in the existing AS path the specified
172+
number of times.
175173
format: int32
176174
maximum: 10
177175
minimum: 1
@@ -192,12 +190,10 @@ spec:
192190
description: |-
193191
ASNumber targets a specific AS number in the path for replacement.
194192
Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396.
195-
Mutually exclusive with privateAS.
196193
x-kubernetes-int-or-string: true
197194
privateAS:
198-
description: |-
199-
PrivateAS, when set to true, targets all private AS numbers in the path for replacement.
200-
Mutually exclusive with asNumber.
195+
description: PrivateAS, when set to true, targets
196+
all private AS numbers in the path for replacement.
201197
type: boolean
202198
replacement:
203199
anyOf:

‎charts/network-operator/templates/manager/manager.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ spec:
8787
{}
8888
{{- end }}
8989
volumeMounts:
90+
{{- if .Values.manager.extraVolumeMounts }}
91+
{{- toYaml .Values.manager.extraVolumeMounts | nindent 10 }}
92+
{{- end }}
9093
{{- if .Values.certManager.enable }}
9194
- mountPath: /tmp/k8s-webhook-server/serving-certs
9295
name: webhook-certs
@@ -101,6 +104,9 @@ spec:
101104
serviceAccountName: {{ include "network-operator.resourceName" (dict "suffix" "controller-manager" "context" $) }}
102105
terminationGracePeriodSeconds: 10
103106
volumes:
107+
{{- if .Values.manager.extraVolumes }}
108+
{{- toYaml .Values.manager.extraVolumes | nindent 8 }}
109+
{{- end }}
104110
{{- if .Values.certManager.enable }}
105111
- name: webhook-certs
106112
secret:

‎charts/network-operator/templates/webhook/validating-webhook-configuration.yaml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,26 @@ webhooks:
108108
resources:
109109
- prefixsets
110110
sideEffects: None
111+
- admissionReviewVersions:
112+
- v1
113+
clientConfig:
114+
service:
115+
name: {{ include "network-operator.resourceName" (dict "suffix" "webhook-service" "context" $) }}
116+
namespace: {{ .Release.Namespace }}
117+
path: /validate-networking-metal-ironcore-dev-v1alpha1-routingpolicy
118+
failurePolicy: Fail
119+
name: routingpolicy-v1alpha1.kb.io
120+
rules:
121+
- apiGroups:
122+
- networking.metal.ironcore.dev
123+
apiVersions:
124+
- v1alpha1
125+
operations:
126+
- CREATE
127+
- UPDATE
128+
resources:
129+
- routingpolicies
130+
sideEffects: None
111131
- admissionReviewVersions:
112132
- v1
113133
clientConfig:

‎docs/api-reference/index.md‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ _Appears in:_
649649
| --- | --- | --- | --- |
650650
| `setCommunity` _[SetCommunityAction](#setcommunityaction)_ | SetCommunity configures BGP standard community attributes. | | Optional: \{\} <br /> |
651651
| `setExtCommunity` _[SetExtCommunityAction](#setextcommunityaction)_ | SetExtCommunity configures BGP extended community attributes. | | Optional: \{\} <br /> |
652-
| `setASPath` _[SetASPathAction](#setaspathaction)_ | SetASPath configures modifications to the BGP AS path attribute.<br />Not all providers may support this action. | | Optional: \{\} <br /> |
652+
| `setASPath` _[SetASPathAction](#setaspathaction)_ | SetASPath configures modifications to the BGP AS path attribute. | | Optional: \{\} <br /> |
653653

654654

655655
#### Certificate
@@ -2636,8 +2636,8 @@ _Appears in:_
26362636

26372637
| Field | Description | Default | Validation |
26382638
| --- | --- | --- | --- |
2639-
| `asNumber` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#intorstring-intstr-util)_ | ASNumber is the autonomous system number to prepend to the AS path.<br />Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396.<br />Mutually exclusive with useLastAS. | | Optional: \{\} <br /> |
2640-
| `useLastAS` _integer_ | UseLastAS prepends the last AS number in the existing AS path the specified number of times.<br />Mutually exclusive with asNumber. | | Maximum: 10 <br />Minimum: 1 <br />Optional: \{\} <br /> |
2639+
| `asNumber` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#intorstring-intstr-util)_ | ASNumber is the autonomous system number to prepend to the AS path.<br />Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396. | | Optional: \{\} <br /> |
2640+
| `useLastAS` _integer_ | UseLastAS prepends the last AS number in the existing AS path the specified number of times. | | Maximum: 10 <br />Minimum: 1 <br />Optional: \{\} <br /> |
26412641

26422642

26432643
#### SetASPathReplace
@@ -2654,8 +2654,8 @@ _Appears in:_
26542654

26552655
| Field | Description | Default | Validation |
26562656
| --- | --- | --- | --- |
2657-
| `privateAS` _boolean_ | PrivateAS, when set to true, targets all private AS numbers in the path for replacement.<br />Mutually exclusive with asNumber. | | Optional: \{\} <br /> |
2658-
| `asNumber` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#intorstring-intstr-util)_ | ASNumber targets a specific AS number in the path for replacement.<br />Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396.<br />Mutually exclusive with privateAS. | | Optional: \{\} <br /> |
2657+
| `privateAS` _boolean_ | PrivateAS, when set to true, targets all private AS numbers in the path for replacement. | | Optional: \{\} <br /> |
2658+
| `asNumber` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#intorstring-intstr-util)_ | ASNumber targets a specific AS number in the path for replacement.<br />Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396. | | Optional: \{\} <br /> |
26592659
| `replacement` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.35/#intorstring-intstr-util)_ | Replacement is the AS number to substitute in place of matched AS numbers.<br />Supports both plain format (1-4294967295) and dotted notation (1-65535.0-65535) as per RFC 5396. | | Required: \{\} <br /> |
26602660

26612661

@@ -3563,7 +3563,7 @@ _Appears in:_
35633563

35643564
| Field | Description | Default | Validation |
35653565
| --- | --- | --- | --- |
3566-
| `portType` _[SpanningTreePortType](#spanningtreeporttype)_ | PortType defines the spanning tree port type. | | Enum: [Normal Edge Network] <br />Required: \{\} <br /> |
3566+
| `portType` _[SpanningTreePortType](#spanningtreeporttype)_ | PortType defines the spanning tree port type. | | Enum: [Normal Edge Network Trunk] <br />Required: \{\} <br /> |
35673567
| `bpduGuard` _boolean_ | BPDUGuard enables BPDU guard on the interface.<br />When enabled, the port is shut down if a BPDU is received. | | Optional: \{\} <br /> |
35683568
| `bpduFilter` _boolean_ | BPDUFilter enables BPDU filter on the interface.<br />When enabled, BPDUs are not sent or received on the port. | | Optional: \{\} <br /> |
35693569

@@ -3575,7 +3575,7 @@ _Underlying type:_ _string_
35753575
SpanningTreePortType represents the spanning tree port type.
35763576

35773577
_Validation:_
3578-
- Enum: [Normal Edge Network]
3578+
- Enum: [Normal Edge Network Trunk]
35793579

35803580
_Appears in:_
35813581
- [SpanningTree](#spanningtree)
@@ -3584,6 +3584,7 @@ _Appears in:_
35843584
| --- | --- |
35853585
| `Normal` | SpanningTreePortTypeNormal indicates a normal spanning tree port.<br /> |
35863586
| `Edge` | SpanningTreePortTypeEdge indicates an edge port (connects to end devices).<br /> |
3587+
| `Trunk` | SpanningTreePortTypeTrunk indicates a trunk port performing spanning tree calculations for multiple VLANs (connects to end devices and carries multiple VLANs).<br /> |
35873588
| `Network` | SpanningTreePortTypeNetwork indicates a network port (connects to other switches).<br /> |
35883589

35893590

‎internal/controller/core/lldp_controller_test.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@ var _ = Describe("LLDP Controller", func() {
274274
})
275275

276276
Context("When DeviceRef references non-existent Device", func() {
277-
var (
278-
resourceKey client.ObjectKey
279-
)
277+
var resourceKey client.ObjectKey
280278

281279
AfterEach(func() {
282280
By("Cleaning up the LLDP resource")

0 commit comments

Comments
 (0)