Skip to content

Commit 85963fe

Browse files
committed
Autogenerated code for Config .status fields
Signed-off-by: Andreas Karis <[email protected]>
1 parent 695443e commit 85963fe

File tree

5 files changed

+64
-3
lines changed

5 files changed

+64
-3
lines changed

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/manifests/bpfman-operator.clusterserviceversion.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ metadata:
10121012
capabilities: Basic Install
10131013
categories: OpenShift Optional
10141014
containerImage: quay.io/bpfman/bpfman-operator:latest
1015-
createdAt: "2025-09-26T11:09:36Z"
1015+
createdAt: "2025-10-08T15:10:52Z"
10161016
description: The bpfman Operator is designed to manage eBPF programs for applications.
10171017
features.operators.openshift.io/cnf: "false"
10181018
features.operators.openshift.io/cni: "false"
@@ -1502,6 +1502,14 @@ spec:
15021502
- configs/finalizers
15031503
verbs:
15041504
- update
1505+
- apiGroups:
1506+
- bpfman.io
1507+
resources:
1508+
- configs/status
1509+
verbs:
1510+
- get
1511+
- patch
1512+
- update
15051513
- apiGroups:
15061514
- ""
15071515
resources:
@@ -1514,6 +1522,13 @@ spec:
15141522
- patch
15151523
- update
15161524
- watch
1525+
- apiGroups:
1526+
- ""
1527+
resources:
1528+
- events
1529+
verbs:
1530+
- create
1531+
- patch
15171532
- apiGroups:
15181533
- ""
15191534
resources:

bundle/manifests/bpfman.io_configs.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ spec:
1818
- jsonPath: .metadata.creationTimestamp
1919
name: Age
2020
type: date
21+
- jsonPath: .status.conditions[?(@.type=='Progressing')].status
22+
name: Progressing
23+
type: string
24+
- jsonPath: .status.conditions[?(@.type=='Available')].status
25+
name: Available
26+
type: string
2127
name: v1alpha1
2228
schema:
2329
openAPIV3Schema:
@@ -86,8 +92,14 @@ spec:
8692
status:
8793
description: status reflects the status of the bpfman-operator configuration.
8894
properties:
95+
components:
96+
additionalProperties:
97+
type: string
98+
description: components stores the status of all components.
99+
type: object
89100
conditions:
90-
description: conditions store the status conditions of the bpfman-operator.
101+
description: conditions store the status conditions of the bpfman-operator
102+
components.
91103
items:
92104
description: "Condition contains details for one aspect of the current
93105
state of this API Resource.\n---\nThis struct is intended for

config/crd/bases/bpfman.io_configs.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ spec:
1818
- jsonPath: .metadata.creationTimestamp
1919
name: Age
2020
type: date
21+
- jsonPath: .status.conditions[?(@.type=='Progressing')].status
22+
name: Progressing
23+
type: string
24+
- jsonPath: .status.conditions[?(@.type=='Available')].status
25+
name: Available
26+
type: string
2127
name: v1alpha1
2228
schema:
2329
openAPIV3Schema:
@@ -86,8 +92,14 @@ spec:
8692
status:
8793
description: status reflects the status of the bpfman-operator configuration.
8894
properties:
95+
components:
96+
additionalProperties:
97+
type: string
98+
description: components stores the status of all components.
99+
type: object
89100
conditions:
90-
description: conditions store the status conditions of the bpfman-operator.
101+
description: conditions store the status conditions of the bpfman-operator
102+
components.
91103
items:
92104
description: "Condition contains details for one aspect of the current
93105
state of this API Resource.\n---\nThis struct is intended for

config/rbac/bpfman-operator/role.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ rules:
101101
- configs/finalizers
102102
verbs:
103103
- update
104+
- apiGroups:
105+
- bpfman.io
106+
resources:
107+
- configs/status
108+
verbs:
109+
- get
110+
- patch
111+
- update
104112
- apiGroups:
105113
- ""
106114
resources:
@@ -113,6 +121,13 @@ rules:
113121
- patch
114122
- update
115123
- watch
124+
- apiGroups:
125+
- ""
126+
resources:
127+
- events
128+
verbs:
129+
- create
130+
- patch
116131
- apiGroups:
117132
- ""
118133
resources:

0 commit comments

Comments
 (0)