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

Sync integration tests #542

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

werdes72
Copy link
Collaborator

Description

Changes proposed in this pull request:

  • sync main branch integration tests to mod-dev

barchw and others added 4 commits September 19, 2023 14:56
* Istio upgrade test code

* Github workflow

* Wait for job to suceed

* Fix issues

* Update action.yaml

* Update config.go

* Lint

* Not required

* Get TEST_UPGRADE_IMG seperately

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update Makefile

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Wait for reconciliation

* Fix retries

* Remove the second namespace, because it is not used in the test.

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
* Update main.go

* Update action.yaml

* Fix lint issues

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Revert "Merge pull request kyma-project#26 from barchw/barchw-patch-11"

This reverts commit 5ecf518, reversing
changes made to 81ebf6d.

* Update integration-tests.yaml

* Update integration-tests.yaml

* Use environments

* Branch

* Use env

* Use env

* Use env

* Switch boolean

* Switch boolean

* Switch boolean

* Update integration-tests.yaml

* Create 04-30-ci-cd.md

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
* Update integration-tests.yaml

* Update action.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml
* Fix oauth2 scenarios in ory jwt

* Remove hydra mentions

* Fix
@werdes72 werdes72 requested review from a team as code owners September 19, 2023 12:58
@kyma-bot kyma-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Sep 19, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Sep 20, 2023
@kyma-bot kyma-bot merged commit 2bf6184 into kyma-project:mod-dev Sep 20, 2023
10 checks passed
@werdes72 werdes72 deleted the mod-dev-integration-test branch September 20, 2023 08:45
kyma-bot pushed a commit that referenced this pull request Oct 18, 2023
* Add APIGateway controller (#487)

* Add scaffolding of APIGateway

* Adapt kubebuilder project name and add commonLabels

* Rename default cr

* Adapt makefile and remove config that is not required.

* Fix envtest suite config

* Remove .env for now

* Exclude ORY integration tests, add priority class and move license info

* APIGateway controller updates CR status to ready

* Fix integration tests

* Remove unuser files and add overview diagram

* Make istio JWT handler the default and remove config map

* Simplify flags

* Remove Ory JWT envtest tests

* Add RateLimiter, remove problematic configmap code and add all status of APIGateway and status description.

* Remove status test description and remove empty spec on default APIGateway

* Adapt rate limit creation and docs

* Revert configmap handling

* Revert import changes to reduce amount of changes for review and revert accidentally committed apirule crd

* Add missing startup param to doc

* Fix linting issues

* Add scripts to start api-gateway with lifecycle-manager locally

* Adapt script that checks local deployment status to use the correct resource

* Revert removal of LICENSES folder

* Update apis/operator/v1alpha1/apigateway_types.go

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Updated generated manifest

* Update config/samples/operator_v1alpha1_apigateway.yaml

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Update hack/verify_kyma_status.sh

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

---------

Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Remove api-gateway-config cm (#496)

* Remove api-gateway-config cm so it's not reconciled by lifecycle-manager.
Add basic testenv integrationtest for gateway controller.

* Update controller suite names

* Add kyma-install again (#497)

* Add API Gateway Module documentation (#493)

* Restructure documentation

* Add APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Add contributor operator SKR overview

* Add first version of the technical design

* Update operator overview diagram

* Add ADR link

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update docs structure and add DNSProvider to overview diagram

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* makefile adjustments and helper scripts (#506)

* Create API-Gateway-CRD-proposal.md (#481)

* Create API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update CRD and scenarios

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update docs/API-Gateway-CRD-proposal.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update API-Gateway-CRD-proposal.md

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Rename docs/API-Gateway-CRD-proposal.md to docs/contributor/API-Gateway-CRD-proposal.md

* Rename API-Gateway-CRD-proposal.md to 01-10-API-Gateway-CRD-proposal.md

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* code validation for pull requests (#510)

* Refactor and PR workflow test (#513)

* two grep invocations less

* workflow file moved

* reverting api rules

* Bump dependencies from main (#517)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* gomod(deps): bump the k8s-dependencies group with 3 updates (#522)

Bumps the k8s-dependencies group with 3 updates: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/client-go](https://github.com/kubernetes/client-go) and [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver).


Updates `k8s.io/apimachinery` from 0.28.1 to 0.28.2
- [Commits](kubernetes/apimachinery@v0.28.1...v0.28.2)

Updates `k8s.io/client-go` from 0.28.1 to 0.28.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.28.1...v0.28.2)

Updates `k8s.io/apiextensions-apiserver` from 0.28.1 to 0.28.2
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.28.1...v0.28.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release on mod-dev: initial workflow and scripts (#523)

* initial workflow and scripts

* job names adjusted

* Trigger manager image build (#525)

* Discover default domain from gateway (#515)

* Discover default domain from gateway

* Fallback host to ""

* Add tests and rbac

* Remove unused

* Revert crd

* Review fixes

* Update docu

* Add envtest

* Add envtest

* Use istio handler

* Fix go mod

* Description

* Description

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* ci makefile enhanced (#507)

* initial version (#540)

* Sync integration tests (#542)

* API Gateway upgrade test (#494)

* Istio upgrade test code

* Github workflow

* Wait for job to suceed

* Fix issues

* Update action.yaml

* Update config.go

* Lint

* Not required

* Get TEST_UPGRADE_IMG seperately

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update Makefile

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Wait for reconciliation

* Fix retries

* Remove the second namespace, because it is not used in the test.

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* Fix integration test workflow (#508)

* Update main.go

* Update action.yaml

* Fix lint issues

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Revert "Merge pull request #26 from barchw/barchw-patch-11"

This reverts commit 5ecf518, reversing
changes made to 81ebf6d.

* Update integration-tests.yaml

* Update integration-tests.yaml

* Use environments

* Branch

* Use env

* Use env

* Use env

* Switch boolean

* Switch boolean

* Switch boolean

* Update integration-tests.yaml

* Create 04-30-ci-cd.md

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Fix integration test pipeline #2 (#531)

* Update integration-tests.yaml

* Update action.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Fix oauth2 scenarios in ory jwt (#536)

* Fix oauth2 scenarios in ory jwt

* Remove hydra mentions

* Fix

* Fix apirule import path

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* gomod(deps): bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 (#546)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.12.0...v2.12.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Typos, messages and  improvements regarding module building (#548)

* layout changes

* more layout changes

* additional message

* silent curl

* do not show progress meter

* sed corrected, additional target to get latest release version (#553)

* API Gateway documentation (#521)

* add initial api gateway docu

* update documentation

* review docs

* fix links

* revert unnecessary changes

* fix links

* add apirule readme

* language fixes

* review docs

* adjust diagrams

* Remove ClusterRoles

* apply Bartek's suggestions

* remove outdated tutorial

* remove serverless dep

* remove serverless deps

* remove serverless deps

* remove titles

* remove block list tg

* Update docs/user/technical-reference/05-00-api-gateway-operator-parameters.md

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* delete blocklist docu

* fix links

* remove-cipher-suites

* remove articles

* remove minProtocolVersions and cipherSuites from examples

* Apply suggestions from code review

Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* Apply suggestions from code review

Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* restructure 404 tutorial

* language fixes

* language fixes

* update-links

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* Adjust custom domain test's deploy to gardener (#565)

* Adjust custom domain test's deploy to gardener

* Improve comment

* gomod(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 (#571)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.28.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.10...v1.28.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Integration tests pipelines (#572)

* Save point

* Save point 2

* change deploy script controller to manager

* save point again

* Cleanup

* Remove unused var in tests

* change workflow trigger

* debug

* debug

* debug

* fix dir typo

* quick fix

* kubeconfig changes

* fix input

* Check

* check export

* revert kubeconfig

* Update makefile and change action input

* Fix make target in workflow, remove api gateway from api gateway prereq

* Improvements

* Refactor

* Fix typo

* fix

* fix

* finally

* fix

* fix

* typo

* Refactor

* test

* revert after test

* change target for test

* Set proper trigger

* fix workflow bugs (#573)

* Fix ref (#576)

* Add Kyma Gateway (#537)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* Update certificate_secret.yaml

* Update certificate_secret.yaml

---------

Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>

* Revert "Fix ref (#576)" (#577)

This reverts commit 7eb9c73.

* Checkouting PR code for pull requests in integration tests (#584)

* checkouting PR code for pull requests

* Update .github/actions/integration-tests/action.yaml

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Remove upgrade test from workflows (#588)

* wait for rel jobs triggered by tag creation (#590)

* Edit formatting (#591)

* edit note formatting

* fix a broken link

* Pipelines docs (#574)

* Update cicd docs

* add links to test infra jobs

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Quick fix

* small change

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update 04-30-ci-cd.md

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>

* Default gateway integration tests (#582)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Integration tests with gateway CR

* Restore config files

* Don't use namespace

* Add gateway removal after test suite run

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* Wait for gateway and check its state

* Add gateway disabling test

* Add test for apirule blocking gateway removal

* Integration tests with gateway CR

* Restore config files

* Don't use namespace

* Add gateway removal after test suite run

* Wait for gateway and check its state

* Add gateway disabling test

* Add test for apirule blocking gateway removal

* Add gardener scenario

* Fix gardener scenarios, polish tests

* Code review changes

* CR changes

* Fix kyma gateway removal test

* Add separate gardener scenario, add new config variable

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* gomod(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 (#594)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.16.0.
- [Commits](golang/net@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#595)

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.12.0 to 0.13.0.
- [Commits](golang/oauth2@v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* fix make target (#601)

* Update pull-integration.yaml (#602)

* gomod(deps): bump github.com/gardener/external-dns-management (#604)

Bumps [github.com/gardener/external-dns-management](https://github.com/gardener/external-dns-management) from 0.15.8 to 0.15.9.
- [Release notes](https://github.com/gardener/external-dns-management/releases)
- [Commits](gardener/external-dns-management@v0.15.8...v0.15.9)

---
updated-dependencies:
- dependency-name: github.com/gardener/external-dns-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* docker(deps): bump kyma-project/prod/external/golang (#603)

Bumps kyma-project/prod/external/golang from 1.21.0-alpine3.18 to 1.21.2-alpine3.18.

---
updated-dependencies:
- dependency-name: kyma-project/prod/external/golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump github.com/gardener/cert-management (#605)

Bumps [github.com/gardener/cert-management](https://github.com/gardener/cert-management) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/gardener/cert-management/releases)
- [Commits](gardener/cert-management@v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: github.com/gardener/cert-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#607)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.12.1...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* gomod(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 (#611)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](golang/net@v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Enable Gateway integration tests (#613)

* Add APIGateway integration tests

* Add retry to create gateway CR step

* Set test concurrency to 1 in gateway tests

---------

Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>

* troubleshooting guide for 401 & 403

* update on APIGateway CR

* troubleshooting guide for 401 & 403

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Oathkeeper (#583)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* In progress

* Move

* In progress

* In progress

* In progress

* Add units

* Remove cronjob

* In progress

* Add units

* Update configmap

* RBAC

* Go mod

* Adjust tests

* Update clusterconfig.go

* Add istio injection label

* Integration tests

* Add istio injection label

* Add istio injection label

* Wait for deployment to be ready

* Wait for CRD deletion to end

* More integration tests

* fix err messages

* probably fixed lint issue

* tests refactor

* Update tests

* Update tests

* Update internal/clusterconfig/clusterconfig_suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gardener_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/oathkeeper.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/clusterconfig/clusterconfig_suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Apply suggestions from code review

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Overrides

* Hooks in integration tests

* Readd cancel

* add api extension to scheme

* Remove duplicated

* Add hooks to integration tests

* Fix gateway scenario

* Fix lint issues

* Longer wait

* Update wait for deployment

* Add docs

* increase timeout

* Fix step in gardener scenario

* Disable wait for deployments in unit tests

* Remove processing

* Remove err

* Change the way of checking oathkeeper ready

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Replicas

* Add appsv1

* Change teardown of APIRules and APIGateway

* Fix linting issues

* Add different context for testenv tests

* Remove oathkeeper rules CRD, since it's installed by the controller

* Move Oathkeeper CRD from hack folder to gateway package since it's only relevant for those tests

* hack for deadline exceeded during teardown

* Add comment and log

* Increase timeout for apigateway unit tests

* Add documentation

* Remove unused file

* remove hpa step from APIGateway integration tests

* Add unit tests

* Add processing status, so we don't set status to ready too early.

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>

* Extend cicd docs (#622)

* Extends cicd docs

* Update docs/contributor/04-30-ci-cd.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* fix bug in wokrflow (#621)

* API-Gateway module CR blocking deletion (#567)

* Rebase

* Delete default Kyma gateway

* Integration tests

* API-Gateway operatore godoc feature

* Adapt implementation to use existing status implementation

* Fix failing test

* Remove duplicated code

* Adapt deletion conditions and tests

* Adapt deletion conditions and tests ... AGAIN (pain)

* Integration test

* Clean blocking resources on tearDown

* manifests in Docker image

* no error on delete blocking resources

* no delete

* lint

* delete blocking resources

* Update

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* eventually timeout 40secs

* Run gateway tests as github action

* current state

* Integration tests fixed

* Delete blocking resources on suites also

* dummy

* Fix hook

* Remove blocking resources on tear down as well

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/resources/resources_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Updates

* Fix unit tests

* Refactor

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Add virtual service for monitoring (#626)

* Add kyma gateway virtual service for monitoring

* Fix virtual service spec

* Move constants to template

* Code review fixes

* API-Gateway module CR blocking deletion (#567)

* Rebase

* Delete default Kyma gateway

* Integration tests

* API-Gateway operatore godoc feature

* Adapt implementation to use existing status implementation

* Fix failing test

* Remove duplicated code

* Adapt deletion conditions and tests

* Adapt deletion conditions and tests ... AGAIN (pain)

* Integration test

* Clean blocking resources on tearDown

* manifests in Docker image

* no error on delete blocking resources

* no delete

* lint

* delete blocking resources

* Update

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* eventually timeout 40secs

* Run gateway tests as github action

* current state

* Integration tests fixed

* Delete blocking resources on suites also

* dummy

* Fix hook

* Remove blocking resources on tear down as well

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/resources/resources_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Updates

* Fix unit tests

* Refactor

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Make new istio-healthz Virtual Service a controlled resource.
Added tests.

* Add integration test and documentation for istio-healthz

* Update virtual service test

* Update docs

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams

* Update diagrams

* Revert "Update diagrams"

This reverts commit 301d507.

* Revert "Update diagrams"

This reverts commit 24da373.

---------

Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Remove old code

* Fix integration tests by using workflows files from PR for this.

* Revert "Fix integration tests by using workflows files from PR for this."

This reverts commit 200650d.

* Update pull-request workflow to trigger on main.
Remove mod-dev from dependabot config

* Remove unused code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Jarosław Pieszka <jaroslaw.pieszka@sap.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>
Co-authored-by: Patryk Strugacz <werdes72@users.noreply.github.com>
Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>
Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>
Co-authored-by: Magda Strek <magdalena.strek@sap.com>
kyma-bot pushed a commit that referenced this pull request Oct 20, 2023
* Add APIGateway controller (#487)

* Add scaffolding of APIGateway

* Adapt kubebuilder project name and add commonLabels

* Rename default cr

* Adapt makefile and remove config that is not required.

* Fix envtest suite config

* Remove .env for now

* Exclude ORY integration tests, add priority class and move license info

* APIGateway controller updates CR status to ready

* Fix integration tests

* Remove unuser files and add overview diagram

* Make istio JWT handler the default and remove config map

* Simplify flags

* Remove Ory JWT envtest tests

* Add RateLimiter, remove problematic configmap code and add all status of APIGateway and status description.

* Remove status test description and remove empty spec on default APIGateway

* Adapt rate limit creation and docs

* Revert configmap handling

* Revert import changes to reduce amount of changes for review and revert accidentally committed apirule crd

* Add missing startup param to doc

* Fix linting issues

* Add scripts to start api-gateway with lifecycle-manager locally

* Adapt script that checks local deployment status to use the correct resource

* Revert removal of LICENSES folder

* Update apis/operator/v1alpha1/apigateway_types.go

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Updated generated manifest

* Update config/samples/operator_v1alpha1_apigateway.yaml

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Update hack/verify_kyma_status.sh

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

---------

Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Remove api-gateway-config cm (#496)

* Remove api-gateway-config cm so it's not reconciled by lifecycle-manager.
Add basic testenv integrationtest for gateway controller.

* Update controller suite names

* Add kyma-install again (#497)

* Add API Gateway Module documentation (#493)

* Restructure documentation

* Add APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Update APIRule reconciliation sequence diagram

* Add contributor operator SKR overview

* Add first version of the technical design

* Update operator overview diagram

* Add ADR link

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update docs structure and add DNSProvider to overview diagram

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* makefile adjustments and helper scripts (#506)

* Create API-Gateway-CRD-proposal.md (#481)

* Create API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update CRD and scenarios

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update API-Gateway-CRD-proposal.md

* Update docs/API-Gateway-CRD-proposal.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update API-Gateway-CRD-proposal.md

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Rename docs/API-Gateway-CRD-proposal.md to docs/contributor/API-Gateway-CRD-proposal.md

* Rename API-Gateway-CRD-proposal.md to 01-10-API-Gateway-CRD-proposal.md

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* code validation for pull requests (#510)

* Refactor and PR workflow test (#513)

* two grep invocations less

* workflow file moved

* reverting api rules

* Bump dependencies from main (#517)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* gomod(deps): bump the k8s-dependencies group with 3 updates (#522)

Bumps the k8s-dependencies group with 3 updates: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/client-go](https://github.com/kubernetes/client-go) and [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver).


Updates `k8s.io/apimachinery` from 0.28.1 to 0.28.2
- [Commits](kubernetes/apimachinery@v0.28.1...v0.28.2)

Updates `k8s.io/client-go` from 0.28.1 to 0.28.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.28.1...v0.28.2)

Updates `k8s.io/apiextensions-apiserver` from 0.28.1 to 0.28.2
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](kubernetes/apiextensions-apiserver@v0.28.1...v0.28.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release on mod-dev: initial workflow and scripts (#523)

* initial workflow and scripts

* job names adjusted

* Trigger manager image build (#525)

* Discover default domain from gateway (#515)

* Discover default domain from gateway

* Fallback host to ""

* Add tests and rbac

* Remove unused

* Revert crd

* Review fixes

* Update docu

* Add envtest

* Add envtest

* Use istio handler

* Fix go mod

* Description

* Description

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* ci makefile enhanced (#507)

* initial version (#540)

* Sync integration tests (#542)

* API Gateway upgrade test (#494)

* Istio upgrade test code

* Github workflow

* Wait for job to suceed

* Fix issues

* Update action.yaml

* Update config.go

* Lint

* Not required

* Get TEST_UPGRADE_IMG seperately

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update tests/integration/testsuites/upgrade/features/upgrade.feature

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update Makefile

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Wait for reconciliation

* Fix retries

* Remove the second namespace, because it is not used in the test.

---------

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* Fix integration test workflow (#508)

* Update main.go

* Update action.yaml

* Fix lint issues

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update main.go

* Update integration-tests.yaml

* Update main.go

* Revert "Merge pull request #26 from barchw/barchw-patch-11"

This reverts commit 5ecf518, reversing
changes made to 81ebf6d.

* Update integration-tests.yaml

* Update integration-tests.yaml

* Use environments

* Branch

* Use env

* Use env

* Use env

* Switch boolean

* Switch boolean

* Switch boolean

* Update integration-tests.yaml

* Create 04-30-ci-cd.md

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Fix integration test pipeline #2 (#531)

* Update integration-tests.yaml

* Update action.yaml

* Update action.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update integration-tests.yaml

* Update action.yaml

* Fix oauth2 scenarios in ory jwt (#536)

* Fix oauth2 scenarios in ory jwt

* Remove hydra mentions

* Fix

* Fix apirule import path

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* gomod(deps): bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 (#546)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.12.0...v2.12.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Typos, messages and  improvements regarding module building (#548)

* layout changes

* more layout changes

* additional message

* silent curl

* do not show progress meter

* sed corrected, additional target to get latest release version (#553)

* API Gateway documentation (#521)

* add initial api gateway docu

* update documentation

* review docs

* fix links

* revert unnecessary changes

* fix links

* add apirule readme

* language fixes

* review docs

* adjust diagrams

* Remove ClusterRoles

* apply Bartek's suggestions

* remove outdated tutorial

* remove serverless dep

* remove serverless deps

* remove serverless deps

* remove titles

* remove block list tg

* Update docs/user/technical-reference/05-00-api-gateway-operator-parameters.md

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* delete blocklist docu

* fix links

* remove-cipher-suites

* remove articles

* remove minProtocolVersions and cipherSuites from examples

* Apply suggestions from code review

Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* Apply suggestions from code review

Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* restructure 404 tutorial

* language fixes

* language fixes

* update-links

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>

* Adjust custom domain test's deploy to gardener (#565)

* Adjust custom domain test's deploy to gardener

* Improve comment

* gomod(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 (#571)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.28.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.10...v1.28.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Integration tests pipelines (#572)

* Save point

* Save point 2

* change deploy script controller to manager

* save point again

* Cleanup

* Remove unused var in tests

* change workflow trigger

* debug

* debug

* debug

* fix dir typo

* quick fix

* kubeconfig changes

* fix input

* Check

* check export

* revert kubeconfig

* Update makefile and change action input

* Fix make target in workflow, remove api gateway from api gateway prereq

* Improvements

* Refactor

* Fix typo

* fix

* fix

* finally

* fix

* fix

* typo

* Refactor

* test

* revert after test

* change target for test

* Set proper trigger

* fix workflow bugs (#573)

* Fix ref (#576)

* Add Kyma Gateway (#537)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* Update certificate_secret.yaml

* Update certificate_secret.yaml

---------

Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>

* Revert "Fix ref (#576)" (#577)

This reverts commit 7eb9c73.

* Checkouting PR code for pull requests in integration tests (#584)

* checkouting PR code for pull requests

* Update .github/actions/integration-tests/action.yaml

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

---------

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>

* Remove upgrade test from workflows (#588)

* wait for rel jobs triggered by tag creation (#590)

* Edit formatting (#591)

* edit note formatting

* fix a broken link

* Pipelines docs (#574)

* Update cicd docs

* add links to test infra jobs

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Quick fix

* small change

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update 04-30-ci-cd.md

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>

* Default gateway integration tests (#582)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Integration tests with gateway CR

* Restore config files

* Don't use namespace

* Add gateway removal after test suite run

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* Wait for gateway and check its state

* Add gateway disabling test

* Add test for apirule blocking gateway removal

* Integration tests with gateway CR

* Restore config files

* Don't use namespace

* Add gateway removal after test suite run

* Wait for gateway and check its state

* Add gateway disabling test

* Add test for apirule blocking gateway removal

* Add gardener scenario

* Fix gardener scenarios, polish tests

* Code review changes

* CR changes

* Fix kyma gateway removal test

* Add separate gardener scenario, add new config variable

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* gomod(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 (#594)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.16.0.
- [Commits](golang/net@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#595)

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.12.0 to 0.13.0.
- [Commits](golang/oauth2@v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* fix make target (#601)

* Update pull-integration.yaml (#602)

* gomod(deps): bump github.com/gardener/external-dns-management (#604)

Bumps [github.com/gardener/external-dns-management](https://github.com/gardener/external-dns-management) from 0.15.8 to 0.15.9.
- [Release notes](https://github.com/gardener/external-dns-management/releases)
- [Commits](gardener/external-dns-management@v0.15.8...v0.15.9)

---
updated-dependencies:
- dependency-name: github.com/gardener/external-dns-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* docker(deps): bump kyma-project/prod/external/golang (#603)

Bumps kyma-project/prod/external/golang from 1.21.0-alpine3.18 to 1.21.2-alpine3.18.

---
updated-dependencies:
- dependency-name: kyma-project/prod/external/golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump github.com/gardener/cert-management (#605)

Bumps [github.com/gardener/cert-management](https://github.com/gardener/cert-management) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/gardener/cert-management/releases)
- [Commits](gardener/cert-management@v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: github.com/gardener/cert-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>

* gomod(deps): bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#607)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.12.1...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* gomod(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 (#611)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](golang/net@v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Enable Gateway integration tests (#613)

* Add APIGateway integration tests

* Add retry to create gateway CR step

* Set test concurrency to 1 in gateway tests

---------

Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>

* troubleshooting guide for 401 & 403

* update on APIGateway CR

* troubleshooting guide for 401 & 403

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Oathkeeper (#583)

* Add EnableKymaGateway in Gateway CR
Add creation of Kyma Gateway

* Add status handling and Kyma Gateway reconcile

* Fix envtest integration tests

* Add disabling of Kyma Gateway

* Block Kyma gateway deletion if any APIRule exists

* Blocked Kyma Gateway deletion sets APIGateway CR to warning status

* Add DNSEntry reconciliation

* Add DNSEntry CRD

* Add basic certificate creation

* Add Gardener Cert to install

* Reduce code duplication

* Add Gardener certificate reconciliation

* Add default certificate secret

* Add handling for DNS-based load balancer

* Add finalizer

* Update file structure and names

* Simplify finalizer code

* Update local dev certs

* Fix DNSEntries RBAC

* Fix missing kinds in controller client

* Init gateway test

* Fix integration test step

* Add godog tags

* Add kyma gateway resources diagrams

* Add Kyma Gateway docs

* Update Gateway docs

* Revert "Add godog tags"

This reverts commit f0dbfbb.

* Revert "Fix integration test step"

This reverts commit 1913e3d.

* Revert "Init gateway test"

This reverts commit c2c085b.

* Apply documentation suggestions from code review

Co-authored-by: Bartosz Chwila <103247439+barchw@users.noreply.github.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams with diagrams proposed in review

* Code review remarks

* Merge temporary doc into real doc

* In progress

* Move

* In progress

* In progress

* In progress

* Add units

* Remove cronjob

* In progress

* Add units

* Update configmap

* RBAC

* Go mod

* Adjust tests

* Update clusterconfig.go

* Add istio injection label

* Integration tests

* Add istio injection label

* Add istio injection label

* Wait for deployment to be ready

* Wait for CRD deletion to end

* More integration tests

* fix err messages

* probably fixed lint issue

* tests refactor

* Update tests

* Update tests

* Update internal/clusterconfig/clusterconfig_suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gardener_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/oathkeeper.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/clusterconfig/clusterconfig_suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/oathkeeper/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/suite_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Apply suggestions from code review

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Overrides

* Hooks in integration tests

* Readd cancel

* add api extension to scheme

* Remove duplicated

* Add hooks to integration tests

* Fix gateway scenario

* Fix lint issues

* Longer wait

* Update wait for deployment

* Add docs

* increase timeout

* Fix step in gardener scenario

* Disable wait for deployments in unit tests

* Remove processing

* Remove err

* Change the way of checking oathkeeper ready

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Replicas

* Add appsv1

* Change teardown of APIRules and APIGateway

* Fix linting issues

* Add different context for testenv tests

* Remove oathkeeper rules CRD, since it's installed by the controller

* Move Oathkeeper CRD from hack folder to gateway package since it's only relevant for those tests

* hack for deadline exceeded during teardown

* Add comment and log

* Increase timeout for apigateway unit tests

* Add documentation

* Remove unused file

* remove hpa step from APIGateway integration tests

* Add unit tests

* Add processing status, so we don't set status to ready too early.

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>

* Extend cicd docs (#622)

* Extends cicd docs

* Update docs/contributor/04-30-ci-cd.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

---------

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* fix bug in wokrflow (#621)

* API-Gateway module CR blocking deletion (#567)

* Rebase

* Delete default Kyma gateway

* Integration tests

* API-Gateway operatore godoc feature

* Adapt implementation to use existing status implementation

* Fix failing test

* Remove duplicated code

* Adapt deletion conditions and tests

* Adapt deletion conditions and tests ... AGAIN (pain)

* Integration test

* Clean blocking resources on tearDown

* manifests in Docker image

* no error on delete blocking resources

* no delete

* lint

* delete blocking resources

* Update

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* eventually timeout 40secs

* Run gateway tests as github action

* current state

* Integration tests fixed

* Delete blocking resources on suites also

* dummy

* Fix hook

* Remove blocking resources on tear down as well

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/resources/resources_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Updates

* Fix unit tests

* Refactor

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Add virtual service for monitoring (#626)

* Add kyma gateway virtual service for monitoring

* Fix virtual service spec

* Move constants to template

* Code review fixes

* API-Gateway module CR blocking deletion (#567)

* Rebase

* Delete default Kyma gateway

* Integration tests

* API-Gateway operatore godoc feature

* Adapt implementation to use existing status implementation

* Fix failing test

* Remove duplicated code

* Adapt deletion conditions and tests

* Adapt deletion conditions and tests ... AGAIN (pain)

* Integration test

* Clean blocking resources on tearDown

* manifests in Docker image

* no error on delete blocking resources

* no delete

* lint

* delete blocking resources

* Update

* Update docs/contributor/04-10-technical-design.md

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* eventually timeout 40secs

* Run gateway tests as github action

* current state

* Integration tests fixed

* Delete blocking resources on suites also

* dummy

* Fix hook

* Remove blocking resources on tear down as well

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/reconciliations/gateway/kyma_gateway.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update internal/resources/resources_test.go

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Updates

* Fix unit tests

* Refactor

---------

Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Make new istio-healthz Virtual Service a controlled resource.
Added tests.

* Add integration test and documentation for istio-healthz

* Update virtual service test

* Update docs

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Update diagrams

* Update diagrams

* Revert "Update diagrams"

This reverts commit 301d507.

* Revert "Update diagrams"

This reverts commit 24da373.

---------

Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Wait for dependencies in APIRule and API Gateway

* Add warning status

* Add crd prerequisites

* Remove unneeded test

* Dont run check on deletion

* Docs

* Update docs/user/dependencies/06-00-api-gateway-dependencies.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update docs/user/dependencies/06-10-api-rule-dependencies.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update docs/user/dependencies/06-10-api-rule-dependencies.md

Co-authored-by: Tim Riffer <tim.riffer@gmx.de>

* Update post review

* Remove 'New'

* Use interface

* Apply suggestions from code review

Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>

* Move docs

* Skip if not found

* Log error

* Log error

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tim Riffer <tim.riffer@sap.com>
Co-authored-by: Marek Kolodziejczak <marek.kolodziejczak@sap.com>
Co-authored-by: Natalia Sitko <80401180+nataliasitko@users.noreply.github.com>
Co-authored-by: Jarosław Pieszka <jaroslaw.pieszka@sap.com>
Co-authored-by: Tim Riffer <tim.riffer@gmx.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marek Kołodziejczak <69915024+kolodziejczak@users.noreply.github.com>
Co-authored-by: Patryk Strugacz <werdes72@users.noreply.github.com>
Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>
Co-authored-by: Patryk Strugacz <patryk.strugacz@sap.com>
Co-authored-by: Vladimir Videlov <vladimir.videlov@sap.com>
Co-authored-by: Magda Strek <magdalena.strek@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me! size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants