diff --git a/airflow/config/webserver_config.py b/airflow/config/webserver_config.py deleted file mode 100644 index 1f3e63d7..00000000 --- a/airflow/config/webserver_config.py +++ /dev/null @@ -1,3 +0,0 @@ -# Issue 404: DISABLE AIRRLOW AUTHENTICATION (https://github.com/unity-sds/unity-sps/issues/404) -# Disable airflow authentication, https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/webserver-authentication.html -AUTH_ROLE_PUBLIC = "Admin" diff --git a/airflow/helm/values.tmpl.yaml b/airflow/helm/values.tmpl.yaml index 2d6abe31..7accb7ec 100644 --- a/airflow/helm/values.tmpl.yaml +++ b/airflow/helm/values.tmpl.yaml @@ -165,10 +165,6 @@ webserverSecretKeySecretName: ${webserver_secret_name} webserver: replicas: 3 - # Issue 404: DISABLE AIRRLOW AUTHENTICATION (https://github.com/unity-sds/unity-sps/issues/404) - webserverConfig: |- - ${webserver_config} - startupProbe: timeoutSeconds: 20 failureThreshold: 60 # Number of tries before giving up (10 minutes with periodSeconds of 10) diff --git a/airflow/helm/values_high_load.tmpl.yaml b/airflow/helm/values_high_load.tmpl.yaml index 041d86cb..2b62148a 100644 --- a/airflow/helm/values_high_load.tmpl.yaml +++ b/airflow/helm/values_high_load.tmpl.yaml @@ -165,10 +165,6 @@ webserverSecretKeySecretName: ${webserver_secret_name} webserver: replicas: 3 - # Issue 404: DISABLE AIRRLOW AUTHENTICATION (https://github.com/unity-sds/unity-sps/issues/404) - webserverConfig: |- - ${webserver_config} - startupProbe: timeoutSeconds: 20 failureThreshold: 60 # Number of tries before giving up (10 minutes with periodSeconds of 10) diff --git a/terraform-unity/modules/terraform-unity-sps-airflow/main.tf b/terraform-unity/modules/terraform-unity-sps-airflow/main.tf index a15b24ef..2cf4b6da 100644 --- a/terraform-unity/modules/terraform-unity-sps-airflow/main.tf +++ b/terraform-unity/modules/terraform-unity-sps-airflow/main.tf @@ -413,8 +413,6 @@ resource "helm_release" "airflow" { unity_cluster_name = data.aws_eks_cluster.cluster.name karpenter_node_pools = join(",", var.karpenter_node_pools) cwl_dag_ecr_uri = "${data.aws_caller_identity.current.account_id}.dkr.ecr.us-west-2.amazonaws.com" - # Issue 404: DISABLE AIRRLOW AUTHENTICATION (https://github.com/unity-sds/unity-sps/issues/404) - webserver_config = indent(4, file("${path.module}/../../../airflow/config/webserver_config.py")) }) ] set_sensitive {