Skip to content

Commit 493bc06

Browse files
committed
reference tls field with webPki as default
1 parent fb2fd04 commit 493bc06

5 files changed

Lines changed: 49 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 by passing `--git-config: http.sslverify=false` explicitly.
76+
This can still be achieved explicitly: either by setting `tls: null` or by passing `--git-config: http.sslverify=false`.
7777

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

extra/crds.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,12 @@ spec:
12141214
format: uri
12151215
type: string
12161216
tls:
1217-
description: Use a TLS connection. If not specified no TLS will be used.
1217+
default:
1218+
verification:
1219+
server:
1220+
caCert:
1221+
webPki: {}
1222+
description: Configure a TLS connection. If not specified it will default to webPki validation.
12181223
nullable: true
12191224
properties:
12201225
verification:
@@ -7114,7 +7119,12 @@ spec:
71147119
format: uri
71157120
type: string
71167121
tls:
7117-
description: Use a TLS connection. If not specified no TLS will be used.
7122+
default:
7123+
verification:
7124+
server:
7125+
caCert:
7126+
webPki: {}
7127+
description: Configure a TLS connection. If not specified it will default to webPki validation.
71187128
nullable: true
71197129
properties:
71207130
verification:

0 commit comments

Comments
 (0)