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
This should include two fields: `user` and `password` (which can be either a password -- which is not recommended -- or a GitHub token, as described https://github.com/kubernetes/git-sync/tree/v3.6.4#flags-which-configure-authentication[here])
66
66
<9> A map of optional configuration settings that are listed in https://github.com/kubernetes/git-sync/tree/v4.2.1?tab=readme-ov-file#manual[this] configuration section (and the ones that follow on that link)
67
67
<10> An example showing how to specify a target revision (the default is HEAD).
68
-
The revision can also be a tag or a commit, though this assumes that the target hash is contained within the number of commits specified by `depth`.
69
-
If a tag or commit hash is specified, then git-sync recognizes this and does not perform further cloning.
70
-
<11> Git-sync settings can be provided inline, although some of these (`--dest`, `--root`) are specified internally in the operator and are ignored if provided by the user.
71
-
Git-config settings can also be specified, although a warning is logged if `safe.directory` is specified as this is defined internally, and should not be defined by the user.
68
+
The revision can also be a tag or a commit, though this assumes that the target hash is contained within the number of commits specified by `depth`.
69
+
If a tag or commit hash is specified, then git-sync recognizes this and does not perform further cloning.
70
+
Git-sync settings can be provided inline, although some of these (`--dest`, `--root`) are specified internally in the operator and are ignored if provided by the user.
71
+
Git-config settings can also be specified, although a warning is logged if `safe.directory` is specified as this is defined internally, and should not be defined by the user.
72
+
<11> 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.
73
+
The secret must have a key named `ca.crt` whose value is the PEM-encoded certificate bundle.
0 commit comments