Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: combine API and CRD reference index pages into one #2849

Merged
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
740bec9
keep
geoffrey1330 Aug 7, 2023
a052299
keep
geoffrey1330 Sep 22, 2023
0f86a7b
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
72ea286
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
012289f
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
d459895
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
c6a4088
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
aec7727
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
31ec423
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
db071b7
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 22, 2024
de76a29
Update docs/docs/reference/index.md
geoffrey1330 Jan 23, 2024
d19b59c
Update docs/docs/reference/index.md
geoffrey1330 Jan 23, 2024
5351842
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 23, 2024
2b506ac
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 23, 2024
14c2d0d
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 23, 2024
f77b458
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 23, 2024
0b308d5
Combine API and CRD reference pages into a coherent parent page
geoffrey1330 Jan 23, 2024
4c32009
Removed kubectl command for reference index.md
geoffrey1330 Jan 24, 2024
2fa0f19
Update docs/docs/reference/crd-reference/index.md
geoffrey1330 Jan 25, 2024
9128a46
Removed kubectl command for reference index.md
geoffrey1330 Jan 25, 2024
d1185d7
Removed kubectl command for reference index.md
geoffrey1330 Jan 25, 2024
3f4f0b8
Removed kubectl command for reference index.md
geoffrey1330 Jan 25, 2024
0f7e923
Merge branch 'main' into doc/2670/combine_api_crd_reference_page_info
geoffrey1330 Jan 25, 2024
8f630ae
Merge branch 'main' into doc/2670/combine_api_crd_reference_page_info
geoffrey1330 Jan 25, 2024
b838b22
Update docs/docs/reference/index.md
geoffrey1330 Jan 25, 2024
8d4134c
Update docs/docs/reference/index.md
geoffrey1330 Jan 25, 2024
f22043c
Update docs/docs/reference/index.md
geoffrey1330 Jan 25, 2024
380aa59
Removed kubectl command for reference index.md
geoffrey1330 Jan 25, 2024
b2e73e1
Removed kubectl command for reference index.md
geoffrey1330 Jan 25, 2024
3afa54c
Removed redundant intro in CRD Reference
geoffrey1330 Jan 25, 2024
ddb9d8c
Removed redundant intro in CRD Reference
geoffrey1330 Jan 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 2 additions & 41 deletions docs/docs/reference/api-reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,5 @@ comments: true

# API Reference

This section provides comprehensive reference information about all APIs
geoffrey1330 marked this conversation as resolved.
Show resolved Hide resolved
that are defined In Keptn.
This section is auto-generated from source code.

Each CRD is an object of an API library.
Keptn APIs follow the Kubernetes API versioning scheme.
and are themselves composed of objects and sub-objects.
The Keptn CRDs extend the base Kubernetes API
with new objects and functionality.
Keptn APIs follow API versioning conventions recommended by Kubernetes.

Keptn generates most of the resources it needs
without requiring manual input.
[Lifecycle CRD Reference and Metrics CRD Reference](../crd-reference/index.md)
contains reference pages for the manifests
that must be populated manually.

Use `kubectl` to inspect the current contents of any Keptn resource:

1. List all resources of the specified type within a certain namespace.
For example, to list all the `KeptnApp` resources
in the `namespace1` namespace, the command is:

kubectl get keptnapps -n namespace1

2. Get the current manifest for the specified resource.
For example, to view the manifest for the `my-keptn-app` resource
in the `namespace1` namespace, the command is:

kubectl get keptnapp -n <namespace> my-keptn-app -oyaml

For more information about the APIs and Custom Resources,
see the Kubernetes documentation:

* [API Overview](https://kubernetes.io/docs/reference/using-api/)

* [Custom Resources](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)

* [API versioning](https://kubernetes.io/docs/reference/using-api/#api-versioning)

* [Understanding Kubernetes Objects](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/)
Delve into comprehensive reference information about all APIs defined in Keptn.
This auto-generated content offers insights into the structure, versioning, and functionality of Keptn APIs.
21 changes: 2 additions & 19 deletions docs/docs/reference/crd-reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,5 @@ comments: true

# CRD Reference

This section provides comprehensive reference information about the
geoffrey1330 marked this conversation as resolved.
Show resolved Hide resolved
manifest files that must be populated for Keptn
[Custom Resource Definitions (CRDs)](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/).

Each CRD is an object of an API library.
In addition to the CRDs documented in this section,
Keptn populates many resources on its own.
For a comprehensive list of all Keptn resources, see
[API Reference](../api-reference/index.md).

For more information about CRDs and APIs, see the Kubernetes documentation:

* [API Overview](https://kubernetes.io/docs/reference/using-api/)

* [Custom Resources](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)

* [API versioning](https://kubernetes.io/docs/reference/using-api/#api-versioning)

* [Understanding Kubernetes Objects](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/)
Explore the manifest files crucial for customizing Keptn Custom Resource Definitions (CRDs)
that you need to define the behavior of Keptn.
40 changes: 33 additions & 7 deletions docs/docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,38 @@ comments: true

# Reference

This section of the Keptn documentation contains reference documentation for the various APIs and CRDs that are used in Keptn.
Welcome to the Keptn documentation reference section,
which provides comprehensive information about the Keptn Custom Resource Definitions (CRDs) and APIs used in Keptn.

If you want to learn more about specific Custom Resource Definitions
that you may need to populate to use Keptn,
go to the
[CRD Reference](./crd-reference/index.md) section.
## CRD Reference

If you want to look up some specific object properties or want ot know more about the internal APIs of Keptn,
Go to the [API Reference](./api-reference/index.md) section.
This section provides comprehensive reference information about the CRDs
geoffrey1330 marked this conversation as resolved.
Show resolved Hide resolved
that must be populated to tailor Keptn to your needs.

While the [API Reference](./api-reference/index.md) caters to advanced users with detailed technical specifications,
the CRD Reference serves as a more user-friendly alternative.
It presents the same information found in the API Reference but in a format
that is particularly useful for individuals who are not extremely advanced users.
While many resources are automatically populated,
the CRD Reference guides you through the manual steps for specific manifests.

For a comprehensive list of all Keptn resources, see the [API Reference](./api-reference/index.md).

## API Reference

The [API Reference](./api-reference/index.md) is content that is auto-generated from source code
and offers insights into the structure,
versioning, and functionality of Keptn APIs.

Each API corresponds to an object in our API library, following Kubernetes API versioning.
Keptn APIs extend the base Kubernetes API with additional objects and functionality.
Notably, Keptn generates many of its resources automatically, minimizing the need for manual input.

## Learn more

To learn more about CRDs, APIs, and Kubernetes objects, consult the Kubernetes documentation:

* [API Overview](https://kubernetes.io/docs/reference/using-api/)
* [Custom Resources](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
* [API versioning](https://kubernetes.io/docs/reference/using-api/#api-versioning)
* [Understanding Kubernetes Objects](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/)
Loading