Moved the webhook interface validation code from `jaeger_webhook.go` to `jaeger_webhook_test.go` to ensure the Jaeger structure still fulfills the webhook interfaces. This change allows external projects to import the `jaeger-operator/apis/v1` package with `sigs.k8s.io/controller-runtime` library version v0.20.0, as the deprecated webhook interfaces were removed in this version.
Signed-off-by: Serge Catudal <serge.catudal@gmail.com>
* Bump go to 1.22
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Bump controller-gen
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
---------
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fixes#2207 by adding server-url to JaegerMetricsStorageSpec as
ServerUrl for providing external prometheus service url. Added test for
verifying env variable PROMETHEUS_SERVER_URL is not empty when specifying metric storage type as prometheus for both AllInOne and Query.
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* added empty check for ServerUrl while setting env for external
prometheus instance
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* updated manifests by running make bundle
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* updated api.md by running make api-docs
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
* fix format of pkg/ingress/query_test.go
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
* fix format of pkg/deployment/query_test.go
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
* updated test TestQueryIngressClass from pkg/ingress/query_test.go by
remove empty check for ingress as it will be taken care by default
ingressclass func
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
* fixed format
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
---------
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
Signed-off-by: amerlin <antoniomerlindev@gmail.com>
Co-authored-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* Fix the CI. Change the implementation of the method to make it easy to test
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix E2E
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Disable test #2508
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* fixes#1568#2225
added function getIngressClass which set default or nginx ingress class to jaeger define ingress for providing loadbalancer IP.
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* Added test for checking if ingressClass is not set then the default or nginx ingressClass is added to the jaeger ingress.
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* Added request chenges mentioned by iblancasa re: test for checking if ingressClass is not set then the default or nginx ingressClass is added to the jaeger ingress.
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* changed func name from getInClusterAvailableIngressClasses() to
getInClusterAvailableIngressClass() and updated manifests
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
* fixed formatting
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
---------
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
Co-authored-by: Gaurav Singh <gauravsinghbr@hotmail.com>
This PR provides default dependabot labels plus 'ok-to-test' so it doesn't need to be added by the maintainer.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
* Release Jaeger Operator 1.52.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix bundle
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Simplify the tests related to the streaming strategy
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Remove test. It doesn't bring real value
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Simplify the daemonset tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix field
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix field
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix field
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Choose the newer autoscaling version by default
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add unit test
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix format
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix containerImage field and remove statement about failing CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Regenerate ES certificated when is close to 1 day for expire
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* fix go mod/sum inconsistencies
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
---------
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Ensure oauth-proxy ImageStream is detected eventually
* move the detectOAuthProxyImageStream function out of
`autoDetectCapabilities`'s `firstRun.Do` block
* introduce a check to prevent needless api calls if
`openshift-oauth-proxy-image` is already digest-based (assuming
detection has occured)
Signed-off-by: Bram Verschueren <verschueren.bram@gmail.com>
* Protect OpenShiftOauthProxyImage with mutex
Signed-off-by: Bram Verschueren <verschueren.bram@gmail.com>
---------
Signed-off-by: Bram Verschueren <verschueren.bram@gmail.com>
EnvFrom can also be used for SecretRefs in which case the existing logic
would result in a nil pointer dereference.
Signed-off-by: Ed Cook <edward@boclips.com>
* Pass proxy env vars to operands
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
---------
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Use base image that does not require subscription
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Use centos stream
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
---------
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Protect the ESProvisioning behind a mutex
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Apply changes requested in code review
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Refactor the autodetect module to reduce the number of writes/reads in viper
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix linting
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Move the cleaning tasks outside the autodetection
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase timeotus
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Refactor the autodetect module to reduce the number of writes/reads in viper
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix linting
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Move the cleaning tasks outside the autodetection
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Move OAuthProxy Image Stream detection to the autodetect module
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix format
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Refactor the autodetect module to reduce the number of writes/reads in viper
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix linting
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Expose admin port via Service
Signed-off-by: Thomas Paulin <7918983+thomaspaulin@users.noreply.github.com>
* Check for named admin port too
Signed-off-by: Thomas <7918983+thomaspaulin@users.noreply.github.com>
* Check target ports
Signed-off-by: Thomas <7918983+thomaspaulin@users.noreply.github.com>
* fix test
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* add missing port to istio e2e test
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
---------
Signed-off-by: Thomas Paulin <7918983+thomaspaulin@users.noreply.github.com>
Signed-off-by: Thomas <7918983+thomaspaulin@users.noreply.github.com>
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
Co-authored-by: Thomas Paulin <7918983+thomaspaulin@users.noreply.github.com>
* Add support for Kubernetes 1.27
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade kind and update the CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix format
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Use newer base version for K8S since 1.19 and 1.20 are not supported since Kind 1.17
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix usage of deprecated methods
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix K8s test environments
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add quotes to Go version
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* feat: add Lifecycle and TerminationGracePeriodSeconds to collector
Signed-off-by: Taj Pereira <taj@canva.com>
* fix: ran make install-tools ci
Signed-off-by: Taj Pereira <taj@canva.com>
---------
Signed-off-by: Taj Pereira <taj@canva.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Upgrade to Golang 1.20. #2190
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade golangci-lint
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Disable deepguard. It was not used before
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase reliability of the autoscaller E2E test #2223
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix some problems with the E2E test
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add another fix
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade to operator-sdk 1.24.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade to operator-sdk 1.25.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade to operator-sdk 1.27.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade otel/metric and otel/sdk/metric to 0.35.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade multiple dependencies
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade operator-sdk version in manifest
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Recover original timestamp
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add workaround
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Port to operator-sdk 1.27.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Use kustomize from the installation
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix E2E test
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix operator-sdk version in the scorecard tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix autogenerated files
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add changes requested in CR
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Port to operator-sdk 1.27.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Use kustomize from the installation
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix E2E test
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
---------
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Disable generate E2E test in OCP
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger Build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Trigger Build
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* add support to run the tests on different arch
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* pass value of a variable
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* update review comments
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* fix examples-all-in-one-with-options query path
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* add retry in curl to get latest version of jaeger
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* support e2e tests on multi arch environment
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* switch to push from load in dockerx
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* conditional buildx support for multi arch
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* verify remote registry only on multi arch image
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* update review comments
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* update latest version and es version logic
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* * Fix errors when the service account was created before
* Fix syntax in one template
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix resources limitation to match the example
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase resource limitation
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix issues with older Kafka operator versions
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* limit the get of deployments to WATCH_NAMESPACE on sync
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* check on deployments webhook the namespace
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* add unit tests
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* add e2e basic test in non-cluster-wide mode
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* add new line at the end of config/namespaced/kustomization.yaml
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* include other ns in the deployment webhook test
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Fix query ingress when using streaming strategy
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Add a new test, remove redundant tests
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Remove redundant test
Signed-off-by: Kevin Earls <kearls@redhat.com>
Signed-off-by: Kevin Earls <kearls@redhat.com>
* fix for min tls version to v1.2
Signed-off-by: kangsheng89 <ks_wong_89@hotmail.com>
* add cmd option for tls version
Signed-off-by: kangsheng89 <ks_wong_89@hotmail.com>
* ciphersuites and tls version setting can be configurable
Signed-off-by: kangsheng89 <ks_wong_89@hotmail.com>
Signed-off-by: kangsheng89 <ks_wong_89@hotmail.com>
* fix https port name prefix to match istio naming convention
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* verify service port names in e2e test
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* Fix Kafka tests for old Kafka operator version
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add changes requested in CR
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade kind, kind images and add testing for Kubernetes 1.25
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* UFix merging issue
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Make the E2E tests compatible with batchV1/Cronjobs API
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade the Kafka Operator version used for the E2E Tests from 0.23.0 to 0.30.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade istio from 0.11.2 to 0.15.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Add changes requested in CR
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix linting
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Migrate autoscaling v2beta2 to v2
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix some unit tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix rest of unit tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase unit test coverage
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix linting
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Apply changes requestd in CR
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Apply changes requestd in CR
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase code coverage
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Increase code coverage
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Cleanup and unify installation of tools
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Minor fixes
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix path to golangci-lint
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade operator-sdk to 1.23.0 and dependencies
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade generated files for operator-sdk 1.23.0
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade golangci-lint, fix reported issues and remove security make rule
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Remove not needed install script
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Remove call to removed script
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix Golang version for Jaeger Operator CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix Golang version for Jaeger Operator CI
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Simplify the automation to run the E2E tests
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix broken E2E generate test suite
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Move Ingress Controller and Metrics Server YAMLs to parameters
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Use golangci-lint for linting
Rebase
Signed-off-by: Ed Snible <snible@us.ibm.com>
* add golangci-lint to install tools
Signed-off-by: Ed Snible <snible@us.ibm.com>
* Allow small drops in coverage
Signed-off-by: Ed Snible <snible@us.ibm.com>
* Use Go 1.18 for linting, clean .golintci.yml removing things not needed for operator
Signed-off-by: Ed Snible <snible@us.ibm.com>
* Use nolint directive instead of suppressing context return
Signed-off-by: Ed Snible <snible@us.ibm.com>
Signed-off-by: Ed Snible <snible@us.ibm.com>
* Partial port to use logr.Logger
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Use logr.Log to ensure line consistency
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix log call after merge
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Change verbosity level and message of the log for autoprovisioned kafka
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Upgrade operator-sdk to 1.22.2
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Upgrade operator-sdk in bundle
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Improve robustness of the loading of the asserts E2E tests job
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix load of images in kind cluster
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Wait until the deployments are there again
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Fix typo
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
* Skip ES E2E tests for unsupported Elasticsearch OpenShift Operator versions
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix for regular K8S
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Avoid regeneration of the ASSERT_IMG value
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix missing quotes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix Jaeger Operator version make variable
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Typo
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Upgrade gosec to v2.9.6
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Change how gosec is installed
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gosec warning
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gosec warning. Remove defer for Close() in a file
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gosec warning. Implicit memory aliasing in for loop
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gosec warning. Potential file inclusion via variable
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Ignore gosec warning
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Avoid letting opened files. Show, at least, one message in the log
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix render_report_spans to not use the deployment mode.
Fix some syntax errors in ifs.
Push/load the Jaeger Operator image only if JAEGER_OLM is not true.
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for agent-with-priority-class example (#1985)
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix call to methods and assign a new name to base tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add missing exit codes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add removed variable
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Disable unsupported test in OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Disable unsupported test in OpenShift and add extra time for the SA creation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve skip test message
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add newline
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for agent-with-priority-class example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for examples-collector-with-priority-class
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issues with external ES
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add autoprovisioned separate template and small fixes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add managed ES
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix replicas parameter for autoprovisioned Kafka
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the different scenarios supported for usign ES as storage in OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Document render_install_elasticsearch
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Recover removed statement
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix condition
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix errors after merge
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix macro call
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Check in the E2E test it is posible to access the volume when they are mounted. Other fixes to ifs
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix failing test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Updagre operator-sdk
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Update bundle
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Reduce the number of required replicas for autoscale E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Upgrade scorecard images
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Use the auto provisioning Kafka example to run the E2E test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* ARemove folder for removed E2E test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Change the parameters for the autoscale test. Fix streaming-autoscale test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove parameter
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve the render_security_test macro
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix render_smoke_test macro to use secure/insecure connections
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix render_otlp_smoke_test macro to use secure/insecure connections
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix syntax error
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix typo
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test to test upgrading from an allinone Jaeger Instance to production. Related to #276
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix typo
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add upgrade-from-latest-test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix version in Docker container. Closes#1923
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add a E2E test to avoid upgrade issues
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix getting the latest release
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix YQ location
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix image version
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Rename test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Add E2E test for OTLP expose
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improbe robustness of the tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve robustness of the tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove comment
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove unused parameter
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add support for custom liveness probe
Signed-off-by: ricoberger <mail@ricoberger.de>
* Run make generate
Signed-off-by: ricoberger <mail@ricoberger.de>
* Run make generate
Signed-off-by: ricoberger <mail@ricoberger.de>
* Add tests for liveness probe
Signed-off-by: ricoberger <mail@ricoberger.de>
* Run make generate and bundle
Signed-off-by: ricoberger <mail@ricoberger.de>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Fix issues with external ES
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add autoprovisioned separate template and small fixes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix replicas parameter for autoprovisioned Kafka
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Add service annotations
Signed-off-by: herbguo <herbguo@163.com>
* make format
Signed-off-by: herbguo <herbguo@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
Co-authored-by: Ben B <bongartz@klimlive.de>
* Add E2E autoscalability test for the collector
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E autoscalability test for the ingester
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E autoscalability test for K8S
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Adjust the number of replicas
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add autoscalability test for K8S
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the Agent as a DaemonSet OpenShift example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix function call
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Add E2E autoscalability test for the collector
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E autoscalability test for the ingester
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase the time for the Kafka autoprovisioned timeout
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase the time for the Kafka autoprovisioned timeout
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase step number
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the OpenShift with-htpasswd example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the OpenShift with-htpasswd example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve the UI E2E Production test to cover more scenarios
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Use the makefile rules to deploy the Jaeger Operator in Kind
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix upgrade test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the OpenShift with-htpasswd example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E test for the OpenShift with-htpasswd example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Small fixes for outside-cluster test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix missing make deps
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Templatize Service Account creation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Removing superfluous message
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add retries
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Recover old test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Move the uidefinition test to the new suite
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add new checks for the ui-allinone
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Create new tool to get the tokens
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix the test for OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Create a common script for variables
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Create a common script for variables
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Clean test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Refactor get token for OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add production test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix outside-cluster
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix missing variable
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix base checks
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix securty make target
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix CI
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix test for Kubernetes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Start migration of the CronJobs API from batch/v1beta1 to batchv1
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Revert local changes
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Trying to stay out of rebase hell
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Try running just on k8s 1.19
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Fix lists of existing cronjobs
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Reinstate 1.23 tests
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Added test for autoDetectCronJobsVersion, cleanup
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Make lint happy
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Cleanup following Bene's comments
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Rename constants, add 1 new constant
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Fix sidecar-namespace to ensure the autoinjection is done when annotating the namespace
* Add missing README.md in sidecar-skip-webhook
* Fix sidecar-skip-webhook to not overwrite the logic when rendering
* Check the sidecar is created when the label is removed and the autoinjection is created in sidecar-skip-webhook
* Add a check for the sidecar-deployment E2E test to ensure the sidecar is removed when the annotation is removed
* Add a check for the sidecar-namespace E2E test to ensure the sidecar is removed when the annotation is removed
* Join the sidecar-deployment and sidecar-agent tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* adding priority-class for esIndexCleaner and fixing lint error
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* reverting back the operator-sdk version and rebasing
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* unit test case for priorityClass
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* api doc changes
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* changes to variable name as per required convention
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* fixing test case failure for priorityClass
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
* changes as per review comments
Signed-off-by: Swapnil Potnis <potnis.swapnil@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Join multiple E2E test suites in one
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Templatize the name of the concurrency groups
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix Makefile rule
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Generate reports
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add reports
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issues after merging
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix stop Kind cluster
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix YQ call
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix report generation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Not fail when the test fails
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to Gomplate in template
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Small fixes related to gomplate path
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Set version for junitcli
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Retry downloading the Golang dendencies if someting fails
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix pull script
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Generate reports
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add reports
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issues after merging
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix stop Kind cluster
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix YQ call
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix report generation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Not fail when the test fails
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to KUTTL installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix path to Gomplate in template
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Small fixes related to gomplate path
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Set version for junitcli
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* move function to increase the revision inject package
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* use rivision annotation to trigger deployment evaluation on change
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* fix: reconcile namespace on change
Previously the namespace reconciler was called by reconcile
requests generated by the JaegerOnSync method. In #1838 the
JaegerOnSync method changes an annotation of the namespace
to call the reconcile loop. Since the reconciler was not
registered for namespace changes, those were not immediately
taken into account.
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* move deployment reconciler logic into deployment webhook
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* remove deployment controller
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* port reconciler tests to webhook
- extend tests
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* call syncOnJaegerChanges in jaeger reconciler
This change ensures that in the event of an error, e.g. when
updating a deployment or ns, syncOnJaegerChanges is executed again.
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* fix flaky unittest of deployment webhook
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* regenerate manifests and csv
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* Schedule dependabot jobs to run after 1:00 AM CET
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Change to run at 3AM CET
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Make RHOL Elasticsearch cert-management feature optional
The reason is that the cert-management is not supported on OCP 4.6.
The feature was added in RHOL 5.2 shipped on OCP 4.7.
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Rename
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Update operator-sdk to version 1.17
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Add doc chages
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Updated operator-lib, minor source updates
Signed-off-by: Kevin Earls <kearls@redhat.com>
* More updates to go version 1.17
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Improve reliability of some scripts to download third party tools #1778#1750
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix finx kind binary
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: add support for OpenShift in E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Reduce size of E2E asserts image
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Add documentation to each E2E test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improving descriptions
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* #1556: port some of the tests to OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issues requested by CI
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase verbosity
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Clone the tags too
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issue with AiO after merge
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: fix skip_test macro
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: fix typo in CI
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: fix cloning issue
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: disable sec in tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: port new tests to OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: fix CRD paths
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: fix CRD paths
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: recover removed scripts
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix skip external ES
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Port streaming tests to OpenShift
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove old rule
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix typo
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Disable checking for kind if not needed
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1556: add support for OpenShift in E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* add Makefile rule to generate api docs from crd output
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* link api documentation in readme
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* install crdoc into local bin folder
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* generate crd api docs
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* Added ImagePullPolicy to JaegerCommonSpec, it is handled within the CommonSpec Merge function and then simply added to the containers created by the Jaeger Custom Resource
Signed-off-by: edenkoveshi <edenk3012@gmail.com>
* Re-generated CRD
Signed-off-by: edenkoveshi <edenk3012@gmail.com>
* Apparently it needed a 'make bundle' too
Signed-off-by: edenkoveshi <edenk3012@gmail.com>
* Changed my local Makefile to match versions
Signed-off-by: edenkoveshi <edenk3012@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* #1556: add support for OpenShift in E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* - Build or pull the Docker images just when they are needed by the test
- Add some logic to not add the images to kind again (this makes the process faster)
- Add retry logic to pull external Docker images
- Remove pulling some images
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add unmerged rules
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* #127: add documentation about how to add new E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix capital letter
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Make operator more resiliant to etcd defrag activity
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Automatically set num shards and replicas from references OCP ES
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix ci
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fix rebase
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Install ES controller only if ES Kind is installed
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Reuse as much as possible
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Add test
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* move ImagePullSecrets from JaegerAgentSpec to JaegerCommonSpec
Since JaegerCommonSpec is embedded in JaegerAgentSpec it
does not change any usage or behavior. But it allows us to
use the ImagePullSecrets field in Jaeger.
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* crd generate and bundle
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* support ImagePullSecrets in all_in_one strategy
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* support ImagePullSecrets for agent, collector, ingester and query
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* consider ImagePullSecrets when merging commonspecs
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
* Use only the latest Kubernetes version for E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Use only the latest and oldest supported Kubernetes versions for E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* UFix action
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Missing parameter
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Make sure that we always use the correct operator-sdk version
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Fixed operator-sdk references
Signed-off-by: Kevin Earls <kearls@redhat.com>
* #1556: add support for OpenShift in E2E tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix lint warning
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* fixes for out of date sections
Signed-off-by: Kevin Earls <kearls@redhat.com>
* Restore command to be one liner with added note on possibe changes
Signed-off-by: Kevin Earls <kearls@redhat.com>
* #1726: split each E2E test suite in a different workflow to make them easier to reboot
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1726: add sidecar tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* #1726: remove duplicated file
Signed-off-by: Israel Blancas <iblancas@redhat.com>
The jaeger-elasticsearch certificate will be managed by ES and will not contain Jaeger instance name.
The name will be jaeger-<es-instance-name>.
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Avoid calling k8s api for each resource kind on the cluster
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Update autodetect tests
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Use map to filter groups
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Simplify the group check
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Increase coverage for autodetect
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Split the E2E tests in suites.
Closes#1595#1575#1579
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix issue in cassandra test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* use image without prefix v
Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>
* remove addprefix in Makefile
Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>
* fix generated bundle
Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>
* Migrate simplest example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate with-badger examples
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate more examples
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate more examples to Kuttl
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate all the example2 to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add missing endline
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in https://github.com/jaegertracing/jaeger-operator/pull/1576\#discussion_r732369842
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Start kafka for the dependant example
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add missing endline
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix kafka deployment
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove testing the example for now since the scenario is tested in the streaming tests (this test is producing some issues due to limited resources in the CI)
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase Istio times
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Migrate streaming simple E2E test to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix streaming simple test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Templatize wait for Kafka
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate streaming-with-tls to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Migrate all the streaming E2E tests to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add multiple fixes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove not needed dependency in Makefile
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increasing the number of days for the smoke test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Install kafka in the namespace where the tests are run
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix simple test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix autoprovisioning test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix streaming
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Merge stash
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add spark ES E2E test to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add simple ES prod test to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add makefile changes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* FFirst version of the ES index cleaner test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Index cleaner tests migrated to KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Small refactor
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Make ServiceMonitor creation optional (#1323)
Signed-off-by: Igor Wiedler <iwiedler@gitlab.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Use CRDs to detect features in the cluster (#1608)
* Use CRDs to detect features in the cluster
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes suggested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Igor <igorwwwwwwwwwwwwwwwwwwww@users.noreply.github.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Co-authored-by: Pavol Loffay <p.loffay@gmail.com>
* initial fix
Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
* Fix lint errors
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix invalid memory address or nil pointer dereference error
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Unmarshall JSON only if needed
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Return strings properly when expected from HTTP requests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix All in One Ingress test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Increase robustness when waiting for an HTTP request
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix TestSidecarNamespace
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix smoketest method
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve robustness to unexpected HTTP codes
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes suggested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Jeeva Kandasamy <jkandasa@gmail.com>
* Use CRDs to detect features in the cluster
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Revert
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Some checks done previously are not really important but they are making the test fail randomly.
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Migrate generate E2E test to use KUTTL
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gomplate installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove not needed sleep
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in https://github.com/jaegertracing/jaeger-operator/pull/1576\#discussion_r732369842
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Improve tests robustness
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in https://github.com/jaegertracing/jaeger-operator/pull/1576\#discussion_r732369842
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* First approach
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Remove not needed files
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Autogenerate the test files
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add documentation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix gomplate installation
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Address comments from code review
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Change default OpenShift query ingress SAR to pods in the jaeger namespace
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* fmt
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Add more tests
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix gRPC flags for OpenShift
Signed-off-by: Martin Schimandl <martin.schimandl@gmail.com>
* Add new TLS testcase
Signed-off-by: Martin Schimandl <martin.schimandl@gmail.com>
* Add testcase for explicit reporter.grpc.host-port on OpenShift
Signed-off-by: Martin Schimandl <martin.schimandl@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Add E2E testing for ES Rollover feature
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Add E2E testing for ES Rollover feature
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply changes requested in CR
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix security issue
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Ensure the data is totally stored before finishing the program
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix condition check
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Ensure the spans are received
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Apply new reporter to other tests
Signed-off-by: Israel Blancas <iblancas@redhat.com>
* Fix ES Rollover E2E test
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Allow sidecar injection for query pod from other Jaeger instances
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix other if
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Align ES index cleaner test witch changes in 1.26
In version 1.26 the index cleaner uses creation date from index metadata
and not the date from index name so we cannot use span with old start
date to create indices.
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Co-authored-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Validate presence of tls flags using only the prefix of the flag
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Test explicit disable tls options
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Handle flags update case
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* first approach for removing sidecar when deploy annotation is set to false
Signed-off-by: Marco Freyre <marco.fz85@gmail.com>
* fixed missing condition test on sidecar/needed when deploy annotation is set to false, added method for remove sidecar when is not needed in deploy controller
Signed-off-by: Marco Freyre <marco.fz85@gmail.com>
* removeSidecar refactored as instance method
Signed-off-by: Marco Freyre <marco.fz85@gmail.com>
* inject.desired refactor
Signed-off-by: Marco Freyre <marco.fz85@gmail.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
In order to fix https://github.com/jaegertracing/jaeger-operator/issues/1426 I have to do a new release.
We forgot to bump the Jaeger version on `version.txt`
@kevinearls @jpkrohling Could you please review?
Thanks
This PR should allow users to expose Jaeger's Query service as a NodePort at a specific port. Earlier, the Jaeger Operator did not support specifying a port value and would depend on K8s to randomly select an apt port value. This should resolve this blocker.
Resolves#1307
Thanks submitting your Operator. Please check below list before you create your Pull Request.
### New Submissions
* [x] Are you familiar with our [contribution guidelines](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-via-pr.md)?
* [x] Have you [packaged and deployed](https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md) your Operator for Operator Framework?
* [x] Have you tested your Operator with all Custom Resource Definitions?
* [x] Have you tested your Operator in all supported [installation modes](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/building-your-csv.md#operator-metadata)?
* [x] Have you considered whether you want use [semantic versioning order](https://github.com/operator-framework/community-operators/blob/master/docs/operator-ci-yaml.md#semver-mode)?
* [x] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-prerequisites.md#sign-your-work)?
* [x] Is operator [icon](https://github.com/operator-framework/community-operators/blob/master/docs/packaging-operator.md#operator-icon) set?
### Updates to existing Operators
* [x] Did you create a `ci.yaml` file according to the [update instructions](https://github.com/operator-framework/community-operators/blob/master/docs/operator-ci-yaml.md)?
* [x] Is your new CSV pointing to the previous version with the `replaces` property if you chose `replaces-mode` via the `updateGraph` property in `ci.yaml`?
* [x] Is your new CSV referenced in the [appropriate channel](https://github.com/operator-framework/community-operators/blob/master/docs/packaging-operator.md#channels) defined in the `package.yaml` or `annotations.yaml` ?
* [ ] Have you tested an update to your Operator when deployed via OLM?
* [x] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-prerequisites.md#sign-your-work)?
### Your submission should not
* [x] Modify more than one operator
* [x] Modify an Operator you don't own
* [x] Rename an operator - please remove and add with a different name instead
* [x] Submit operators to both `upstream-community-operators` and `community-operators` at once
* [x] Modify any files outside the above mentioned folders
* [x] Contain more than one commit. **Please squash your commits.**
### Operator Description must contain (in order)
1. [x] Description about the managed Application and where to find more information
2. [x] Features and capabilities of your Operator and how to use it
3. [x] Any manual steps about potential pre-requisites for using your Operator
### Operator Metadata should contain
* [x] Human readable name and 1-liner description about your Operator
* [x] One of the pre-defined [capability levels](https://github.com/operator-framework/operator-courier/blob/4d1a25d2c8d52f7de6297ec18d8afd6521236aa2/operatorcourier/validate.py#L556)<sup>2</sup>
* [x] Links to the maintainer, source code and documentation
* [x] Example templates for all Custom Resource Definitions intended to be used
* [x] A quadratic logo
Remember that you can preview your CSV [here](https://operatorhub.io/preview).
--
<sup>1</sup> If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
<sup>2</sup> For more information see [here](https://sdk.operatorframework.io/docs/overview/#operator-capability-level)
@ -2,23 +2,21 @@ Thanks submitting your Operator. Please check below list before you create your
### New Submissions
* [ ] Does your operator have [nested directory structure](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#create-a-bundle)?
* [ ] Have you selected the Project *Community Operator Submissions* in your PR on the right-hand menu bar?
* [ ] Are you familiar with our [contribution guidelines](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md)?
* [ ] Are you familiar with our [contribution guidelines](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-via-pr.md)?
* [ ] Have you [packaged and deployed](https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md) your Operator for Operator Framework?
* [ ] Have you tested your Operator with all Custom Resource Definitions?
* [ ] Have you tested your Operator in all supported [installation modes](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/building-your-csv.md#operator-metadata)?
* [ ] Have you considered whether you want use [semantic versioning order](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#updating-your-existing-operator)?
* [ ] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#sign-your-work)?
* [ ] Is operator [icon](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#operator-icon) set?
* [ ] Have you considered whether you want use [semantic versioning order](https://github.com/operator-framework/community-operators/blob/master/docs/operator-ci-yaml.md#semver-mode)?
* [ ] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-prerequisites.md#sign-your-work)?
* [ ] Is operator [icon](https://github.com/operator-framework/community-operators/blob/master/docs/packaging-operator.md#operator-icon) set?
### Updates to existing Operators
* [ ] Did you create a `ci.yaml` file according to the [update instructions](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#updating-your-existing-operator)?
* [ ] Did you create a `ci.yaml` file according to the [update instructions](https://github.com/operator-framework/community-operators/blob/master/docs/operator-ci-yaml.md)?
* [ ] Is your new CSV pointing to the previous version with the `replaces` property if you chose `replaces-mode` via the `updateGraph` property in `ci.yaml`?
* [ ] Is your new CSV referenced in the [appropriate channel](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#bundle-format) defined in the `package.yaml` or `annotations.yaml` ?
* [ ] Is your new CSV referenced in the [appropriate channel](https://github.com/operator-framework/community-operators/blob/master/docs/packaging-operator.md#channels) defined in the `package.yaml` or `annotations.yaml` ?
* [ ] Have you tested an update to your Operator when deployed via OLM?
* [ ] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#sign-your-work)?
* [ ] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing-prerequisites.md#sign-your-work)?
### Your submission should not
@ -38,7 +36,7 @@ Thanks submitting your Operator. Please check below list before you create your
### Operator Metadata should contain
* [ ] Human readable name and 1-liner description about your Operator
* [ ] One of the pre-defined [capability levels](https://github.com/operator-framework/operator-courier/blob/4d1a25d2c8d52f7de6297ec18d8afd6521236aa2/operatorcourier/validate.py#L556)<sup>2</sup>
* [ ] Links to the maintainer, source code and documentation
* [ ] Example templates for all Custom Resource Definitions intended to be used
@ -50,4 +48,4 @@ Remember that you can preview your CSV [here](https://operatorhub.io/preview).
<sup>1</sup> If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
<sup>2</sup> For more information see [here](https://github.com/operator-framework/operator-sdk/blob/master/doc/images/operator-capability-level.svg)
<sup>2</sup> For more information see [here](https://sdk.operatorframework.io/docs/overview/#operator-capability-level)
Thanks submitting your Operator. Please check below list before you create your Pull Request.
### New Submissions
* [x] Does your operator have [nested directory structure](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#create-a-bundle)?
* [x] Have you selected the Project *Community Operator Submissions* in your PR on the right-hand menu bar?
* [x] Are you familiar with our [contribution guidelines](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md)?
* [x] Have you [packaged and deployed](https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md) your Operator for Operator Framework?
* [x] Have you tested your Operator with all Custom Resource Definitions?
* [x] Have you tested your Operator in all supported [installation modes](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/building-your-csv.md#operator-metadata)?
* [x] Have you considered whether you want use [semantic versioning order](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#updating-your-existing-operator)?
* [x] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#sign-your-work)?
* [x] Is operator [icon](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#operator-icon) set?
### Updates to existing Operators
* [x] Did you create a ci.yaml file according to the [update instructions](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#updating-your-existing-operator)?
* [x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
* [x] Is your new CSV referenced in the [appropriate channel](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#bundle-format) defined in the package.yaml or annotations.yaml ?
* [] Have you tested an update to your Operator when deployed via OLM?
* [x] Is your submission [signed](https://github.com/operator-framework/community-operators/blob/master/docs/contributing.md#sign-your-work)?
### Your submission should not
* [x] Modify more than one operator
* [x] Modify an Operator you don't own
* [x] Rename an operator - please remove and add with a different name instead
* [x] Submit operators to both upstream-community-operators and community-operators at once
* [x] Modify any files outside the above mentioned folders
* [x] Contain more than one commit. **Please squash your commits.**
### Operator Description must contain (in order)
1. [x] Description about the managed Application and where to find more information
2. [x] Features and capabilities of your Operator and how to use it
3. [x] Any manual steps about potential pre-requisites for using your Operator
### Operator Metadata should contain
* [x] Human readable name and 1-liner description about your Operator
* [x] One of the pre-defined [capability levels](https://github.com/operator-framework/operator-courier/blob/4d1a25d2c8d52f7de6297ec18d8afd6521236aa2/operatorcourier/validate.py#L556)<sup>2</sup>
* [x] Links to the maintainer, source code and documentation
* [x] Example templates for all Custom Resource Definitions intended to be used
* [x] A quadratic logo
Remember that you can preview your CSV [here](https://operatorhub.io/preview).
--
<sup>1</sup> If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
<sup>2</sup> For more information see [here](https://github.com/operator-framework/operator-sdk/blob/master/doc/images/operator-capability-level.svg)
EOM
echo"Submitting PR on your behalf via 'hub'"
hub pull-request -F ${tmpfile}
rm ${tmpfile}
gh pr create --title "Update Jaeger to v${VERSION}" --body-file "${OLD_PWD}/.ci/.checked-pr-template.md"
* feat: added missing test for elasticsearch reconciler ([#2662](https://github.com/jaegertracing/jaeger-operator/pull/2662), [@Ankit152](https://github.com/Ankit152))
## v1.61.0 (2024-09-16)
* Bump google.golang.org/grpc from 1.66.0 to 1.66.1 ([#2675](https://github.com/jaegertracing/jaeger-operator/pull/2675), [@dependabot[bot]](https://github.com/apps/dependabot))
* Bump google.golang.org/grpc from 1.65.0 to 1.66.0 ([#2670](https://github.com/jaegertracing/jaeger-operator/pull/2670), [@dependabot[bot]](https://github.com/apps/dependabot))
* Bump the opentelemetry group with 9 updates ([#2668](https://github.com/jaegertracing/jaeger-operator/pull/2668), [@dependabot[bot]](https://github.com/apps/dependabot))
## v1.60.0 (2024-08-13)
* Fix Golang version in go.mod ([#2652](https://github.com/jaegertracing/jaeger-operator/pull/2652), [@iblancasa](https://github.com/iblancasa))
## v1.60.0 (2024-08-09)
* Test on k8s 1.30 ([#2647](https://github.com/jaegertracing/jaeger-operator/pull/2647), [@pavolloffay](https://github.com/pavolloffay))
* Bump go to 1.22 and controller-gen to 1.14 ([#2646](https://github.com/jaegertracing/jaeger-operator/pull/2646), [@pavolloffay](https://github.com/pavolloffay))
## v1.59.0 (2024-08-06)
* Update compatibility matrix for v1.57.x ([#2594](https://github.com/jaegertracing/jaeger-operator/pull/2594), [@mooneeb](https://github.com/mooneeb))
* imagePullSecrets is not set for agent DaemonSet ([#2563](https://github.com/jaegertracing/jaeger-operator/pull/2563), [@antoniomerlin](https://github.com/antoniomerlin))
## v1.57.0 (2024-05-06)
## v1.55.0 (2024-03-22)
* Add server URL to JaegerMetricsStorageSpec ([#2481](https://github.com/jaegertracing/jaeger-operator/pull/2481), [@antoniomerlin](https://github.com/antoniomerlin))
* Use the host set in the Ingess field for the OpenShift Route ([#2409](https://github.com/jaegertracing/jaeger-operator/pull/2409), [@iblancasa](https://github.com/iblancasa))
* Add minimum Kubernetes and OpenShift versions ([#2492](https://github.com/jaegertracing/jaeger-operator/pull/2492), [@andreasgerstmayr](https://github.com/andreasgerstmayr))
* Choose the newer autoscaling version by default ([#2374](https://github.com/jaegertracing/jaeger-operator/pull/2374), [@iblancasa](https://github.com/iblancasa))
* Upgrade operator-sdk to 1.32.0 ([#2388](https://github.com/jaegertracing/jaeger-operator/pull/2388), [@iblancasa](https://github.com/iblancasa))
* Fix containerImage field and remove statement about failing CI ([#2386](https://github.com/jaegertracing/jaeger-operator/pull/2386), [@iblancasa](https://github.com/iblancasa))
* Fix injection: prefer jaeger in the same namespace ([#2383](https://github.com/jaegertracing/jaeger-operator/pull/2383), [@pavolloffay](https://github.com/pavolloffay))
* Support configuring images via RELATED_IMAGE_ environment variables ([#2355](https://github.com/jaegertracing/jaeger-operator/pull/2355), [@andreasgerstmayr](https://github.com/andreasgerstmayr))
* Regenerate ES certificated when is close to 1 day for expire ([#2356](https://github.com/jaegertracing/jaeger-operator/pull/2356), [@rubenvp8510](https://github.com/rubenvp8510))
* Bump actions/checkout from 3 to 4 ([#2316](https://github.com/jaegertracing/jaeger-operator/pull/2316), [@dependabot[bot]](https://github.com/apps/dependabot))
* bump grpc to 1.58.3 ([#2346](https://github.com/jaegertracing/jaeger-operator/pull/2346), [@rubenvp8510](https://github.com/rubenvp8510))
* Bump golang version to 1.21 ([#2347](https://github.com/jaegertracing/jaeger-operator/pull/2347), [@rubenvp8510](https://github.com/rubenvp8510))
* Ensure oauth-proxy ImageStream is detected eventually ([#2340](https://github.com/jaegertracing/jaeger-operator/pull/2340), [@bverschueren](https://github.com/bverschueren))
* Check if envFrom has ConfigMapRef set ([#2342](https://github.com/jaegertracing/jaeger-operator/pull/2342), [@edwardecook](https://github.com/edwardecook))
* Bump golang.org/x/net from 0.13.0 to 0.17.0 ([#2343](https://github.com/jaegertracing/jaeger-operator/pull/2343), [@dependabot[bot]](https://github.com/apps/dependabot))
* Fix issue related to new encoding in oauth-proxy image ([#2345](https://github.com/jaegertracing/jaeger-operator/pull/2345), [@iblancasa](https://github.com/iblancasa))
* Always generate new oauth-proxy password ([#2333](https://github.com/jaegertracing/jaeger-operator/pull/2333), [@pavolloffay](https://github.com/pavolloffay))
* Add v1.48.x and v1.49.x to the support map ([#2332](https://github.com/jaegertracing/jaeger-operator/pull/2332), [@ishaqkhattana](https://github.com/ishaqkhattana))
* Pass proxy env vars to operands ([#2330](https://github.com/jaegertracing/jaeger-operator/pull/2330), [@pavolloffay](https://github.com/pavolloffay))
* Protect auth delegator behind a mutex ([#2318](https://github.com/jaegertracing/jaeger-operator/pull/2318), [@iblancasa](https://github.com/iblancasa))
## v1.49.1 (2023-09-07)
* fix: protect the kafka-profision setting behind a mutex ([#2308](https://github.com/jaegertracing/jaeger-operator/pull/2308), [@iblancasa](https://github.com/iblancasa))
## v1.48.1 (2023-09-04)
* Use base image that does not require subscription (centos 9 stream) ([#2313](https://github.com/jaegertracing/jaeger-operator/pull/2313), [@pavolloffay](https://github.com/pavolloffay))
* Update go dependencies to Kubernetes 0.28.1 ([#2301](https://github.com/jaegertracing/jaeger-operator/pull/2301), [@pavolloffay](https://github.com/pavolloffay))
* Protect the ESProvisioning setting behind a mutex ([#2287](https://github.com/jaegertracing/jaeger-operator/pull/2287), [@iblancasa](https://github.com/iblancasa))
## v1.48.0 (2023-08-28)
* Remove the TokenReview after checking we can create it ([#2286](https://github.com/jaegertracing/jaeger-operator/pull/2286), [@iblancasa](https://github.com/iblancasa))
* Fix apiVersion and kind are missing in jaeger-operator generate output ([#2281](https://github.com/jaegertracing/jaeger-operator/pull/2281), [@hiteshwani29](https://github.com/hiteshwani29))
* Fix custom labels for the deployable components in production strategy ([#2277](https://github.com/jaegertracing/jaeger-operator/pull/2277), [@hiteshwani29](https://github.com/hiteshwani29))
* Ensure the OAuth Proxy image detection is run after the platform detection ([#2280](https://github.com/jaegertracing/jaeger-operator/pull/2280), [@iblancasa](https://github.com/iblancasa))
* Added changes to respect env variable set from envFrom configMaps ([#2272](https://github.com/jaegertracing/jaeger-operator/pull/2272), [@hiteshwani29](https://github.com/hiteshwani29))
* Refactor the autodetect module to reduce the number of writes/reads in viper configuration ([#2274](https://github.com/jaegertracing/jaeger-operator/pull/2274), [@iblancasa](https://github.com/iblancasa))
## v1.47.0 (2023-07-12)
* Expose admin ports for agent, collector, and query Deployments via the equivalent Service ([#2262](https://github.com/jaegertracing/jaeger-operator/pull/2262), [@thomaspaulin](https://github.com/thomaspaulin))
* update otel sdk to v1.16.0/v0.39.0 ([#2261](https://github.com/jaegertracing/jaeger-operator/pull/2261), [@frzifus](https://github.com/frzifus))
* Add support for Kubernetes 1.27 ([#2235](https://github.com/jaegertracing/jaeger-operator/pull/2235), [@iblancasa](https://github.com/iblancasa))
* Jaeger Collector Config: `Lifecycle` and `TerminationGracePeriodSeconds` ([#2242](https://github.com/jaegertracing/jaeger-operator/pull/2242), [@taj-p](https://github.com/taj-p))
## v1.46.0 (2023-06-16)
* Missing exposed port 16685 in query deployments ([#2239](https://github.com/jaegertracing/jaeger-operator/pull/2239), [@iblancasa](https://github.com/iblancasa))
* Use Golang 1.20 ([#2205](https://github.com/jaegertracing/jaeger-operator/pull/2205), [@iblancasa](https://github.com/iblancasa))
* [BugFix] Properly set imagePullPolicy and containerSecurityContext for EsIndexCleaner cronjob container ([#2224](https://github.com/jaegertracing/jaeger-operator/pull/2224), [@michalschott](https://github.com/michalschott))
* Remove resource limitation for the operator pod ([#2221](https://github.com/jaegertracing/jaeger-operator/pull/2221), [@iblancasa](https://github.com/iblancasa))
* Add PriorityClass for AllInOne strategy ([#2218](https://github.com/jaegertracing/jaeger-operator/pull/2218), [@sonofgibs](https://github.com/sonofgibs))
## v1.45.0 (2023-05-16)
## v1.44.0 (2023-04-13)
* Feat: add `NodeSelector` to jaeger collector, query, and ingestor ([#2200](https://github.com/jaegertracing/jaeger-operator/pull/2200), [@AhmedGrati](https://github.com/AhmedGrati))
## v1.43.0 (2023-02-07)
* update operator-sdk to 1.27.0 ([#2178](https://github.com/jaegertracing/jaeger-operator/pull/2178), [@iblancasa](https://github.com/iblancasa))
* Support JaegerCommonSpec in JaegerCassandraCreateSchemaSpec ([#2176](https://github.com/jaegertracing/jaeger-operator/pull/2176), [@haanhvu](https://github.com/haanhvu))
## v1.42.0 (2023-02-07)
* Upgrade Kafka Operator default version to 0.32.0 ([#2150](https://github.com/jaegertracing/jaeger-operator/pull/2150), [@iblancasa](https://github.com/iblancasa))
* Fix the Jaeger version for the Jaeger Operator 1.41.x ([#2157](https://github.com/jaegertracing/jaeger-operator/pull/2157), [@iblancasa](https://github.com/iblancasa))
1.40.0 (2022-12-23)
-------------------
* Support e2e tests on multi architecture environment ([#2139](https://github.com/jaegertracing/jaeger-operator/pull/2139), [@jkandasa](https://github.com/jkandasa))
* limit the get of deployments to WATCH_NAMESPACE on sync ([#2126](https://github.com/jaegertracing/jaeger-operator/pull/2126), [@rubenvp8510](https://github.com/rubenvp8510))
* choose first server address ([#2087](https://github.com/jaegertracing/jaeger-operator/pull/2087), [@Efrat19](https://github.com/Efrat19))
* Fix query ingress when using streaming strategy ([#2120](https://github.com/jaegertracing/jaeger-operator/pull/2120), [@kevinearls](https://github.com/kevinearls))
* Fix Liveness Probe for Ingester and Query ([#2122](https://github.com/jaegertracing/jaeger-operator/pull/2122), [@ricoberger](https://github.com/ricoberger))
* Fix for min tls version to v1.2 ([#2119](https://github.com/jaegertracing/jaeger-operator/pull/2119), [@kangsheng89](https://github.com/kangsheng89))
1.39.0 (2022-11-03)
-------------------
* Fix: svc port doesnt match istio convention ([#2101](https://github.com/jaegertracing/jaeger-operator/pull/2101), [@frzifus](https://github.com/frzifus))
1.38.1 (2022-10-11)
-------------------
* Add ability to specify es proxy resources ([#2079](https://github.com/jaegertracing/jaeger-operator/pull/2079), [@rubenvp8510](https://github.com/rubenvp8510))
* Add liveness and readiness probes to injected sidecar ([#2077](https://github.com/jaegertracing/jaeger-operator/pull/2077), [@MacroPower](https://github.com/MacroPower))
* Add http- port prefix to follow istio naming conventions ([#2075](https://github.com/jaegertracing/jaeger-operator/pull/2075), [@cnvergence](https://github.com/cnvergence))
1.38.0 (2022-09-19)
-------------------
* added pathType to ingress ([#2066](https://github.com/jaegertracing/jaeger-operator/pull/2066), [@giautm](https://github.com/giautm))
* set alias enable variable for spark cronjob ([#2061](https://github.com/jaegertracing/jaeger-operator/pull/2061), [@miyunari](https://github.com/miyunari))
* migrate autoscaling v2beta2 to v2 for Kubernetes 1.26 ([#2055](https://github.com/jaegertracing/jaeger-operator/pull/2055), [@iblancasa](https://github.com/iblancasa))
* add container security context support ([#2033](https://github.com/jaegertracing/jaeger-operator/pull/2033), [@mjnagel](https://github.com/mjnagel))
* change verbosity level and message of the log for autoprovisioned kafka ([#2026](https://github.com/jaegertracing/jaeger-operator/pull/2026), [@iblancasa](https://github.com/iblancasa))
1.37.0 (2022-08-11)
-------------------
* Upgrade operator-sdk to 1.22.2 ([#2021](https://github.com/jaegertracing/jaeger-operator/pull/2021), [@iblancasa](https://github.com/iblancasa))
* es-dependencies: support image pull secret ([#2012](https://github.com/jaegertracing/jaeger-operator/pull/2012), [@frzifus](https://github.com/frzifus))
1.36.0 (2022-07-18)
-------------------
* added flag to change webhook port ([#1991](https://github.com/jaegertracing/jaeger-operator/pull/1991), [@klubi](https://github.com/klubi))
* Upgrade operator-sdk to 1.22.0 ([#1951](https://github.com/jaegertracing/jaeger-operator/pull/1951), [@iblancasa](https://github.com/iblancasa))
* Add elasticsearch storage date format config. ([#1325](https://github.com/jaegertracing/jaeger-operator/pull/1325), [@sniperking1234](https://github.com/sniperking1234))
* Add support for custom liveness probe ([#1605](https://github.com/jaegertracing/jaeger-operator/pull/1605), [@ricoberger](https://github.com/ricoberger))
* Add service annotations ([#1526](https://github.com/jaegertracing/jaeger-operator/pull/1526), [@herbguo](https://github.com/herbguo))
1.35.0 (2022-06-16)
-------------------
* fix: point to a newer openshift oauth image 4.12 ([#1955](https://github.com/jaegertracing/jaeger-operator/pull/1955), [@frzifus](https://github.com/frzifus))
* Expose OTLP collector and allInOne ports ([#1948](https://github.com/jaegertracing/jaeger-operator/pull/1948), [@rubenvp8510](https://github.com/rubenvp8510))
* Add support for ImagePullSecrets in cronjobs ([#1935](https://github.com/jaegertracing/jaeger-operator/pull/1935), [@alexandrevilain](https://github.com/alexandrevilain))
* fix: ocp es rollover #1932 ([#1937](https://github.com/jaegertracing/jaeger-operator/pull/1937), [@frzifus](https://github.com/frzifus))
* add kafkaSecretName for collector and ingester ([#1910](https://github.com/jaegertracing/jaeger-operator/pull/1910), [@luohua13](https://github.com/luohua13))
* Add autoscalability E2E test for OpenShift ([#1936](https://github.com/jaegertracing/jaeger-operator/pull/1936), [@iblancasa](https://github.com/iblancasa))
* Fix version in Docker container. ([#1924](https://github.com/jaegertracing/jaeger-operator/pull/1924), [@iblancasa](https://github.com/iblancasa))
* Verify namespace permissions before adding ns controller ([#1914](https://github.com/jaegertracing/jaeger-operator/pull/1914), [@rubenvp8510](https://github.com/rubenvp8510))
* fix: skip dependencies on openshift platform ([#1921](https://github.com/jaegertracing/jaeger-operator/pull/1921), [@frzifus](https://github.com/frzifus))
* fix: remove common name label ([#1920](https://github.com/jaegertracing/jaeger-operator/pull/1920), [@frzifus](https://github.com/frzifus))
* Ignore not found error on 1.31.0 upgrade routine ([#1913](https://github.com/jaegertracing/jaeger-operator/pull/1913), [@rubenvp8510](https://github.com/rubenvp8510))
1.34.1 (2022-05-24)
-------------------
Fix: storage.es.tls.enabled flag not passed to es-index-cleaner ([#1896](https://github.com/jaegertracing/jaeger-operator/pull/1896), [@indigostar-kr](https://github.com/indigostar-kr))
1.34.0 (2022-05-18)
-------------------
* Fix: jaeger operator fails to parse Jaeger instance version ([#1885](https://github.com/jaegertracing/jaeger-operator/pull/1885), [@rubenvp8510](https://github.com/rubenvp8510))
* Support Kubernetes 1.24 ([#1882](https://github.com/jaegertracing/jaeger-operator/pull/1882), [@iblancasa](https://github.com/iblancasa))
* Fix: setting default Istio annotation in Pod instead of Deployment ([#1860](https://github.com/jaegertracing/jaeger-operator/pull/1860), [@cnvergence](https://github.com/cnvergence))
* Add http- prefix to port names in collector and agent services ([#1862](https://github.com/jaegertracing/jaeger-operator/pull/1862), [@cnvergence](https://github.com/cnvergence))
1.33.0 (2022-04-14)
-------------------
* Adding priority-class for esIndexCleaner ([#1732](https://github.com/jaegertracing/jaeger-operator/pull/1732), [@swapnilpotnis](https://github.com/swapnilpotnis))
* Fix: take namespace modifications into account ([#1839](https://github.com/jaegertracing/jaeger-operator/pull/1839), [@frzifus](https://github.com/frzifus))
* Replace deployment reconciler with webhook ([#1828](https://github.com/jaegertracing/jaeger-operator/pull/1828), [@frzifus](https://github.com/frzifus))
* Add managed by metric ([#1831](https://github.com/jaegertracing/jaeger-operator/pull/1831), [@rubenvp8510](https://github.com/rubenvp8510))
* Fix admissionReviews version for operator-sdk upgrade ([#1827](https://github.com/jaegertracing/jaeger-operator/pull/1827), [@kevinearls](https://github.com/kevinearls))
* Make RHOL Elasticsearch cert-management feature optional ([#1824](https://github.com/jaegertracing/jaeger-operator/pull/1824), [@pavolloffay](https://github.com/pavolloffay))
* Update the operator-sdk to v1.17.0 ([#1825](https://github.com/jaegertracing/jaeger-operator/pull/1825), [@kevinearls](https://github.com/kevinearls))
* add METRICS_STORAGE_TYPE for metrics query ([#1755](https://github.com/jaegertracing/jaeger-operator/pull/1755), [@JaredTan95](https://github.com/JaredTan95))
* Make operator more resiliant to etcd defrag activity ([#1795](https://github.com/jaegertracing/jaeger-operator/pull/1795), [@pavolloffay](https://github.com/pavolloffay))
* Automatically set num shards and replicas from referenced OCP ES ([#1737](https://github.com/jaegertracing/jaeger-operator/pull/1737), [@pavolloffay](https://github.com/pavolloffay))
* support image pull secrets ([#1740](https://github.com/jaegertracing/jaeger-operator/pull/1740), [@frzifus](https://github.com/frzifus))
* Fix webhook secret cert name ([#1772](https://github.com/jaegertracing/jaeger-operator/pull/1772), [@rubenvp8510](https://github.com/rubenvp8510))
1.31.0 (2022-02-09)
-------------------
* Fix panic caused by an invalid type assertion ([#1738](https://github.com/jaegertracing/jaeger-operator/pull/1738), [@frzifus](https://github.com/frzifus))
* Add ES autoprovisioning CR metric ([#1728](https://github.com/jaegertracing/jaeger-operator/pull/1728), [@rubenvp8510](https://github.com/rubenvp8510))
* Use Elasticsearch provisioning from OpenShift Elasticsearch operator ([#1708](https://github.com/jaegertracing/jaeger-operator/pull/1708), [@pavolloffay](https://github.com/pavolloffay))
1.30.0 (2022-01-18)
-------------------
* Only expose the query-http[s] port in the OpenShift route ([#1719](https://github.com/jaegertracing/jaeger-operator/pull/1719), [@rkukura](https://github.com/rkukura))
* Add CR Metrics for Jaeger Kind. ([#1706](https://github.com/jaegertracing/jaeger-operator/pull/1706), [@rubenvp8510](https://github.com/rubenvp8510))
* Avoid calling k8s api for each resource kind on the cluster ([#1712](https://github.com/jaegertracing/jaeger-operator/pull/1712), [@rubenvp8510](https://github.com/rubenvp8510))
* First call of autodetect should be synchronous ([#1713](https://github.com/jaegertracing/jaeger-operator/pull/1713), [@rubenvp8510](https://github.com/rubenvp8510))
* Add permissions for imagestreams ([#1714](https://github.com/jaegertracing/jaeger-operator/pull/1714), [@rubenvp8510](https://github.com/rubenvp8510))
* Restore default metrics port to avoid breaking helm ([#1703](https://github.com/jaegertracing/jaeger-operator/pull/1703), [@rubenvp8510](https://github.com/rubenvp8510))
* Add leases permissions to manifest. ([#1704](https://github.com/jaegertracing/jaeger-operator/pull/1704), [@rubenvp8510](https://github.com/rubenvp8510))
* Change spark-dependencies image to GHCR ([#1701](https://github.com/jaegertracing/jaeger-operator/pull/1701), [@pavolloffay](https://github.com/pavolloffay))
* Register ES types ([#1688](https://github.com/jaegertracing/jaeger-operator/pull/1688), [@rubenvp8510](https://github.com/rubenvp8510))
* Add support for IBM Power (ppc64le) arch ([#1672](https://github.com/jaegertracing/jaeger-operator/pull/1672), [@Abhijit-Mane](https://github.com/Abhijit-Mane))
* util.Truncate add the values to the truncated after the excess is 0 ([#1678](https://github.com/jaegertracing/jaeger-operator/pull/1678), [@mmatache](https://github.com/mmatache))
1.29.1 (2021-12-15)
-------------------
* Register oschema for openshift resources ([#1673](https://github.com/jaegertracing/jaeger-operator/pull/1673), [@rubenvp8510](https://github.com/rubenvp8510))
* Fix finding the correct instance when there are multiple jaeger instances during injecting the sidecar ([#1639](https://github.com/jaegertracing/jaeger-operator/pull/1639), [@alibo](https://github.com/alibo))
* Migrate to operator-sdk 1.13 ([#1623](https://github.com/jaegertracing/jaeger-operator/pull/1623), [@rubenvp8510](https://github.com/rubenvp8510))
1.28.0 (2021-11-08)
-------------------
* Use CRDs to detect features in the cluster ([#1608](https://github.com/jaegertracing/jaeger-operator/pull/1608), [@pavolloffay](https://github.com/pavolloffay))
* Make ServiceMonitor creation optional ([#1323](https://github.com/jaegertracing/jaeger-operator/pull/1323), [@igorwwwwwwwwwwwwwwwwwwww](https://github.com/igorwwwwwwwwwwwwwwwwwwww))
* Change default OpenShift query ingress SAR to pods in the jaeger namespace ([#1583](https://github.com/jaegertracing/jaeger-operator/pull/1583), [@pavolloffay](https://github.com/pavolloffay))
* Fix gRPC flags for OpenShift when 'reporter.grpc.host-port' is defined ([#1584](https://github.com/jaegertracing/jaeger-operator/pull/1584), [@Git-Jiro](https://github.com/Git-Jiro))
1.27.0 (2021-10-07)
-------------------
* Allow sidecar injection for query pod from other Jaeger instances ([#1569](https://github.com/jaegertracing/jaeger-operator/pull/1569), [@pavolloffay](https://github.com/pavolloffay))
* Avoid touching jaeger deps on deployment/ns controller ([#1529](https://github.com/jaegertracing/jaeger-operator/pull/1529), [@rubenvp8510](https://github.com/rubenvp8510))
1.26.0 (2021-09-30)
-------------------
* Add ingressClassName field to query ingress ([#1557](https://github.com/jaegertracing/jaeger-operator/pull/1557), [@rubenvp8510](https://github.com/rubenvp8510))
* Add disconnected annotation to csv ([#1536](https://github.com/jaegertracing/jaeger-operator/pull/1536), [@rubenvp8510](https://github.com/rubenvp8510))
1.25.0 (2021-08-08)
-------------------
* Add support repetitive arguments to operand ([#1434](https://github.com/jaegertracing/jaeger-operator/pull/1434), [@rubenvp8510](https://github.com/rubenvp8510))
* Allow TLS flags to be disabled ([#1440](https://github.com/jaegertracing/jaeger-operator/pull/1440), [@rubenvp8510](https://github.com/rubenvp8510))
* Add gRPC port for jaeger-query into its service resource ([#1521](https://github.com/jaegertracing/jaeger-operator/pull/1521), [@rubenvp8510](https://github.com/rubenvp8510))
* Sidecar removed when annotation is false ([#1508](https://github.com/jaegertracing/jaeger-operator/pull/1508), [@mfz85](https://github.com/mfz85))
* Add support for GRPC storage plugin ([#1517](https://github.com/jaegertracing/jaeger-operator/pull/1517), [@pavolloffay](https://github.com/pavolloffay))
* Fix overwritten default labels in label selectors of `Service` ([#1490](https://github.com/jaegertracing/jaeger-operator/pull/1490), [@rudeigerc](https://github.com/rudeigerc))
* Add resources requests and limits to the operator ([#1515](https://github.com/jaegertracing/jaeger-operator/pull/1515), [@brunopadz](https://github.com/brunopadz))
* Allow to pass ES_TIME_RANGE var to Spark dependencies job ([#1481](https://github.com/jaegertracing/jaeger-operator/pull/1481), [@Gr1N](https://github.com/Gr1N))
* Pass secretName to cassandra dependencies job (#1162) ([#1447](https://github.com/jaegertracing/jaeger-operator/pull/1447), [@Gerrit-K](https://github.com/Gerrit-K))
1.23.0 (2021-06-11)
-------------------
* Implement backoff limit for jobs ([#1468](https://github.com/jaegertracing/jaeger-operator/pull/1468), [@chasekiefer](https://github.com/chasekiefer))
* Remove OwnerReferences from CA configmaps ([#1467](https://github.com/jaegertracing/jaeger-operator/pull/1467), [@rubenvp8510](https://github.com/rubenvp8510))
* Promote crd to apiextensions.k8s.io/v1 ([#1456](https://github.com/jaegertracing/jaeger-operator/pull/1456), [@rubenvp8510](https://github.com/rubenvp8510))
* Add preserve unknown fields annotation to FreeForm and Options fields ([#1435](https://github.com/jaegertracing/jaeger-operator/pull/1435), [@rubenvp8510](https://github.com/rubenvp8510))
* Migrate remaining flags and some env vars to 1.22 ([#1449](https://github.com/jaegertracing/jaeger-operator/pull/1449), [@rubenvp8510](https://github.com/rubenvp8510))
* Fix override storage and ingress values when upgrade to 1.22 ([#1439](https://github.com/jaegertracing/jaeger-operator/pull/1439), [@rubenvp8510](https://github.com/rubenvp8510))
* Allow configure custom certificates to collector ([#1418](https://github.com/jaegertracing/jaeger-operator/pull/1418), [@rubenvp8510](https://github.com/rubenvp8510))
* Add support for NodePort in Jaeger Query Service ([#1394](https://github.com/jaegertracing/jaeger-operator/pull/1394), [@CSP197](https://github.com/CSP197))
@ -6,96 +6,79 @@ This project is [Apache 2.0 licensed](LICENSE) and accepts contributions via Git
We gratefully welcome improvements to documentation as well as to code.
## Getting Started
This project is a regular [Kubernetes Operator](https://coreos.com/operators/) built using the Operator SDK. Refer to the Operator SDK documentation to understand the basic architecture of this operator.
### Installing the Operator SDK command line tool
## Installing the Operator SDK command line tool
Follow the installation guidelines from [Operator SDK GitHub page](https://github.com/operator-framework/operator-sdk) or run `make install-sdk`.
Follow the installation guidelines from [Operator SDK GitHub page](https://github.com/operator-framework/operator-sdk)
### Developing
## Developing
As usual for operators following the Operator SDK in recent versions, the dependencies are managed using [`go modules`](https://golang.org/doc/go1.11#modules). Refer to that project's documentation for instructions on how to add or update dependencies.
The first step is to get a local Kubernetes instance up and running. The recommended approach is using `minikube`. Refer to the Kubernetes' [documentation](https://kubernetes.io/docs/tasks/tools/install-minikube/) for instructions on how to install it.
The first step is to get a local Kubernetes instance up and running. The recommended approach for development is using `minikube` with *ingress* enabled. Refer to the Kubernetes' [documentation](https://kubernetes.io/docs/tasks/tools/install-minikube/) for instructions on how to install it.
Once `minikube` is installed, it can be started with:
```
minikube start
```sh
minikube start --addons=ingress
```
NOTE: Make sure to read the documentation to learn the performance switches that can be applied to your platform.
Once minikube has finished starting, get the Operator running:
Log into docker (or another image registry):
```sh
docker login --username <dockerusername>
```
Once minikube has finished starting, get the Operator running:
```sh
make cert-manager
IMG=docker.io/$USER/jaeger-operator:latest make generate bundle docker push deploy
```
make run
```
NOTE: If your registry username is not the same as $USER, modify the previous command before executing it. Also change *docker.io* if you are using a different image registry.
At this point, a Jaeger instance can be installed:
```
kubectl apply -f deploy/examples/simplest.yaml
```sh
kubectl apply -f examples/simplest.yaml
kubectl get jaegers
kubectl get pods
```
To remove the instance:
```
kubectl delete -f deploy/examples/simplest.yaml
To verify the Jaeger instance is running, execute *minikube ip* and open that address in a browser, or follow the steps below
```sh
export MINIKUBE_IP=`minikube ip`
curl http://{$MINIKUBE_IP}/api/services
```
NOTE: you may have to execute the *curl* command twice to get a non-empty result
Tests should be simple unit tests and/or end-to-end tests. For small changes, unit tests should be sufficient, but every new feature should be accompanied with end-to-end tests as well. Tests can be executed with:
```
```sh
make test
```
NOTE: you can adjust the Docker image namespace by overriding the variable `NAMESPACE`, like: `make test NAMESPACE=quay.io/my-username`. The full Docker image name can be customized by overriding `BUILD_IMAGE` instead, like: `make test BUILD_IMAGE=quay.io/my-username/jaeger-operator:0.0.1`
#### Cleaning up
To remove the instance:
```sh
kubectl delete -f examples/simplest.yaml
```
#### Model changes
The Operator SDK generates the `pkg/apis/jaegertracing/v1/zz_generated.*.go` files via the command `make generate`. This should be executed whenever there's a model change (`pkg/apis/jaegertracing/v1/jaeger_types.go`)
#### Ingress configuration
Kubernetes comes with no ingress provider by default. For development purposes, when running `minikube`, the following command can be executed to install an ingress provider:
```
make ingress
```
This will install the `NGINX` ingress provider. It's recommended to wait for the ingress pods to be in the `READY` and `RUNNING` state before starting the operator. You can check it by running:
```
kubectl get pods -n ingress-nginx
```
To verify that it's working, deploy the `simplest.yaml` and check the ingress routes:
```
$ kubectl apply -f deploy/examples/simplest.yaml
jaeger.jaegertracing.io/simplest created
$ kubectl get ingress
NAME HOSTS ADDRESS PORTS AGE
simplest-query * 192.168.122.69 80 12s
```
Accessing the provided "address" in your web browser should display the Jaeger UI.
#### Storage configuration
### Storage configuration
There are a set of templates under the `test` directory that can be used to setup an Elasticsearch and/or Cassandra cluster. Alternatively, the following commands can be executed to install it:
```
```sh
make es
make cassandra
```
#### Operator-Lifecycle-Manager Integration
### Operator-Lifecycle-Manager Integration
The [Operator-Lifecycle-Manager (OLM)](https://github.com/operator-framework/operator-lifecycle-manager/) can install, manage, and upgrade operators and their dependencies in a cluster.
@ -107,24 +90,23 @@ With OLM, users can:
OLM also enforces some constraints on the components it manages in order to ensure a good user experience.
The Jaeger community provides and maintains a [ClusterServiceVersion (CSV) YAML](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/design/building-your-csv.md/) to integrate with OLM.
The Jaeger community provides and maintains a [ClusterServiceVersion (CSV) YAML](https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/building-your-csv.md) to integrate with OLM.
Starting from operator-sdk v0.5.0, one can generate and update CSVs based on the yaml files in the deploy folder.
The Jaeger CSV can be updated to version 1.9.0 with the following command:
The generated CSV yaml should then be compared and used to update the deploy/olm-catalog/jaeger.clusterserviceversion.yaml file which represents the stable version copied to the operatorhub following each jaeger operator release. Once merged, the jaeger-operator.csv.yaml file should be removed.
The generated CSV yaml should then be compared and used to update the `deploy/olm-catalog/jaeger.clusterserviceversion.yaml` file which represents the stable version copied to the operatorhub following each jaeger operator release. Once merged, the `jaeger-operator.csv.yaml` file should be removed.
The jaeger.clusterserviceversion.yaml file can then be tested with this command:
Checking for existence of spec and status blocks in CR
Checking that operator actions are reflected in status
Checking that writing into CRs has an effect
@ -146,40 +128,113 @@ OLM Integration:
Total Score: 4/18 points
```
#### E2E tests
## E2E tests
### Requisites
Before running the E2E tests you need to install:
* [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation): a tool for running local Kubernetes clusters
* [KUTTL](https://kuttl.dev/docs/cli.html#setup-the-kuttl-kubectl-plugin): a tool to run the Kubernetes tests
### Runing the E2E tests
#### Using KIND cluster
The whole set of end-to-end tests can be executed via:
```
$ make e2e-tests
```sh
$ make run-e2e-tests
```
The end-to-end tests are split into tags and can be executed in separate groups, such as:
```
$ make e2e-tests-smoke
```sh
$ make run-e2e-tests-examples
```
Other targets include `e2e-tests-cassandra` and `e2e-tests-elasticsearch`. Refer to the `Makefile` for an up-to-date list of targets.
If you face issues like the one below, make sure you don't have any Jaeger instances (`kubectl get jaegers`) running nor Ingresses (`kubectl get ingresses`):
Other targets include `run-e2e-tests-cassandra` and `run-e2e-tests-elasticsearch`. You can list them running:
```sh
$ make e2e-test-suites
```
--- FAIL: TestSmoke (316.59s)
--- FAIL: TestSmoke/smoke (316.55s)
--- FAIL: TestSmoke/smoke/daemonset (115.54s)
...
...
daemonset.go:30: timed out waiting for the condition
...
...
**Note**: there are some variables you need to take into account in order to
Where `<suite name>` is the name of your E2E test suite. Your E2E test suite
will be automatically indexed in the `run-e2e-tests` Makefile target.
##### render.sh
This file renders all the YAML files that are part of the E2E test. The `render.sh`
file must start with:
```bash
#!/bin/bash
source $(dirname "$0")/../render-utils.sh
```
The `render-utils.sh` file contains multiple functions to make easier to develop E2E tests and reuse logic. You can go to it and review the documentation of each one of the functions to
understand their parameters and effects.
#### Building [OCI Images](https://github.com/opencontainers/image-spec/blob/master/spec.md) for multiple arch (linux/arm64, linux/amd64)
OCI images could be built and published by [buildx](https://github.com/docker/buildx), it could be executed for local test via:
```
```sh
$ OPERATOR_VERSION=devel ./.ci/publish-images.sh
```
@ -189,7 +244,7 @@ if we want to execute this in local env, need to setup buildx:
@git diff -s --exit-code pkg/apis/jaegertracing/v1/zz_generated.*.go ||(echo"Build failed: a model has been changed but the generated resources aren't up to date. Run 'make generate' and update your PR."&&exit 1)
@git diff -s --exit-code pkg/client/versioned ||(echo"Build failed: the versioned clients aren't up to date. Run 'make generate'."&&exit 1)
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
$(VECHO)git diff -s --exit-code api/v1/zz_generated.*.go ||(echo"Build failed: a model has been changed but the generated resources aren't up to date. Run 'make generate' and update your PR."&&exit 1)
$(VECHO)git diff -s --exit-code bundle config ||(echo"Build failed: the bundle, config files has been changed but the generated bundle, config files aren't up to date. Run 'make bundle' and update your PR."&& git diff &&exit 1)
$(VECHO)git diff -s --exit-code docs/api.md ||(echo"Build failed: the api.md file has been changed but the generated api.md file isn't up to date. Run 'make api-docs' and update your PR."&& git diff &&exit 1)
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)ES_OPERATOR_NAMESPACE=$(ES_OPERATOR_NAMESPACE)ES_OPERATOR_IMAGE=$(ES_OPERATOR_IMAGE) go test -tags=self_provisioned_elasticsearch ./test/e2e/... $(TEST_OPTIONS)
@echo Running Self provisioned Elasticsearch and Kafka end-to-end tests...
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)ES_OPERATOR_NAMESPACE=$(ES_OPERATOR_NAMESPACE)ES_OPERATOR_IMAGE=$(ES_OPERATOR_IMAGE) go test -tags=self_provisioned_elasticsearch_kafka ./test/e2e/... $(TEST_OPTIONS)
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)ES_OPERATOR_NAMESPACE=$(ES_OPERATOR_NAMESPACE)TEST_TIMEOUT=5ES_OPERATOR_IMAGE=$(ES_OPERATOR_IMAGE) go test -tags=token_propagation_elasticsearch ./test/e2e/... $(TEST_OPTIONS)
.PHONY:e2e-tests-streaming
e2e-tests-streaming:prepare-e2e-testseskafka
@echo Running Streaming end-to-end tests...
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)KAFKA_NAMESPACE=$(KAFKA_NAMESPACE) go test -tags=streaming ./test/e2e/... $(TEST_OPTIONS)
.PHONY:e2e-tests-examples1
e2e-tests-examples1:prepare-e2e-testscassandra
@echo Running Example end-to-end tests part 1...
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)KAFKA_NAMESPACE=$(KAFKA_NAMESPACE) go test -tags=examples1 ./test/e2e/... $(TEST_OPTIONS)
.PHONY:e2e-tests-examples2
e2e-tests-examples2:prepare-e2e-testseskafka
@echo Running Example end-to-end tests part 2...
@STORAGE_NAMESPACE=$(STORAGE_NAMESPACE)KAFKA_NAMESPACE=$(KAFKA_NAMESPACE) go test -tags=examples2 ./test/e2e/... $(TEST_OPTIONS)
@git diff -s --exit-code .ci/.operatorhub-pr-template.md ||(echo"Build failed: the PR template for OperatorHub has changed. Sync it and try again."&&exit 1)
.PHONY:local-jaeger-container
local-jaeger-container:
@echo "Starting local container with Jaeger. Check http://localhost:16686"
$(VECHO)git diff -s --exit-code .ci/.operatorhub-pr-template.md ||(echo"Build failed: the PR template for OperatorHub has changed. Sync it and try again."&&exit 1)
.PHONY:changelog
changelog:
@echo"Set env variable OAUTH_TOKEN before invoking, https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token"
@ -9,23 +8,7 @@ The Jaeger Operator is an implementation of a [Kubernetes Operator](https://kube
Firstly, ensure an [ingress-controller is deployed](https://kubernetes.github.io/ingress-nginx/deploy/). When using `minikube`, you can use the `ingress` add-on: `minikube start --addons=ingress`
Note that you'll need to download and customize the `cluster_role_binding.yaml` if you are using a namespace other than `observability`. You probably also want to download and customize the `operator.yaml`, setting the env var `WATCH_NAMESPACE` to have an empty value, so that it can watch for instances across all namespaces.
Then follow the Jaeger Operator [installation instructions](https://www.jaegertracing.io/docs/latest/operator/).
Once the `jaeger-operator` deployment in the namespace `observability` is ready, create a Jaeger instance, like:
@ -50,17 +33,177 @@ In this example, the Jaeger UI is available at http://192.168.122.34.
The official documentation for the Jaeger Operator, including all its customization options, are available under the main [Jaeger Documentation](https://www.jaegertracing.io/docs/latest/operator/).
CRD-API documentation can be found [here](./docs/api.md).
## Compatibility matrix
See the compatibility matrix [here](./COMPATIBILITY.md).
### Jaeger Operator vs. Jaeger
The Jaeger Operator follows the same versioning as the operand (Jaeger) up to the minor part of the version. For example, the Jaeger Operator v1.22.2 tracks Jaeger 1.22.0. The patch part of the version indicates the patch level of the operator itself, not that of Jaeger. Whenever a new patch version is released for Jaeger, we'll release a new patch version of the operator.
### Jaeger Operator vs. Kubernetes
We strive to be compatible with the widest range of Kubernetes versions as possible, but some changes to Kubernetes itself require us to break compatibility with older Kubernetes versions, be it because of code imcompatibilities, or in the name of maintainability.
Our promise is that we'll follow what's common practice in the Kubernetes world and support N-2 versions, based on the release date of the Jaeger Operator.
For instance, when we released v1.22.0, the latest Kubernetes version was v1.20.5. As such, the minimum version of Kubernetes we support for Jaeger Operator v1.22.0 is v1.18 and we tested it with up to 1.20.
The Jaeger Operator *might* work on versions outside of the given range, but when opening new issues, please make sure to test your scenario on a supported version.
### Jaeger Operator vs. Strimzi Operator
We maintain compatibility with a set of tested Strimzi operator versions, but some changes in Strimzi operator require us to break compatibility with older versions.
The jaeger Operator *might* work on other untested versions of Strimzi Operator, but when opening new issues, please make sure to test your scenario on a supported version.
Sometimes it is preferable to generate plain manifests files instead of running an operator in a cluster. `jaeger-operator generate` generates kubernetes manifests from a given CR. In this example we apply the manifest generated by [examples/simplest.yaml](https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/examples/simplest.yaml) to the namespace `jaeger-test`:
Sometimes it is preferable to generate plain manifests files instead of running an operator in a cluster. `jaeger-operator generate` generates kubernetes manifests from a given CR. In this example we apply the manifest generated by [examples/simplest.yaml](https://raw.githubusercontent.com/jaegertracing/jaeger-operator/main/examples/simplest.yaml) to the namespace `jaeger-test`:
It is recommended to deploy the operator instead of generating a static manifest.
## Jaeger V2 Operator
As the Jaeger V2 is released, it is decided that Jaeger V2 will deployed on Kubernetes using [OpenTelemetry Operator](https://github.com/open-telemetry/opentelemetry-operator). This will benefit both the users of Jaeger and OpenTelemetry. To use Jaeger V2 with OpenTelemetry Operator, the steps are as follows:
* Install the cert-manager in the existing cluster with the command:
Once done, type `localhost:8080` in the browser to interact with the UI.
[Note] There's an ongoing development in OpenTelemetry Operator where users will be able to interact directly with the UI.
### Using Jaeger with database to store traces
To use Jaeger V2 with the supported database, it is mandatory to create database deployments and they should be in `ready` state [(ref)](https://www.jaegertracing.io/docs/2.0/storage/).
Create a Kubernetes Service that exposes the database pods enabling communication between the database and Jaeger pods.
This can be achieved by creating a service in two ways, first by creating it [manually](https://kubernetes.io/docs/concepts/services-networking/service/) or second by creating it using imperative command.
1. Make sure the new version is present at `pkg/upgrade/versions.go`
- Get the `OAUTH_TOKEN` from [Github](https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token), select `repo:status` scope.
- Run `OAUTH_TOKEN=... make changelog`
- Remove the commits that are not relevant to users, like:
* CI or testing-specific commits (e2e, unit test, ...)
* bug fixes for problems that are not part of a release yet
* version bumps for internal dependencies
1. Prepare a changelog since last release. Get the `OAUTH_TOKEN` from (Github)[https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token] and select `repo:status` scope.
## Releasing
```
OAUTH_TOKEN=... make changelog
```
Steps to release a new version of the Jaeger Operator:
1. Commit version change and changelog and create a pull request:
```
git commit -sm "Preparing relase v1.22.0"
1. Change the `versions.txt `so that it lists the target version of the Jaeger (if it is required). **Don't touch the operator version**: it will be changed automatically in the next step.
2. Confirm that `MIN_KUBERNETES_VERSION` and `MIN_OPENSHIFT_VERSION` in the `Makefile` are still up-to-date, and update them if required.
2. Run `OPERATOR_VERSION=1.30.0 make prepare-release`, using the operator version that will be released.
3. Run the E2E tests in OpenShift as described in [the CONTRIBUTING.md](CONTRIBUTING.md#an-external-cluster-like-openshift) file. The tests will be executed automatically in Kubernetes by the GitHub Actions CI later.
4. Prepare a changelog since last release.
4. Update the release manager schedule.
5. Commit the changes and create a pull request:
```sh
git commit -sm "Preparing release v1.30.0"
```
1. Tag and push
5. Once the changes above are merged and available in `main` tag it with the desired version, prefixed with `v`, eg. `v1.30.0`
```
git checkout master ## it's only possible to release from master for now!
7. After the release, PRs needs to be created against the Operator Hub Community Operators repositories:
1. Apply generated OLM catalog files to [operatorhub.io](https://operatorhub.io)
* One for the [upstream-community-operators](https://github.com/k8s-operatorhub/community-operators), used by OLM on Kubernetes.
* One for the [community-operators](https://github.com/redhat-openshift-ecosystem/community-operators-prod) used by OpenShift.
* Clone the [operatorhub](https://github.com/operator-framework/community-operators) repo
* Run `make operatorhub`
- If you have [`hub`](https://hub.github.com/) installed and configured, it will open the necessary PRs for you automatically. Hint: `dnf install hub` works fine on Fedora.
- If you don't have it, the branches will be pushed to `origin` and you should be able to open the PR from there
This can be done with the following steps:
- Update main `git pull git@github.com:jaegertracing/jaeger-operator.git main`
- Clone both repositories `upstream-community-operators` and `community-operators`
- Run `make operatorhub`
* If you have [`gh`](https://cli.github.com/) installed and configured, it will open the necessary PRs for you automatically.
* If you don't have it, the branches will be pushed to `origin` and you should be able to open the PR from there
## Note
After the PRs have been made it must be ensured that:
- Images listed in the ClusterServiceVersion (CSV) have a versions tag [#1682](https://github.com/jaegertracing/jaeger-operator/issues/1682)
- No `bundle` folder is included in the release
- No foreign CRs like prometheus are in the manifests
## Release managers
The operator should be released within a week after the [Jaeger release](https://github.com/jaegertracing/jaeger/blob/main/RELEASE.md#release-managers).
// JaegerCassandraCreateSchemaSpec holds the options related to the create-schema batch job
// +k8s:openapi-gen=true
typeJaegerCassandraCreateSchemaSpecstruct{
// +optional
Enabled*bool`json:"enabled,omitempty"`
// Image specifies the container image to use to create the cassandra schema.
// The Image is used by a Kubernetes Job, defaults to the image provided through the cli flag "jaeger-cassandra-schema-image" (default: jaegertracing/jaeger-cassandra-schema).
// See here for the jaeger-provided image: https://github.com/jaegertracing/jaeger/tree/master/plugin/storage/cassandra
// See here for the jaeger-provided image: https://github.com/jaegertracing/jaeger/tree/main/plugin/storage/cassandra
// +optional
Imagestring`json:"image,omitempty"`
@ -553,12 +662,21 @@ type JaegerCassandraCreateSchemaSpec struct {
// Default implements webhook.Defaulter so a webhook will be registered for the type
func(j*Jaeger)Default(){
jaegerlog.Info("default","name",j.Name)
jaegerlog.Info("WARNING jaeger-agent is deprecated and will removed in v1.55.0. See https://github.com/jaegertracing/jaeger/issues/4739","component","agent")
Jaeger, inspired by [Dapper](https://research.google.com/pubs/pub36356.html) and [OpenZipkin](http://zipkin.io/), is a distributed tracing system released as open source by Uber Technologies. It is used for monitoring and troubleshooting microservices-based distributed systems.
### Core capabilities
Jaeger is used for monitoring and troubleshooting microservices-based distributed systems, including:
***Multiplemodes** - Supports `allInOne`, `production` and `streaming` [modes of deployment](https://www.jaegertracing.io/docs/latest/operator/#deployment-strategies).
***Configuration**- The Operator manages [configuration information](https://www.jaegertracing.io/docs/latest/operator/#configuring-the-custom-resource) when installing Jaeger instances.
***Storage**- [Configure storage](https://www.jaegertracing.io/docs/latest/operator/#storage-options) used by Jaeger. By default, `memory` is used. Other options include `badger`, `cassandra` or `elasticsearch`. On OpenShift, the operator can delegate creation of an Elasticsearch cluster to the Elasticsearch Operator if deployed.
***Agent**- can be deployed as [sidecar](https://www.jaegertracing.io/docs/latest/operator/#auto-injecting-jaeger-agent-sidecars) (default) and/or [daemonset](https://www.jaegertracing.io/docs/latest/operator/#installing-the-agent-as-daemonset).
***UI**- Optionally setup ingress (Kubernetes) or secure route (OpenShift) to provide [access to the Jaeger UI](https://www.jaegertracing.io/docs/latest/operator/#accessing-the-jaeger-console-ui).
### Before you start
1. Ensure that the appropriate storage solution, that will be used by the Jaeger instance, is available and configured.
2. If intending to deploy an Elasticsearch cluster via the Jaeger custom resource, then the Elasticsearch Operator must first be installed.
- description:A configuration file for a Jaeger custom resource.
- description:Jaeger is the Schema for the jaegers API
displayName:Jaeger
kind:Jaeger
name:jaegers.jaegertracing.io
resources:
- kind:ConfigMaps
name:""
version:v1
- kind:CronJob
name:""
version:v1beta1
- kind:DaemonSets
name:""
version:apps/v1
- kind:Deployment
name:""
version:apps/v1
- kind:Ingress
name:""
version:networking/v1
- kind:Pod
name:""
version:v1
- kind:Service
name:""
version:v1
- kind:StatefulSets
name:""
version:apps/v1
specDescriptors:
- displayName:Strategy
path:allInOne.strategy
- displayName:Strategy
path:collector.strategy
- displayName:Strategy
path:query.strategy
- displayName:Strategy
path:strategy
statusDescriptors:
- displayName:Phase
path:phase
- displayName:Version
path:version
version:v1
description:|-
Jaeger, inspired by [Dapper](https://research.google.com/pubs/pub36356.html) and [OpenZipkin](http://zipkin.io/), is a distributed tracing system released as open source by Uber Technologies. It is used for monitoring and troubleshooting microservices-based distributed systems.
### Core capabilities
Jaeger is used for monitoring and troubleshooting microservices-based distributed systems, including:
***Multiplemodes** - Supports `allInOne`, `production` and `streaming` [modes of deployment](https://www.jaegertracing.io/docs/latest/operator/#deployment-strategies).
***Configuration**- The Operator manages [configuration information](https://www.jaegertracing.io/docs/latest/operator/#configuring-the-custom-resource) when installing Jaeger instances.
***Storage**- [Configure storage](https://www.jaegertracing.io/docs/latest/operator/#storage-options) used by Jaeger. By default, `memory` is used. Other options include `badger`, `cassandra` or `elasticsearch`. On OpenShift, the operator can delegate creation of an Elasticsearch cluster to the Elasticsearch Operator if deployed.
***Agent**- can be deployed as [sidecar](https://www.jaegertracing.io/docs/latest/operator/#auto-injecting-jaeger-agent-sidecars) (default) and/or [daemonset](https://www.jaegertracing.io/docs/latest/operator/#installing-the-agent-as-daemonset).
***UI**- Optionally setup ingress (Kubernetes) or secure route (OpenShift) to provide [access to the Jaeger UI](https://www.jaegertracing.io/docs/latest/operator/#accessing-the-jaeger-console-ui).
### Before you start
1. Ensure that the appropriate storage solution, that will be used by the Jaeger instance, is available and configured.
2. If intending to deploy an Elasticsearch cluster via the Jaeger custom resource, then the Elasticsearch Operator must first be installed.