Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/portkey-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Helm chart to deploy the Portkey Full Stack application and all dep
home: https://portkey.ai/
icon: https://avatars.githubusercontent.com/u/131141116?s=200&v=4
type: application
version: 1.7.6
version: 1.7.7
appVersion: "1.19.0"
maintainers:
- name: Ayush
Expand Down
1 change: 1 addition & 0 deletions charts/portkey-app/config-samples/openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ images:
config:
jwtPrivateKey: "" # Required: set a strong secret for signing the frontend JWT tokens, or provide it via config.existingSecretName
disableOrgCreation: false # Set to true to disable organization creation post installation and first time login
allowMultiOrgCreation: false # Set to true to let org owners/admins create additional organizations. Ignored when disableOrgCreation is true
disableTestimonial: true # Set to true to disable testimonial section in the frontend
noAuth:
enabled: false # Set to true to disable authentication and allow access to the application without any authentication
Expand Down
13 changes: 13 additions & 0 deletions charts/portkey-app/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ config:
- If you are installing for the first time you should set noAuth.enabled true. This will allow you to access the application without any authentication, post which you should configure OAuth and switch it on.
- Strongly recommended to use OAuth for authentication in production.

### Organization Creation

```yaml
config:
disableOrgCreation: false
allowMultiOrgCreation: false
```

- By default, a user who is not part of any organization can self-provision exactly one organization on first login. This is how the first organization gets created in an air-gapped install.
- Set `disableOrgCreation: true` to lock this down entirely once your first organization exists. This sets `DISABLE_ORG_CREATION=ON` on the backend.
- Set `allowMultiOrgCreation: true` to let users who are already an `owner` or `admin` of an organization create additional ones. This sets `ALLOW_MULTI_ORG_CREATION=ON` on the backend. Plain members and users with a pending invite remain blocked.
- `disableOrgCreation` takes precedence: when it is `true`, `allowMultiOrgCreation` is ignored and `ALLOW_MULTI_ORG_CREATION` is not set.

### Blob Storage Configuration

```yaml
Expand Down
3 changes: 3 additions & 0 deletions charts/portkey-app/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ spec:
{{- if .Values.config.disableOrgCreation }}
- name: DISABLE_ORG_CREATION
value: "ON"
{{- else if .Values.config.allowMultiOrgCreation }}
- name: ALLOW_MULTI_ORG_CREATION
value: "ON"
{{- end }}
{{- if .Values.mcp.enabled }}
- name: MCP_ENABLED
Expand Down
3 changes: 3 additions & 0 deletions charts/portkey-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ config:
controlPlaneURL: ""
containerProtocol: "http"
disableOrgCreation: false
# -- Allow org owners/admins to create additional organizations.
# Ignored when disableOrgCreation is true.
allowMultiOrgCreation: false
disableTestimonial: false
internalGatewayURL: ""
loginDisclaimer: ""
Expand Down
Loading