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

fix: Consistent integration platform settings hierarchy #4317

Conversation

christophd
Copy link
Contributor

Users are allowed to create namespace local IntegrationPlatform resources in order to overwrite settings used in the operator.

These namespace local platform settings should derive from the IntegrationPlatform being used by the operator by default. This means that only explicitly specified settings do overwrite the platform defaults used in the operator.

This PR makes sure that we use a consistent platform settings hierarchy where the global operator platform settings always represent the basis for user specified platform settings.

The changes in this PR:

  • Makes sure to apply global integration platform settings when creating namespace local platform
  • Global platform settings resist when the setting is not explicitly overwritten in the given user namespace integration platform

Release Note

fix: Consistent integration platform settings hierarchy

@squakez squakez changed the title fix(CMLK-203): Consistent integration platform settings hierarchy fix: Consistent integration platform settings hierarchy May 3, 2023
@squakez
Copy link
Contributor

squakez commented May 4, 2023

Please, mind the conflict. Some other PR changing the same file was merged in the while.

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
@christophd christophd force-pushed the issue/CMLK-203/integration-platform-hierarchy branch from 3d8b07c to da08274 Compare May 4, 2023 08:00
@christophd
Copy link
Contributor Author

@squakez thx, rebase is done. Now we need to run the full workflow jobs once again 😅

@squakez squakez merged commit 66b44ca into apache:main May 4, 2023
christophd added a commit to christophd/camel-k that referenced this pull request May 8, 2023
…che#4317)

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
christophd added a commit to christophd/camel-k that referenced this pull request May 8, 2023
…che#4317)

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
christophd added a commit to christophd/camel-k that referenced this pull request May 8, 2023
…che#4317)

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
squakez pushed a commit that referenced this pull request May 9, 2023
- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
christophd added a commit to christophd/camel-k that referenced this pull request May 9, 2023
…che#4317)

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
squakez pushed a commit that referenced this pull request May 11, 2023
- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform
squakez pushed a commit to jboss-fuse/camel-k that referenced this pull request May 11, 2023
…che#4317)

- Make sure to apply global integration platform settings when creating namespace local platform
- Always derive local platform from operator global platform settings
- Global platform settings resist when the setting is not explicitly overwritten in the given user namespaced integration platform

(cherry picked from commit apache/camel-k@b479dbe9e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants