-
Epic
-
Resolution: Unresolved
-
Major
-
None
-
None
-
NameSpace specified in EventListener route URL as a parameter
-
5
-
False
-
None
-
False
-
To Do
-
0
-
0%
The customer wants to use the feature Configuring event listeners to serve multiple namespaces. To enhance the feature they want the below parameter to filter out the event listener.
The customer is having ~1400 namespaces & counting which are difficult to mention in the EventListner resource.
{{}}
{{Namespace specified in EventListener route url as a parameter
json_request=\$(cat <<EOF
{
"branch": "${params.branch}",
"wasDeploy": "${params.wasDeploy}",
"deployFeatureArtifacts": "${params.deployFeatureArtifacts}",
"email": "\$build_user_mail",
"pipelinerun_id": "${pipelinerun_id}"
}
json_response=\$(curl -ksb --header "Content-Type: application/json" --request POST --data "\$json_request" https://deploy-bsa-gitops.apps.ocptest3.akbank.com?namespace=bsa-devops-prep)}}