-
Notifications
You must be signed in to change notification settings - Fork 546
Ability to configure Collector's Service, Headless Service, Monitoring Service and Extension Service #4258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Ability to configure Collector's Service, Headless Service, Monitoring Service and Extension Service #4258
Conversation
e3cefe7
to
c8a51c7
Compare
@@ -657,6 +657,7 @@ TMP_DIR=$$(mktemp -d) ;\ | |||
cd $$TMP_DIR ;\ | |||
go mod init tmp ;\ | |||
echo "Downloading $(2)" ;\ | |||
echo "replace fybrik.io/crdoc => github.com/fybrik/crdoc v0.5.2" >> go.mod ;\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fybrik.io
domain seems to have expired. So adding a replace temporarily.
Idk why this is a problem just for me. Is is that the go mod cached on the GH runners for the actions?
@@ -558,6 +558,48 @@ service: | |||
Annotations: map[string]string{}, | |||
}, | |||
}, | |||
&networkingv1.Ingress{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a re-ordering since now services are created after the ingress in collector.go
.
@@ -239,6 +239,22 @@ type OpenTelemetryCollectorSpec struct { | |||
// +optional | |||
ServiceName string `json:"serviceName,omitempty"` | |||
|
|||
// Service to override configuration of the generated Collector Service. | |||
// +optional | |||
Service ServiceSpec `json:"service,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's no need to edit the v1alpha1 resources, these are deprecated and we shouldnt be touching them anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I can revert the changes and remove the changes to the converter as well.
520d45d
to
ec2bfc3
Compare
E2E Test Results 33 files ±0 223 suites +2 4h 4m 20s ⏱️ + 19m 46s For more details on these failures, see this check. Results for commit 5771abd. ± Comparison against base commit 531de9c. |
# Conflicts: # bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml # bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml
Description:
Disabled
instead ofEnabled
such that it initializes to false when not set and the behavior stays the same.nil
implies retain old behavior.Link to tracking Issue(s):
spec.observability.metrics.disableMonitoringService
#4242Testing:
Unit Testing
Local Testing
Validation: Daemonset is created, all 4 services are created. No observable change in behavior.
Validation: Apply failed complaining the CRD did not recognize the new field. Expected behavior.
Validation: Apply was successful; The ClusterIP service is deleted.
Validation: All 4 services are deleted.
Validation: Only the ClusterIP service is recreated and has the overridden name.
E2E Testing
Documentation: CRDs are self-documenting, no further changes made.