Commit 245738f9 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

indentatio

parent 19f43086
Pipeline #46292 passed with stages
in 1 minute and 12 seconds
...@@ -148,12 +148,12 @@ airflow: ...@@ -148,12 +148,12 @@ airflow:
## minReplicas is picked from Values.workers.replicas and default value is 1 ## minReplicas is picked from Values.workers.replicas and default value is 1
maxReplicas: 3 maxReplicas: 3
metrics: metrics:
- type: Resource - type: Resource
resource: resource:
name: memory name: memory
target: target:
type: Utilization type: Utilization
averageUtilization: 60 averageUtilization: 60
labels: labels:
# DO NOT DELETE THIS LABEL. SET IT TO "false" WHEN AUTOSCALING IS DISABLED, SET IT TO "true" WHEN AUTOSCALING IS ENABLED # DO NOT DELETE THIS LABEL. SET IT TO "false" WHEN AUTOSCALING IS DISABLED, SET IT TO "true" WHEN AUTOSCALING IS ENABLED
autoscalingEnabled: "false" autoscalingEnabled: "false"
...@@ -224,53 +224,53 @@ airflow: ...@@ -224,53 +224,53 @@ airflow:
AIRFLOW__CORE__STORE_DAG_CODE: True #This flag decides whether to persist DAG files code in DB AIRFLOW__CORE__STORE_DAG_CODE: True #This flag decides whether to persist DAG files code in DB
AIRFLOW__WEBSERVER__WORKER_CLASS: gevent AIRFLOW__WEBSERVER__WORKER_CLASS: gevent
extraEnv: extraEnv:
- name: CLOUD_PROVIDER - name: CLOUD_PROVIDER
value: "azure" value: "azure"
- name: AIRFLOW_VAR_KEYVAULT_URI - name: AIRFLOW_VAR_KEYVAULT_URI
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: osdu-svc-properties name: osdu-svc-properties
key: ENV_KEYVAULT key: ENV_KEYVAULT
- name: AIRFLOW__CORE__FERNET_KEY - name: AIRFLOW__CORE__FERNET_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: airflow name: airflow
key: fernet-key key: fernet-key
- name: AIRFLOW_CONN_AZ_LOG - name: AIRFLOW_CONN_AZ_LOG
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: airflow name: airflow
key: remote-log-connection key: remote-log-connection
- name: AIRFLOW_VAR_AZURE_TENANT_ID - name: AIRFLOW_VAR_AZURE_TENANT_ID
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: active-directory name: active-directory
key: tenantid key: tenantid
- name: AIRFLOW_VAR_AZURE_CLIENT_ID - name: AIRFLOW_VAR_AZURE_CLIENT_ID
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: active-directory name: active-directory
key: principal-clientid key: principal-clientid
- name: AIRFLOW_VAR_AZURE_CLIENT_SECRET - name: AIRFLOW_VAR_AZURE_CLIENT_SECRET
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: active-directory name: active-directory
key: principal-clientpassword key: principal-clientpassword
- name: AIRFLOW_VAR_AAD_CLIENT_ID - name: AIRFLOW_VAR_AAD_CLIENT_ID
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: active-directory name: active-directory
key: application-appid key: application-appid
- name: AIRFLOW_VAR_APPINSIGHTS_KEY - name: AIRFLOW_VAR_APPINSIGHTS_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: central-logging name: central-logging
key: appinsights key: appinsights
extraConfigmapMounts: extraConfigmapMounts:
- name: remote-log-config - name: remote-log-config
mountPath: /opt/airflow/config mountPath: /opt/airflow/config
configMap: airflow-remote-log-config configMap: airflow-remote-log-config
readOnly: true readOnly: true
extraPipPackages: [ extraPipPackages: [
"flask-bcrypt==0.7.1", "flask-bcrypt==0.7.1",
"apache-airflow[statsd]", "apache-airflow[statsd]",
...@@ -289,16 +289,16 @@ airflow: ...@@ -289,16 +289,16 @@ airflow:
"https://azglobalosdutestlake.blob.core.windows.net/pythonsdk/osdu_api-0.0.4.tar.gz" "https://azglobalosdutestlake.blob.core.windows.net/pythonsdk/osdu_api-0.0.4.tar.gz"
] ]
extraVolumeMounts: extraVolumeMounts:
- name: azure-keyvault - name: azure-keyvault
mountPath: "/mnt/azure-keyvault" mountPath: "/mnt/azure-keyvault"
readOnly: true
- name: dags-data
mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes:
- name: azure-keyvault
csi:
driver: secrets-store.csi.k8s.io
readOnly: true readOnly: true
volumeAttributes: - name: dags-data
secretProviderClass: azure-keyvault mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes:
- name: azure-keyvault
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: azure-keyvault
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment