Open InfoSec812 opened 2 years ago
An example of a proper response would be:
❯ oc explain --recursive ConfigMap
KIND: ConfigMap
VERSION: v1
DESCRIPTION:
ConfigMap holds configuration data for pods to consume.
FIELDS:
apiVersion <string>
binaryData <map[string]string>
data <map[string]string>
immutable <boolean>
kind <string>
metadata <Object>
annotations <map[string]string>
clusterName <string>
creationTimestamp <string>
deletionGracePeriodSeconds <integer>
deletionTimestamp <string>
finalizers <[]string>
generateName <string>
generation <integer>
labels <map[string]string>
managedFields <[]Object>
apiVersion <string>
fieldsType <string>
fieldsV1 <map[string]>
manager <string>
operation <string>
subresource <string>
time <string>
name <string>
namespace <string>
ownerReferences <[]Object>
apiVersion <string>
blockOwnerDeletion <boolean>
controller <boolean>
kind <string>
name <string>
uid <string>
resourceVersion <string>
selfLink <string>
uid <string>
+ 💯 This can definitely improve developer experience.
We shall try to work with the TektonCD community and get this in for CRDs coming from each indidual projects (TektonPipeline, TektonTriggers...).
To start with we shall try to do this for the CRD definitions in operaotor (eg: TektonConfig).
cc @vdemeester
This PR: https://github.com/tektoncd/pipeline/pull/1776 is a good reference on how to generate it automatically. In addition, Knative is doing it already.
ref: https://github.com/knative/serving/blob/main/hack/update-schemas.sh
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen
with a justification.
/lifecycle stale
Send feedback to tektoncd/plumbing.
/remove-lifecycle stale
Issue is still awaiting a resolution
/lifecycle frozen
Expected Behavior
Given that the Tekton operator is installed on an OpenShift cluster When I execute
oc explain <TektonResource>
Then I expect to see information documenting the API and ResourcesActual Behavior
Steps to Reproduce the Problem
oc explain --recursive EventListener
Additional Info
Kubernetes version:
Tekton Pipeline version: