Skip to content

Commit e359c6b

Browse files
committed
added a docs note
1 parent 56eaca2 commit e359c6b

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

docs/modules/nifi/pages/usage_guide/custom-components.adoc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ spec:
5858
wait: 10s # <6>
5959
credentialsSecret: git-credentials # <7>
6060
gitSyncConf: # <8>
61-
--git-config: http.sslCAInfo:/tmp/ca-cert/ca.crt
62-
- repo: https://example.com/git/other-nifi-components # <9>
61+
--git-config: pull.rebase=true # <9>
62+
caCertSecretName: git-ca-cert # <10>
63+
- repo: https://example.com/git/other-nifi-components # <11>
6364
nodes:
6465
config:
6566
logging:
6667
enableVectorAgent: true
6768
containers:
68-
git-sync: # <10>
69+
git-sync: # <12>
6970
console:
7071
level: INFO
7172
file:
@@ -94,8 +95,11 @@ data:
9495
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].
9596
<8> A map of optional configuration settings that are listed in the {git-sync-docs}[git-sync documentation]. +
9697
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[].
98+
<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).
99+
<10> An optional secret used for holding CA certificates that will be used to verify the git server's TLS certificate by passing it to the git config option `http.sslCAInfo` passed with the gitsync command.
100+
The secret must have a key named `ca.crt` whose value is the PEM-encoded certificate bundle.
101+
<11> Multiple repositories can be defined. Only the `repo` field is mandatory.
102+
<12> Logging can be configured as described in xref:concepts:logging.adoc[].
99103
As git-sync is a command-line tool, just its output is logged and no fine-grained log configuration is possible.
100104
All git-sync containers are configured via the one `git-sync` field.
101105

0 commit comments

Comments
 (0)