forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support openshift routes (open-telemetry#1206)
* split service port from config calculation into its own function Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * register openshift route v1 as valid ingress enum Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add routes to reconcile loop - determine platform - grant otel controller permission to route api Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add openshift api to go mod Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add naming method for openshift routes Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add route reconcile routine Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add route reconciler if platform changes to openshift Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * move route cr definition into testdata package Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * controllers: verify that route is created Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * crd: move route tls termination settings into extra section Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * fix: share platform state across copied config objects Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * controller: split opentelemetry collector callback Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * tests: add route e2e tests Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * fix govet linting ``` main.go:238:16: shadow: declaration of "err" shadows declaration at line 230 (govet) configBytes, err := yaml.Marshal(configs) ^ ``` Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * add ingress workaround description Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> * regenerate Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
- Loading branch information
Showing
29 changed files
with
974 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.