Skip to content

Commit

Permalink
Merge d8cb554 into 1cda3c4
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Apr 14, 2021
2 parents 1cda3c4 + d8cb554 commit 17a19e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudman/projman/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get(self, chart_id):
def _get_project_oidc_secret(self):
try:
secret = KubeClient().secrets.get(f"keycloak-client-secret-projman-{self.project.namespace}",
namespace=self.project.namespace)
namespace="keycloak")
return base64.b64decode(secret.get('data').get('CLIENT_SECRET')).decode('utf-8')
except Exception:
return None
Expand Down

0 comments on commit 17a19e3

Please sign in to comment.