-
Notifications
You must be signed in to change notification settings - Fork 570
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
Makefile
Outdated
| 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?
| 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.
|
|
||
| // 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
# Conflicts: # bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml # bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml
# Conflicts: # Makefile # bundle/community/manifests/opentelemetry.io_opentelemetrycollectors.yaml # bundle/openshift/manifests/opentelemetry.io_opentelemetrycollectors.yaml # config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml # docs/api/opentelemetrycollectors.md # internal/manifests/collector/collector_test.go
|
@sky333999 @jaronoff97 @yuriolisa |
Description:
Disabledinstead ofEnabledsuch that it initializes to false when not set and the behavior stays the same.nilimplies 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.