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

Add mount of notification bearer secret in generated CR #315

Conversation

gabriel-farache
Copy link
Collaborator

@gabriel-farache gabriel-farache commented Jul 15, 2024

Add mount of notification bearer secret in generated CR

Closes part of https://issues.redhat.com/browse/FLPATH-1498

scripts/gen_manifests.sh Outdated Show resolved Hide resolved
Signed-off-by: gabriel-farache <gfarache@redhat.com>
@gabriel-farache gabriel-farache force-pushed the feat/add_notification_bearer_secret branch 2 times, most recently from fa38fa5 to 4153999 Compare July 15, 2024 15:15
scripts/gen_manifests.sh Outdated Show resolved Hide resolved
scripts/gen_manifests.sh Outdated Show resolved Hide resolved
scripts/gen_manifests.sh Outdated Show resolved Hide resolved
@gabriel-farache gabriel-farache force-pushed the feat/add_notification_bearer_secret branch 3 times, most recently from 26410db to f3891fe Compare July 15, 2024 15:26
scripts/gen_manifests.sh Outdated Show resolved Hide resolved
@gabriel-farache gabriel-farache force-pushed the feat/add_notification_bearer_secret branch from f3891fe to a2b3638 Compare July 15, 2024 15:29
Copy link
Collaborator

@rgolangh rgolangh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm generally okay with this, still having doubts about secret.properties, but lets try that for now.
LGTM

@@ -50,6 +45,11 @@ SONATAFLOW_CR=manifests/01-sonataflow_${workflow_id}.yaml
yq --inplace eval '.metadata.annotations["sonataflow.org/profile"] = "prod"' "${SONATAFLOW_CR}"

yq --inplace ".spec.podTemplate.container.image=\"quay.io/orchestrator/serverless-workflow-${workflow_id}:latest\"" "${SONATAFLOW_CR}"
yq --inplace ".spec.podTemplate.container.envFrom=[{\"secretRef\": { \"name\": \"${workflow_id}-creds\"}}]" "${SONATAFLOW_CR}"

if [ "$ENABLE_PERSISTENCE" = false ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm handling this as part of #313

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping for your pr to be merged first and have the auto merge do its job
But I'll revert this change

@rgolangh
Copy link
Collaborator

rgolangh commented Jul 15, 2024 via email

@rgolangh
Copy link
Collaborator

rgolangh commented Jul 15, 2024 via email

Signed-off-by: gabriel-farache <gfarache@redhat.com>
@gabriel-farache
Copy link
Collaborator Author

reopening => #317

@gabriel-farache gabriel-farache deleted the feat/add_notification_bearer_secret branch July 16, 2024 06:52
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