flux v2.0.1
GitRepository.spec.secretRef
SecretRef specifies the Secret containing authentication credentials for the GitRepository. For HTTPS repositories the Secret must contain 'username' and 'password' fields for basic auth or 'bearerToken' field for token auth. For SSH repositories the Secret must contain 'identity' and 'known_hosts' fields.
| Field / Type | Description |
|---|---|
name | Name of the referent. |