<@U04S8PLJWMT> I've got Airbyte deployed with helm...
# ask-ai
s
@kapa.ai I've got Airbyte deployed with helm chart v2. During first time deploy, I had to put e-mail and organization. How can I change it?
k
Based on the knowledge sources provided, I can see information about configuring email and organization settings during deployment, but I don't find explicit documentation on how to change these settings after the initial deployment. However, there is a GitHub issue that discusses a related problem where users are experiencing difficulties updating email addresses. According to [this GitHub issue](https://github.com/airbytehq/airbyte/issues/65608), users have encountered errors when trying to update email addresses using the
abctl local credentials --email
command, receiving 401 unauthorized errors. For Helm chart v2 deployments, the email and organization settings are typically configured in the
values.yaml
file under the
global.auth.instanceAdmin
section, as shown in the [Enterprise setup documentation](https://docs.airbyte.com/platform/enterprise-setup/chart-v2-enterprise#update-your-valuesyaml-file):
Copy code
yaml global:     auth:       # -- Admin user configuration       instanceAdmin:         firstName: ""         lastName:  ""         emailSecretKey: "" # The key within `emailSecretName` where the initial user's email is stored         passwordSecretKey: "" # The key within `passwordSecretName` where the initial user's password is stored
To change these settings, you would likely need to: 1. Update your
values.yaml
file with the new email/organization information 2. Redeploy Airbyte using the [helm upgrade command](https://docs.airbyte.com/platform/access-management/sso-providers/azure-entra-id#sme-deploy) However, I'm sorry, but the knowledge sources do not explicitly provide a complete step-by-step procedure for changing email and organization settings after initial deployment. You may want to consult the Airbyte support team or community forums for specific guidance on this process.
s
@kapa.ai ok, I can create another workspace with https://reference.airbyte.com/reference/createworkspace How can I change default workspace?
k
A message from kapa.ai
Based on the knowledge sources provided, I can see information about creating and managing workspaces, but I don't find explicit documentation on how to change the "default" workspace in Airbyte. However, from the [forum discussion about multitenancy](https://discuss.airbyte.io/t/2492), there's a mention that in the open-source version, you can switch between workspaces by editing the URL and changing the workspace ID that comes right after
/workspaces/
. For workspace management, the knowledge sources show that you can: 1. Create a new workspace using the API endpoint you mentioned ([createWorkspace](https://reference.airbyte.com/reference/start)) 2. Switch between workspaces in the UI by clicking the workspace dropdown in the navigation bar, as described in the [workspace management documentation](https://docs.airbyte.com/platform/using-airbyte/workspaces#switch-workspaces) When creating a workspace via the API, you can specify the
dataResidency
parameter, as shown in the [multi-region deployment documentation](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-3):
Copy code
bash curl -X POST "https://example.com/api/public/v1/workspaces" \     --header "Authorization: Bearer $TOKEN" \     --header "Content-Type: application/json" \     -d '{       "name": "My New Workspace",       "dataResidency": "auto"     }'
I'm sorry, but the knowledge sources do not explicitly mention how to change which workspace is set as the "default" workspace. The concept of a default workspace is mentioned in the [Enterprise Flex documentation](https://docs.airbyte.com/platform/enterprise-flex/data-plane), which states that "by default, Airbyte has a single data plane that any workspace in the organization can access, and it's automatically tied to the default workspace when Airbyte first starts," but there's no information on how to change this default assignment. You may need to contact Airbyte support or check the community forums for specific guidance on changing the default workspace configuration.
s
@kapa.ai where in database Airbyte stores information about workspace?
k
A message from kapa.ai
Based on the knowledge sources provided, Airbyte stores workspace information in the Config Database in a table called
workspace
. According to the [database data catalog documentation](https://docs.airbyte.com/platform/understanding-airbyte/database-data-catalog#workspace), the
workspace
table contains the following columns: | Column Name | Datatype | Description | |-------------|----------|-------------| | id | UUID | Primary key. Unique identifier for the workspace. | | customer_id | UUID | Customer associated with the workspace. | | name | VARCHAR | Name of the workspace. | | slug | VARCHAR | Slug identifier for the workspace. | | email | VARCHAR | Contact email for the workspace. | | initial_setup_complete | BOOLEAN | Whether the initial setup is complete. | | anonymous_data_collection | BOOLEAN | Whether anonymous data collection is enabled. | | send_newsletter | BOOLEAN | Whether the user is subscribed to newsletters. | | send_security_updates | BOOLEAN | Whether security updates are sent. | | display_setup_wizard | BOOLEAN | Whether the setup wizard should be displayed. | | tombstone | BOOLEAN | Whether the workspace is deleted. | | notifications | JSONB | Notification settings. | | first_sync_complete | BOOLEAN | Whether the first sync has completed. | | feedback_complete | BOOLEAN | Whether feedback collection is completed. | | created_at | TIMESTAMP | Timestamp when the record was created. | | updated_at | TIMESTAMP | Timestamp when the record was last modified. | | geography | ENUM | Geography associated with the workspace. | | webhook_operation_configs | JSONB | Webhook operation configurations. | | notification_settings | JSONB | Notification settings for the workspace. | | organization_id | UUID | Foreign key referencing
organization(id)
. | The table has: - Primary Key:
id
- Foreign Key:
organization_id
references
organization(id)
This table structure is consistent across multiple Airbyte platform versions (1.6, 1.7, 1.8, and next).