kaxil commented on a change in pull request #15820:
URL: https://github.com/apache/airflow/pull/15820#discussion_r631831746



##########
File path: chart/templates/NOTES.txt
##########
@@ -30,10 +33,26 @@ Flower dashboard:      http{{ if 
.Values.ingress.flower.tls.enabled }}s{{ end }}
 {{- else }}
 You can now access your dashboard(s) by executing the following command(s) and 
visiting the corresponding port at localhost in your browser:
 
-Airflow dashboard:        kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
+Airflow Webserver:      kubectl port-forward svc/{{ .Release.Name }}-webserver 
{{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ 
.Release.Namespace }}
+
 {{- if .Values.flower.enabled }}
 {{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor 
"CeleryKubernetesExecutor")}}
 Flower dashboard:         kubectl port-forward svc/{{ .Release.Name }}-flower 
{{ .Values.ports.flowerUI }}:{{ .Values.ports.flowerUI }} --namespace {{ 
.Release.Namespace }}
 {{- end }}
 {{- end }}
 {{- end }}
+
+
+{{- if .Values.webserver.defaultUser.enabled}}

Review comment:
       ```suggestion
   {{- if .Values.webserver.defaultUser.enabled}}
   
   ```

##########
File path: chart/templates/NOTES.txt
##########
@@ -30,10 +33,26 @@ Flower dashboard:      http{{ if 
.Values.ingress.flower.tls.enabled }}s{{ end }}
 {{- else }}
 You can now access your dashboard(s) by executing the following command(s) and 
visiting the corresponding port at localhost in your browser:
 
-Airflow dashboard:        kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
+Airflow Webserver:      kubectl port-forward svc/{{ .Release.Name }}-webserver 
{{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ 
.Release.Namespace }}

Review comment:
       ```suggestion
   Airflow Webserver:     kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
   ```

##########
File path: chart/templates/NOTES.txt
##########
@@ -30,10 +33,26 @@ Flower dashboard:      http{{ if 
.Values.ingress.flower.tls.enabled }}s{{ end }}
 {{- else }}
 You can now access your dashboard(s) by executing the following command(s) and 
visiting the corresponding port at localhost in your browser:
 
-Airflow dashboard:        kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
+Airflow Webserver:      kubectl port-forward svc/{{ .Release.Name }}-webserver 
{{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ 
.Release.Namespace }}
+
 {{- if .Values.flower.enabled }}
 {{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor 
"CeleryKubernetesExecutor")}}
 Flower dashboard:         kubectl port-forward svc/{{ .Release.Name }}-flower 
{{ .Values.ports.flowerUI }}:{{ .Values.ports.flowerUI }} --namespace {{ 
.Release.Namespace }}
 {{- end }}
 {{- end }}
 {{- end }}
+
+
+{{- if .Values.webserver.defaultUser.enabled}}
+Default Webserver (Airflow UI) Login credentials:
+    username: {{ .Values.webserver.defaultUser.username }}
+    password: {{ .Values.webserver.defaultUser.password }}
+{{- end }}
+
+{{- if .Values.postgresql.enabled }}
+Default Postgres connection credentials:
+    username: {{ .Values.data.metadataConnection.user }}
+    password: {{ .Values.data.metadataConnection.pass }}
+    port: {{ .Values.data.metadataConnection.port }}
+
+{{- end }}

Review comment:
       ```suggestion
   {{- end }}
   
   {{- if not .Values.fernetKeySecretName }}
   
   You can get Fernet Key value by running the following:
   
       echo Fernet Key: $(kubectl get secret --namespace {{ .Release.Namespace 
}} {{ .Release.Name }}-fernet-key -o jsonpath="{.data.fernet-key}" | base64 
--decode)
   
   {{- end }}
   ```

##########
File path: chart/templates/NOTES.txt
##########
@@ -30,10 +33,26 @@ Flower dashboard:      http{{ if 
.Values.ingress.flower.tls.enabled }}s{{ end }}
 {{- else }}
 You can now access your dashboard(s) by executing the following command(s) and 
visiting the corresponding port at localhost in your browser:
 
-Airflow dashboard:        kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
+Airflow Webserver:      kubectl port-forward svc/{{ .Release.Name }}-webserver 
{{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ 
.Release.Namespace }}
+
 {{- if .Values.flower.enabled }}
 {{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor 
"CeleryKubernetesExecutor")}}
 Flower dashboard:         kubectl port-forward svc/{{ .Release.Name }}-flower 
{{ .Values.ports.flowerUI }}:{{ .Values.ports.flowerUI }} --namespace {{ 
.Release.Namespace }}

Review comment:
       ```suggestion
   Flower dashboard:      kubectl port-forward svc/{{ .Release.Name }}-flower 
{{ .Values.ports.flowerUI }}:{{ .Values.ports.flowerUI }} --namespace {{ 
.Release.Namespace }}
   
   ```

##########
File path: chart/templates/NOTES.txt
##########
@@ -30,10 +33,26 @@ Flower dashboard:      http{{ if 
.Values.ingress.flower.tls.enabled }}s{{ end }}
 {{- else }}
 You can now access your dashboard(s) by executing the following command(s) and 
visiting the corresponding port at localhost in your browser:
 
-Airflow dashboard:        kubectl port-forward svc/{{ .Release.Name 
}}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} 
--namespace {{ .Release.Namespace }}
+Airflow Webserver:      kubectl port-forward svc/{{ .Release.Name }}-webserver 
{{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ 
.Release.Namespace }}
+
 {{- if .Values.flower.enabled }}
 {{- if or (eq .Values.executor "CeleryExecutor") (eq .Values.executor 
"CeleryKubernetesExecutor")}}
 Flower dashboard:         kubectl port-forward svc/{{ .Release.Name }}-flower 
{{ .Values.ports.flowerUI }}:{{ .Values.ports.flowerUI }} --namespace {{ 
.Release.Namespace }}
 {{- end }}
 {{- end }}
 {{- end }}
+
+
+{{- if .Values.webserver.defaultUser.enabled}}
+Default Webserver (Airflow UI) Login credentials:
+    username: {{ .Values.webserver.defaultUser.username }}
+    password: {{ .Values.webserver.defaultUser.password }}
+{{- end }}
+
+{{- if .Values.postgresql.enabled }}

Review comment:
       ```suggestion
   {{- if .Values.postgresql.enabled }}
   
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to