Skip to content

Commit fc6cb9f

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

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,25 @@ spec:
8686
status:
8787
description: status reflects the status of the bpfman-operator configuration.
8888
properties:
89+
componentStatuses:
90+
description: componentStatuses stores the status of all components.
91+
properties:
92+
configMap:
93+
description: configMap stores the status of the ConfigMap.
94+
type: string
95+
csiDriver:
96+
description: csiDriver stores the status of the CsiDriver.
97+
type: string
98+
daemonSet:
99+
description: daemonSet stores the status of the DaemonSet.
100+
type: string
101+
metricsProxyDaemonSet:
102+
description: metricsProxyDaemonSet stores the status of the MetricsProxyDaemonSet.
103+
type: string
104+
scc:
105+
description: scc stores the status of the Scc.
106+
type: string
107+
type: object
89108
conditions:
90109
description: conditions store the status conditions of the bpfman-operator.
91110
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)