Skip to content

Commit a169d49

Browse files
committed
docs correction
1 parent 52955e2 commit a169d49

5 files changed

Lines changed: 37 additions & 39 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crate-hashes.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/modules/airflow/pages/usage-guide/mounting-dags.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ include::example$example-airflow-gitsync-https.yaml[]
7373
The associated secret must have a key named `ca.crt` whose value is the PEM-encoded certificate bundle.
7474
If this field is set to `webPki: {}` or is omitted altogether, then no changes will be made to the gitsync command and it will default to presenting no certificate to the backend.
7575
Omitting this field is non-breaking behaviour and as such it does *not* set `http.sslverify` to `false` as disabling security checks should be a last resort and not something activated by default.
76-
This can still be achieved explicitly: either by setting `tls: null` or by passing `--git-config: http.sslverify=false`.
76+
This can still be achieved explicitly: either by setting `tls: verification: none: {}` or by passing `--git-config: http.sslverify=false` as part of the `gitSyncConf` field.
7777

7878
.git-sync usage example: ssh
7979
[source,yaml]

tests/templates/kuttl/mount-dags-gitsync/30-install-airflow-cluster.yaml.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ spec:
9191
wait: 5s
9292
{% endif %}
9393
gitSyncConf:
94-
# supply some config to check that safe.directory is correctly set
95-
--git-config: http.sslVerify:false
9694
# N.B. dags definitions changed from 2.x to 3.x:
9795
# this test assumes airflow-latest > 2
9896
gitFolder: "mount-dags-gitsync/dags_airflow3"

0 commit comments

Comments
 (0)