-
Notifications
You must be signed in to change notification settings - Fork 140
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
chore: reworks authorino istio proxy injection patch #1097
Merged
openshift-merge-bot
merged 1 commit into
opendatahub-io:incubation
from
bartoszmajsak:patch-authorino-deployment-as-a-feature
Jul 4, 2024
Merged
chore: reworks authorino istio proxy injection patch #1097
openshift-merge-bot
merged 1 commit into
opendatahub-io:incubation
from
bartoszmajsak:patch-authorino-deployment-as-a-feature
Jul 4, 2024
Conversation
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
Instead of performing patching of Authorino deployment as part of `PostConditions` hook, it is now a `Feature` on its own. As a result, we no longer need the `ApplyManifest` mehtod for the `Feature` struct. This function was created solely to apply a single manifest as an `Action` and was used only for this specific use case. With the dedicated feature, a deployment patch can now be defined as a regular manifest source and included as part of the Apply phase.
cam-garrison
approved these changes
Jul 3, 2024
zdtsw
approved these changes
Jul 4, 2024
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cam-garrison, zdtsw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test opendatahub-operator-e2e |
openshift-merge-bot
bot
merged commit Jul 4, 2024
13d833e
into
opendatahub-io:incubation
8 checks passed
VaishnaviHire
pushed a commit
to VaishnaviHire/opendatahub-operator
that referenced
this pull request
Jul 24, 2024
Instead of performing patching of Authorino deployment as part of `PostConditions` hook, it is now a `Feature` on its own. As a result, we no longer need the `ApplyManifest` mehtod for the `Feature` struct. This function was created solely to apply a single manifest as an `Action` and was used only for this specific use case. With the dedicated feature, a deployment patch can now be defined as a regular manifest source and included as part of the Apply phase. (cherry picked from commit 13d833e)
VaishnaviHire
pushed a commit
to VaishnaviHire/opendatahub-operator
that referenced
this pull request
Jul 24, 2024
Instead of performing patching of Authorino deployment as part of `PostConditions` hook, it is now a `Feature` on its own. As a result, we no longer need the `ApplyManifest` mehtod for the `Feature` struct. This function was created solely to apply a single manifest as an `Action` and was used only for this specific use case. With the dedicated feature, a deployment patch can now be defined as a regular manifest source and included as part of the Apply phase. (cherry picked from commit 13d833e)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Instead of performing patching of Authorino deployment as part of
PostConditions
hook, it is now aFeature
on its own.As a result, we no longer need the
ApplyManifest
mehtod for theFeature
struct. This function was created solely to apply a single manifest as anAction
and was used only for this specific use case. With the dedicated feature, a deployment patch can now be defined as a regular manifest source and included as a part of the Apply phase.How Has This Been Tested?
I tested both the upgrade path and regular deployment on ROSA (hence
serviceMesh.auth.audiences
entry in the DSCI below)Prerequisite: DSCI with Service Mesh enabled
Upgrade path
incubation
)quay.io/maistra-dev/opendatahub-operator:dev-patch-authorino-deployment-as-a-feature
)Removed
management state)Warning
Simple removal of DSCI might trigger reconcile error for Trusted CA bundle. Needs #1095 to be merged first.
Screenshot or short clip
Merge criteria