Skip to content

Commit 8f75b69

Browse files
committed
Autogenerated code for Config .status fields
Signed-off-by: Andreas Karis <[email protected]>
1 parent aa84a1e commit 8f75b69

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

apis/v1alpha1/zz_generated.deepcopy.go

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

config/crd/bases/bpfman.io_configs.yaml

Lines changed: 25 additions & 0 deletions
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,6 +92,25 @@ spec:
8692
status:
8793
description: status reflects the status of the bpfman-operator configuration.
8894
properties:
95+
componentStatuses:
96+
description: componentStatuses stores the status of all components.
97+
properties:
98+
configMap:
99+
description: configMap stores the status of the ConfigMap.
100+
type: string
101+
csiDriver:
102+
description: csiDriver stores the status of the CsiDriver.
103+
type: string
104+
daemonSet:
105+
description: daemonSet stores the status of the DaemonSet.
106+
type: string
107+
metricsProxyDaemonSet:
108+
description: metricsProxyDaemonSet stores the status of the MetricsProxyDaemonSet.
109+
type: string
110+
scc:
111+
description: scc stores the status of the Scc.
112+
type: string
113+
type: object
89114
conditions:
90115
description: conditions store the status conditions of the bpfman-operator.
91116
items:

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)