You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `password` field can either be an actual password (not recommended) or a GitHub token, as described in the {git-sync-docs}[git-sync documentation].
95
100
<8> A map of optional configuration settings that are listed in the {git-sync-docs}[git-sync documentation]. +
96
101
These settings are not verified.
97
-
<9> Multiple repositories can be defined. Only the `repo` field is mandatory.
98
-
<10> Logging can be configured as described in xref:concepts:logging.adoc[].
102
+
<9> Valid `git-config` settings can be passed here N.B. a warning will be triggered if both `http.sslCAInfo` is defined here and the field `caCertSecretName` is specified (as it maps onto the same config setting).
103
+
<10> Optional name of a SecretClass for certificate authorities. These CAs will verify the git server's certificate when running git sync operations.
104
+
The associated secret must have a key named `ca.crt` whose value is the PEM-encoded certificate bundle.
105
+
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.
106
+
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.
107
+
This can still be achieved by passing `--git-config: http.sslverify=false` explicitly.
108
+
<11> Multiple repositories can be defined. Only the `repo` field is mandatory.
109
+
<12> Logging can be configured as described in xref:concepts:logging.adoc[].
99
110
As git-sync is a command-line tool, just its output is logged and no fine-grained log configuration is possible.
100
111
All git-sync containers are configured via the one `git-sync` field.
0 commit comments