charts
charts copied to clipboard
Sync does not work. Clone works.
Name and Version
airflow
What steps will reproduce the bug?
Install Airflow on K8 cluster 1.20. Setup git repo to clone and sync dag files.
Are you using any custom parameters or values?
No
What is the expected behavior?
No response
What do you see instead?
Dag sync pod keep giving error:
fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab
Additional information
No response
Hi @anilnokia
Could you share the values used to install the chart and the logs from the pod? That will help us to diagnose the proble
Thanks
Here is the sync section:
sync: interval: 60 command: [] args: [] extraVolumeMounts: [] extraEnvVars: - name: "http_proxy" value: "http://135.245.48.34:8000" - name: "https_proxy" value: "http://135.245.48.34:8000" - name: "no_proxy" value: "10.96.0.0/16,127.0.0.1,192.168.0.0/16,135.104.238.0/24,.svc.cluster.local,gitlabe2.ext.net.nokia.com" extraEnvVarsCM: "" extraEnvVarsSecret: "" ## Sync sidecar container resource requests and limits ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## resources: {}
Non root User is 1001.
Log of scheduler pod:
fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab fatal: unsafe repository ('/dags_gitlab' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /dags_gitlab fatal: unsafe repository ('/dags_gitlab' is owned by someone else)
Thanks,
From: Fran Mulero @.> Sent: Tuesday, August 9, 2022 8:06 AM To: bitnami/charts @.> Cc: Rana, Anil (Nokia - US/Murray Hill) @.>; Mention @.> Subject: Re: [bitnami/charts] Sync does not work. Clone works. (Issue #11642)
Hi @anilnokiahttps://github.com/anilnokia
Could you share the values used to install the chart and the logs from the pod? That will help us to diagnose the proble
Thanks
— Reply to this email directly, view it on GitHubhttps://github.com/bitnami/charts/issues/11642#issuecomment-1209293516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUWQU7653CUC45XXG6TPLVYJCRFANCNFSM555MA7TA. You are receiving this because you were mentioned.Message ID: @.@.>>
It seems related to CVE-2022-24765. More information here: https://github.blog/2022-04-12-git-security-vulnerability-announced/
Our git version is 2.36 so seems like this is not the problem for us.
Hi,
Could you get into the pod and run ls -l
to check the owner of the files in the repository ?
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.