Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support openshift routes #1206

Merged
merged 16 commits into from
Dec 12, 2022

Commits on Dec 8, 2022

  1. split service port from config calculation into its own function

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    495b6f7 View commit details
    Browse the repository at this point in the history
  2. register openshift route v1 as valid ingress enum

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    763ee9f View commit details
    Browse the repository at this point in the history
  3. add routes to reconcile loop

    - determine platform
    - grant otel controller permission to route api
    
    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    c05c291 View commit details
    Browse the repository at this point in the history
  4. add openshift api to go mod

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    49a8c45 View commit details
    Browse the repository at this point in the history
  5. add naming method for openshift routes

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    d37987b View commit details
    Browse the repository at this point in the history
  6. add route reconcile routine

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    8f84e00 View commit details
    Browse the repository at this point in the history
  7. add route reconciler if platform changes to openshift

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    e82f60a View commit details
    Browse the repository at this point in the history
  8. move route cr definition into testdata package

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    02fffbc View commit details
    Browse the repository at this point in the history
  9. controllers: verify that route is created

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    21e0402 View commit details
    Browse the repository at this point in the history
  10. crd: move route tls termination settings into extra section

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    972f2aa View commit details
    Browse the repository at this point in the history
  11. fix: share platform state across copied config objects

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    afad359 View commit details
    Browse the repository at this point in the history
  12. controller: split opentelemetry collector callback

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    015b4eb View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. tests: add route e2e tests

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    0fe315b View commit details
    Browse the repository at this point in the history
  2. 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>
    frzifus committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    4d732c6 View commit details
    Browse the repository at this point in the history
  3. add ingress workaround description

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    b03a26d View commit details
    Browse the repository at this point in the history
  4. regenerate

    Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
    frzifus committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    0a860e8 View commit details
    Browse the repository at this point in the history