Skip to content

Use Hugo functions and methods to render times in code samples #52709

@axmorris

Description

@axmorris

In the example for "Bootstrap Token Secret Format", the value for expiration is several years old. This means that if you are testing with the example, it will appear to be created, but it is not actually created, since it was rejected because the expiration date was expired. Consider putting a later expiration date in the example or making a note about it in the paragraphs that follow. Otherwise, it is not incredibly obvious why the secret does not successfully create.

kubectl apply -f bootstrap-token-07401b.yaml
secret/bootstrap-token-07401b created

kubectl get secret -n kube-system
No resources found in kube-system namespace.

Version: v1.33.5

Metadata

Metadata

Assignees

Labels

priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/docsCategorizes an issue or PR as relevant to SIG Docs.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions