Skip to content

Update docs to indicate that API values of []byte are always base64-encoded #72158

@dprotaso

Description

@dprotaso

What would you like to be added:
Extend the docs the clarify that various places there the API expects []byte that this is base64 encoded

Why is this needed:
I was looking at the 1.13 API docs for the conversion webhook and it said

`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.

It's not obvious to me that this value should be base64 of the pem encoded contents

/kind feature

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions