Skip to content

Commit e58df33

Browse files
authored
Update managed resources by the collector (#2876)
* Update managed resources by the collector Signed-off-by: Pavol Loffay <[email protected]> * Fix Signed-off-by: Pavol Loffay <[email protected]> --------- Signed-off-by: Pavol Loffay <[email protected]>
1 parent 6f213e4 commit e58df33

4 files changed

+8
-2
lines changed

apis/v1alpha1/opentelemetrycollector_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ type OpenTelemetryCollectorStatus struct {
463463
// +operator-sdk:csv:customresourcedefinitions:displayName="OpenTelemetry Collector"
464464
// This annotation provides a hint for OLM which resources are managed by OpenTelemetryCollector kind.
465465
// It's not mandatory to list all resources.
466-
// +operator-sdk:csv:customresourcedefinitions:resources={{Pod,v1},{Deployment,apps/v1},{DaemonSets,apps/v1},{StatefulSets,apps/v1},{ConfigMaps,v1},{Service,v1}}
466+
// +operator-sdk:csv:customresourcedefinitions:resources={{Pod,v1},{Deployment,apps/v1},{DaemonSets,apps/v1},{StatefulSets,apps/v1},{ConfigMaps,v1},{Service,v1},{Ingress,networking/v1}}
467467

468468
// OpenTelemetryCollector is the Schema for the opentelemetrycollectors API.
469469
type OpenTelemetryCollector struct {

apis/v1beta1/opentelemetrycollector_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func init() {
3838
// +operator-sdk:csv:customresourcedefinitions:displayName="OpenTelemetry Collector"
3939
// This annotation provides a hint for OLM which resources are managed by OpenTelemetryCollector kind.
4040
// It's not mandatory to list all resources.
41-
// +operator-sdk:csv:customresourcedefinitions:resources={{Pod,v1},{Deployment,apps/v1},{DaemonSets,apps/v1},{StatefulSets,apps/v1},{ConfigMaps,v1},{Service,v1}}
41+
// +operator-sdk:csv:customresourcedefinitions:resources={{Pod,v1},{Deployment,apps/v1},{DaemonSets,apps/v1},{StatefulSets,apps/v1},{ConfigMaps,v1},{Service,v1},{Ingress,networking/v1}}
4242

4343
// OpenTelemetryCollector is the Schema for the opentelemetrycollectors API.
4444
type OpenTelemetryCollector struct {

bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ spec:
153153
- kind: Deployment
154154
name: ""
155155
version: apps/v1
156+
- kind: Ingress
157+
name: ""
158+
version: networking/v1
156159
- kind: Pod
157160
name: ""
158161
version: v1

config/manifests/bases/opentelemetry-operator.clusterserviceversion.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ spec:
115115
- kind: Deployment
116116
name: ""
117117
version: apps/v1
118+
- kind: Ingress
119+
name: ""
120+
version: networking/v1
118121
- kind: Pod
119122
name: ""
120123
version: v1

0 commit comments

Comments
 (0)