This is a workaround put in place while Airflow helm chart is not
dealing properly with the value `fullnameOverride`, which is required
now that Airflow is a subchart of OSM Helm chart.
The issue in Airflow is reported in this link:
https://github.com/apache/airflow/issues/22622
Change-Id: I8e8a068a1386121c2d2196fdaed550fbd693d9d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
labels:
{{- include "osm.labels" . | nindent 4 }}
data:
- AIRFLOW_HOST: "airflow-webserver"
- AIRFLOW_PORT: "8080"
-{{- end }}
\ No newline at end of file
+ AIRFLOW_HOST: {{ .Values.webhookTranslator.config.airflowHost | default "airflow-webserver" }}
+ AIRFLOW_PORT: {{ default "8080" .Values.webhookTranslator.config.airflowPort | quote }}
+{{- end }}
# type: NodePort
# nodePort: 9998
# port: 9998
+ config:
+ airflowHost: "osm-webserver"
+ # airflowPort: "8080"