flux v2.9.5

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.

1 fields
GitRepository.spec.secretRef fields and descriptions
Field / TypeDescription
name
string required

Name of the referent.