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

[KOGITO-9982] Add persistence to SonataFlow CRD #529

Merged

Conversation

jordigilh
Copy link
Contributor

Adds documentation with examples on how to configure a SonataFlow CR with persistence using its own dedicated persistence field or leveraging on the SonataFlowPlatform CR persistence configuration.

@ricardozanini @wmedvede @caponetto PTAL.

@ricardozanini ricardozanini requested review from ricardozanini and jakubschwan and removed request for MarianMacik February 6, 2024 17:44
@ricardozanini
Copy link
Member

@kaldesai can you please review?

KanikoBuildCacheEnabled: "true"
---

The values of `POSTGRES_USER` and `POSTGRES_PASSWORD` are the keys in the secret that contains the credentials to connect to the postgreSQL instance.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The values of `POSTGRES_USER` and `POSTGRES_PASSWORD` are the keys in the secret that contains the credentials to connect to the postgreSQL instance.
The values of `POSTGRES_USER` and `POSTGRES_PASSWORD` are the secret keys containing the credentials to connect to the PostgreSQL instance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure because this change conveys that the keys are a secret, when in fact the keys are not a secret but are stored in an object of kind secret. It's a kubernetes terminology.

Copy link
Contributor

Choose a reason for hiding this comment

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

imho we can add the link:
...are the keys in the [secret](https://kubernetes.io/docs/concepts/configuration/secret/)

Copy link
Contributor

@kaldesai kaldesai left a comment

Choose a reason for hiding this comment

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

I have added a few suggestions. Otherwise, your content looks good to me. Thank you!

@jordigilh
Copy link
Contributor Author

I'll hold the PR until the development PR is merged.

@jordigilh jordigilh marked this pull request as draft February 7, 2024 09:39
@domhanak
Copy link
Contributor

domhanak commented Feb 21, 2024

@jordigilh you are missing nav.adoc reference:
*** xref:cloud/operator/using-persistence.adoc[]

in desired chapter

@jordigilh jordigilh force-pushed the kogito_9982_add_persistence_workflow_crd branch 3 times, most recently from 9928cfb to 0bf9b41 Compare March 7, 2024 14:15
@domhanak domhanak marked this pull request as ready for review March 8, 2024 07:11
@ricardozanini
Copy link
Member

@jordigilh can you please rebase?

@jordigilh jordigilh force-pushed the kogito_9982_add_persistence_workflow_crd branch from 0bf9b41 to e6eb8c0 Compare March 11, 2024 13:51
@jordigilh
Copy link
Contributor Author

@jordigilh can you please rebase?

Done

Copy link
Contributor

github-actions bot commented Mar 11, 2024

🎊 PR Preview cca2382 has been successfully built and deployed. See the documentation preview: https://sonataflow-docs-preview-pr-529.surge.sh

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

Small suggestions that we can batch accept and merge. Many thanks for this, @jordigilh!

@jordigilh
Copy link
Contributor Author

@ricardozanini thanks for the suggestions! I've merged them to this PR.

@ricardozanini ricardozanini merged commit 0bdddb9 into apache:main Mar 11, 2024
2 checks passed
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.

5 participants