Skip to content

[fix] externalSecret configuration in openfga-deployment.yaml #143

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kayahk
Copy link

@kayahk kayahk commented Jul 22, 2025

fix: conditionally set OPENFGA_DATASTORE_URI based on externalSecret configuration in openfga-deployment.yaml

Previously, the ENV parameter OPENFGA_DATASTORE_URI would be set, regardless of the externalSecret.enabled value, which would override the secret reference and prevent successful db authentication.
The fix makes sure that the ENV parameter will only be set, if externalSecret.enabled is set to false.

#139

…configuration in openfga-deployment.yaml

Previously, the `ENV` parameter `OPENFGA_DATASTORE_URI ` would be set, regardless of the `externalSecret.enabled` value, which would override the secret reference and prevent successful db authentication.
The fix makes sure that the `ENV` parameter will only be set, if `externalSecret.enabled` is set to `false`.
@kayahk kayahk changed the title fix: conditionally set OPENFGA_DATASTORE_URI based on externalSecret configuration in openfga-deployment.yaml [fix] externalSecret configuration in openfga-deployment.yaml Jul 22, 2025
@Subhra264 Subhra264 requested a review from prabhatsharma July 24, 2025 14:32
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.

1 participant