Skip to content

Commit f555115

Browse files
committed
add docs for new field
Signed-off-by: Somtochi Onyekwere <[email protected]>
1 parent 6a2df76 commit f555115

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

api/v1beta2/helmrepository_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ type HelmRepositorySpec struct {
108108
// the OCI image pull if the service account has attached pull secrets. For more information:
109109
// https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account
110110
// +optional
111+
// This field is only considered for Helm Repositories of type oci
111112
ServiceAccountName string `json:"serviceAccountName,omitempty"`
112113

113114
// Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.

docs/spec/v1beta2/helmrepositories.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,16 @@ data:
509509
caFile: <BASE64>
510510
```
511511

512+
513+
### Service Account Name
514+
515+
*Note:* This field is only taken into account for Helm Repository of
516+
type `oci`.
517+
518+
`.spec.serviceAccountName` is an optional field to specify a name of a
519+
ServiceAccount in the same namespace as the HelmRepository, which has image
520+
pull secrets that can be used for authentication to the OCI image repository.
521+
512522
### Pass credentials
513523

514524
`.spec.passCredentials` is an optional field to allow the credentials from the

0 commit comments

Comments
 (0)