Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

[TT-10958] Do not modify MID of Security Policy in OSS #675

Merged
merged 6 commits into from
Jan 12, 2024

Conversation

buraksekili
Copy link
Member

@buraksekili buraksekili commented Jan 11, 2024

Description

This PR updates how securitypolicy controller handles MID field. Now, if tyk runs in CE mode (OSS), controller won't update MID field.

Related Issue

https://tyktech.atlassian.net/browse/TT-10958
Resolves #672

Motivation and Context

Test Coverage For This Change

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
  • Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
  • Make sure you are updating CHANGELOG.md based on your changes.
  • My change requires a change to the documentation.
    • If you've changed APIs, describe what needs to be updated in the documentation.
  • I have updated the documentation accordingly.
  • If you've changed API models, please update CRDs.
    • make manifests
    • make helm
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Check your code additions will not fail linting checks:
    • gofmt -s -w .
    • go vet ./...
    • golangci-lint run

@buraksekili buraksekili changed the title Do not modify MID of Security Policy in OSS [TT-10958] Do not modify MID of Security Policy in OSS Jan 11, 2024
@buraksekili buraksekili marked this pull request as ready for review January 11, 2024 14:36
@buraksekili buraksekili requested a review from a team as a code owner January 11, 2024 14:36
@buraksekili buraksekili requested review from komalsukhani and removed request for a team January 11, 2024 14:36
Signed-off-by: Burak Sekili <[email protected]>
komalsukhani and others added 2 commits January 12, 2024 10:21
* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml
Copy link

sonarcloud bot commented Jan 12, 2024

@singhpr singhpr merged commit 5a33c2e into master Jan 12, 2024
16 checks passed
@singhpr singhpr deleted the fix/TT-10958/policy-oss branch January 12, 2024 10:02
buger pushed a commit that referenced this pull request May 22, 2024
* Do not modify MID of Security Policy in OSS

Signed-off-by: Burak Sekili <[email protected]>

* Check for ID in OSS instead of MID

Signed-off-by: Burak Sekili <[email protected]>

* Check tyk mode while validation status

Signed-off-by: Burak Sekili <[email protected]>

* Update changelog

Signed-off-by: Burak Sekili <[email protected]>

* Update tyk version matrix (#673)

* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml

* Update run_tests.yaml

---------

Signed-off-by: Burak Sekili <[email protected]>
Co-authored-by: Komal Sukhani <[email protected]>
Co-authored-by: Pranshu <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TT-10958] Reconciliation of security policy fails while doing any changes in policy
3 participants