romsharon98 commented on code in PR #43264:
URL: https://github.com/apache/airflow/pull/43264#discussion_r1810762125
##########
chart/templates/_helpers.yaml:
##########
@@ -238,21 +238,21 @@ If release name contains chart name it will be used as a
full name.
secretKeyRef:
name: {{ .Values.dags.gitSync.credentialsSecret | quote }}
key: GIT_SYNC_USERNAME
- - name: GITSYNC_USERNAME
+ - name: GIT_SYNC_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.dags.gitSync.credentialsSecret | quote }}
- key: GITSYNC_USERNAME
Review Comment:
just a question, what you think about a solution like this
```{{- $gitUsernameKey := if (hasKey .Values.dags.gitSync.credentialsSecret
"GITSYNC_USERNAME") "GITSYNC_USERNAME" "GIT_SYNC_USERNAME" -}}```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]