-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Add Env Secrets in Server API #533
Open
jonas-martinez
wants to merge
28
commits into
main
Choose a base branch
from
feat/Add-Env-Secrets-in-Server-API
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d58d8e4
feat: Add Env Secrets in Server API
shiipou 47a822d
fix: use k8s api to create and read env's secrets
shiipou dbeb4eb
chore(warning): remove warning bevause env_id is not used
shiipou 8af3c2b
fix: add or remove secret from openfaas deployment
shiipou 52b1734
fix: wrong matching :ok must be :error in k8s api fetch
shiipou 30ce951
fix: add buisness error for the API responses
shiipou 795c7dd
fix: fix some errors
shiipou a2454bf
fix: switch from rlang string (`'`) to elixir string (`"`)
shiipou 0ba030b
fix: wrong error matching
shiipou ad3b028
fix: now we can list/create/delete
shiipou 6bd8eb7
Merge branch 'main' into feat/Add-Env-Secrets-in-Server-API
shiipou 0ac31ae
fix: variable "secrets" does not exist
shiipou 5c01bc1
fix: openfaas call must now work ?
shiipou fd8e885
fix format
jonas-martinez 8f813b6
fix some credo
jonas-martinez 72177a5
fix(WIP): openfaas update
shiipou 1efe68b
fix: Openfaas update now work
shiipou d7d6421
Merge branch 'main' into feat/Add-Env-Secrets-in-Server-API
jonas-martinez 05091e9
Return error on kubernetes not configured
jonas-martinez 8a1f176
Fix credo
jonas-martinez 5a549ca
fix format
jonas-martinez 3cf53fb
fix credo
jonas-martinez e5d0ece
fix credo
jonas-martinez 4790525
fix credo
jonas-martinez ce46d0e
Merge branch 'main' into feat/Add-Env-Secrets-in-Server-API
jonas-martinez f14877a
fix dialyzer
jonas-martinez 9ea41a6
fix format
jonas-martinez 083cc5d
Merge branch 'main' into feat/Add-Env-Secrets-in-Server-API
jonas-martinez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,161 changes: 1,161 additions & 0 deletions
1,161
.vscode/postman/lenra_server.postman_collection.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"id": "697ac5e7-6171-4875-a90d-276e7bc0d3ee", | ||
"name": "Local", | ||
"values": [ | ||
{ | ||
"key": "lenra_endpoint", | ||
"value": "http://localhost:4000", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_endpoint", | ||
"value": "http://localhost:4444", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_redirect_url", | ||
"value": "https://oauthdebugger.com/debug", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_client_scope", | ||
"value": "profile store manage:account manage:apps", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "lenra_client_id", | ||
"value": "", | ||
"type": "default", | ||
"enabled": true | ||
} | ||
], | ||
"_postman_variable_scope": "environment", | ||
"_postman_exported_at": "2024-02-06T12:00:49.888Z", | ||
"_postman_exported_using": "Postman/10.22.13-240205-0449" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"id": "1461dd99-7ff3-4a84-a3d3-2b2f57fa466d", | ||
"name": "Staging", | ||
"values": [ | ||
{ | ||
"key": "lenra_endpoint", | ||
"value": "https://api.staging.lenra.io", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_endpoint", | ||
"value": "https://auth.staging.lenra.io", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_redirect_url", | ||
"value": "https://oauthdebugger.com/debug", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "hydra_client_scope", | ||
"value": "profile store manage:account manage:apps", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "lenra_client_id", | ||
"value": "4f162a6c-dfdd-4c75-8305-097e30a19e6f", | ||
"type": "default", | ||
"enabled": true | ||
} | ||
], | ||
"_postman_variable_scope": "environment", | ||
"_postman_exported_at": "2024-02-06T11:58:57.655Z", | ||
"_postman_exported_using": "Postman/10.22.13-240205-0449" | ||
} |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You changed this case but it causes an error when trying to deploy an application.
Here are the logs :
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shiipou I'm tagging you because I can't set this comment as blocking for the PR as I am the creator.