This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename config params user_registration_role -> userRegistrationRole,
enableroutes -> enableRoutes Use camel case to align with the Kubernetes conventions. Examples of the authentication configuration: 1. Require no authentication (this is the default if no authentication configuration is specified): apiVersion: airflow.apache.org/v1alpha1 kind: AirflowCluster metadata: name: pk-cluster spec: ui: authentication: type: none 2. Log in with OpenShift. In this example, users are assigned the Admin role upon successful login: apiVersion: airflow.apache.org/v1alpha1 kind: AirflowCluster metadata: name: pk-cluster spec: ui: enableRoutes: true authentication: type: openshift userRegistrationRole: Admin 3. Authenticate users against the database. This assumes, that users have been created in the Airflow's database ahead of time, for example by using the airflow create_user command, see also: https://airflow.apache.org/docs/stable/cli-ref#create_user apiVersion: airflow.apache.org/v1alpha1 kind: AirflowCluster metadata: name: pk-cluster spec: ui: enableRoutes: true authentication: type: database
- Loading branch information