Skip to content

Commit 45aa4c3

Browse files
committed
docs: make CRD reference docs links multi version aware
1 parent 2c2fa11 commit 45aa4c3

File tree

9 files changed

+195
-182
lines changed

9 files changed

+195
-182
lines changed

api/gateway-operator/v2beta1/groupversion_info.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v2beta1 contains API Schema definitions for the gateway-operator.konghq.com v2beta1 API group
18-
// +kubebuilder:object:generate=true
19-
// +groupName=gateway-operator.konghq.com
2017
package v2beta1
2118

2219
import (

docs/all-api-reference.md

Lines changed: 94 additions & 87 deletions
Large diffs are not rendered by default.

docs/configuration-api-reference.md

Lines changed: 53 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010

1111
Package v1 contains API Schema definitions for the konghq.com v1 API group.
1212

13-
- [KongClusterPlugin](#kongclusterplugin)
14-
- [KongConsumer](#kongconsumer)
15-
- [KongPlugin](#kongplugin)
16-
### KongClusterPlugin
13+
- [KongClusterPlugin](#github-com-kong-kong-operator-api-configuration-v1-kongclusterplugin)
14+
- [KongConsumer](#github-com-kong-kong-operator-api-configuration-v1-kongconsumer)
15+
- [KongPlugin](#github-com-kong-kong-operator-api-configuration-v1-kongplugin)
16+
17+
### <a id="github-com-kong-kong-operator-api-configuration-v1-kongclusterplugin">KongClusterPlugin</a>
1718

1819

1920
KongClusterPlugin is the Schema for the kongclusterplugins API.
@@ -39,7 +40,7 @@ KongClusterPlugin is the Schema for the kongclusterplugins API.
3940

4041

4142

42-
### KongConsumer
43+
### <a id="github-com-kong-kong-operator-api-configuration-v1-kongconsumer">KongConsumer</a>
4344

4445

4546
KongConsumer is the Schema for the kongconsumers API.
@@ -60,7 +61,7 @@ KongConsumer is the Schema for the kongconsumers API.
6061

6162

6263

63-
### KongPlugin
64+
### <a id="github-com-kong-kong-operator-api-configuration-v1-kongplugin">KongPlugin</a>
6465

6566

6667
KongPlugin is the Schema for the kongplugins API.
@@ -275,27 +276,28 @@ _Appears in:_
275276

276277
Package v1alpha1 contains API Schema definitions for the configuration.konghq.com v1alpha1 API group.
277278

278-
- [IngressClassParameters](#ingressclassparameters)
279-
- [KongCACertificate](#kongcacertificate)
280-
- [KongCertificate](#kongcertificate)
281-
- [KongCredentialACL](#kongcredentialacl)
282-
- [KongCredentialAPIKey](#kongcredentialapikey)
283-
- [KongCredentialBasicAuth](#kongcredentialbasicauth)
284-
- [KongCredentialHMAC](#kongcredentialhmac)
285-
- [KongCredentialJWT](#kongcredentialjwt)
286-
- [KongCustomEntity](#kongcustomentity)
287-
- [KongDataPlaneClientCertificate](#kongdataplaneclientcertificate)
288-
- [KongKey](#kongkey)
289-
- [KongKeySet](#kongkeyset)
290-
- [KongLicense](#konglicense)
291-
- [KongPluginBinding](#kongpluginbinding)
292-
- [KongRoute](#kongroute)
293-
- [KongSNI](#kongsni)
294-
- [KongService](#kongservice)
295-
- [KongTarget](#kongtarget)
296-
- [KongUpstream](#kongupstream)
297-
- [KongVault](#kongvault)
298-
### IngressClassParameters
279+
- [IngressClassParameters](#github-com-kong-kong-operator-api-configuration-v1alpha1-ingressclassparameters)
280+
- [KongCACertificate](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcacertificate)
281+
- [KongCertificate](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcertificate)
282+
- [KongCredentialACL](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialacl)
283+
- [KongCredentialAPIKey](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialapikey)
284+
- [KongCredentialBasicAuth](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialbasicauth)
285+
- [KongCredentialHMAC](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialhmac)
286+
- [KongCredentialJWT](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialjwt)
287+
- [KongCustomEntity](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongcustomentity)
288+
- [KongDataPlaneClientCertificate](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongdataplaneclientcertificate)
289+
- [KongKey](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongkey)
290+
- [KongKeySet](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongkeyset)
291+
- [KongLicense](#github-com-kong-kong-operator-api-configuration-v1alpha1-konglicense)
292+
- [KongPluginBinding](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongpluginbinding)
293+
- [KongRoute](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongroute)
294+
- [KongSNI](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongsni)
295+
- [KongService](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongservice)
296+
- [KongTarget](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongtarget)
297+
- [KongUpstream](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongupstream)
298+
- [KongVault](#github-com-kong-kong-operator-api-configuration-v1alpha1-kongvault)
299+
300+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-ingressclassparameters">IngressClassParameters</a>
299301

300302

301303
IngressClassParameters is the Schema for the IngressClassParameters API.
@@ -311,7 +313,7 @@ IngressClassParameters is the Schema for the IngressClassParameters API.
311313

312314

313315

314-
### KongCACertificate
316+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcacertificate">KongCACertificate</a>
315317

316318

317319
KongCACertificate is the schema for CACertificate API which defines a Kong CA Certificate.
@@ -328,7 +330,7 @@ KongCACertificate is the schema for CACertificate API which defines a Kong CA Ce
328330

329331

330332

331-
### KongCertificate
333+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcertificate">KongCertificate</a>
332334

333335

334336
KongCertificate is the schema for Certificate API which defines a Kong Certificate.
@@ -345,7 +347,7 @@ KongCertificate is the schema for Certificate API which defines a Kong Certifica
345347

346348

347349

348-
### KongCredentialACL
350+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialacl">KongCredentialACL</a>
349351

350352

351353
KongCredentialACL is the schema for ACL credentials API which defines a ACL credential for consumers.
@@ -362,7 +364,7 @@ KongCredentialACL is the schema for ACL credentials API which defines a ACL cred
362364

363365

364366

365-
### KongCredentialAPIKey
367+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialapikey">KongCredentialAPIKey</a>
366368

367369

368370
KongCredentialAPIKey is the schema for API key credentials API which defines a API key credential for consumers.
@@ -379,7 +381,7 @@ KongCredentialAPIKey is the schema for API key credentials API which defines a A
379381

380382

381383

382-
### KongCredentialBasicAuth
384+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialbasicauth">KongCredentialBasicAuth</a>
383385

384386

385387
KongCredentialBasicAuth is the schema for BasicAuth credentials API which defines a BasicAuth credential for consumers.
@@ -396,7 +398,7 @@ KongCredentialBasicAuth is the schema for BasicAuth credentials API which define
396398

397399

398400

399-
### KongCredentialHMAC
401+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialhmac">KongCredentialHMAC</a>
400402

401403

402404
KongCredentialHMAC is the schema for HMAC credentials API which defines a HMAC credential for consumers.
@@ -413,7 +415,7 @@ KongCredentialHMAC is the schema for HMAC credentials API which defines a HMAC c
413415

414416

415417

416-
### KongCredentialJWT
418+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcredentialjwt">KongCredentialJWT</a>
417419

418420

419421
KongCredentialJWT is the schema for JWT credentials API which defines a JWT credential for consumers.
@@ -430,7 +432,7 @@ KongCredentialJWT is the schema for JWT credentials API which defines a JWT cred
430432

431433

432434

433-
### KongCustomEntity
435+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongcustomentity">KongCustomEntity</a>
434436

435437

436438
KongCustomEntity defines a "custom" Kong entity that KIC cannot support the entity type directly.
@@ -447,7 +449,7 @@ KongCustomEntity defines a "custom" Kong entity that KIC cannot support the enti
447449

448450

449451

450-
### KongDataPlaneClientCertificate
452+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongdataplaneclientcertificate">KongDataPlaneClientCertificate</a>
451453

452454

453455
KongDataPlaneClientCertificate is the schema for KongDataPlaneClientCertificate API which defines a KongDataPlaneClientCertificate entity.
@@ -464,7 +466,7 @@ KongDataPlaneClientCertificate is the schema for KongDataPlaneClientCertificate
464466

465467

466468

467-
### KongKey
469+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongkey">KongKey</a>
468470

469471

470472
KongKey is the schema for KongKey API which defines a KongKey entity.
@@ -481,7 +483,7 @@ KongKey is the schema for KongKey API which defines a KongKey entity.
481483

482484

483485

484-
### KongKeySet
486+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongkeyset">KongKeySet</a>
485487

486488

487489
KongKeySet is the schema for KongKeySet API which defines a KongKeySet entity.
@@ -498,7 +500,7 @@ KongKeySet is the schema for KongKeySet API which defines a KongKeySet entity.
498500

499501

500502

501-
### KongLicense
503+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-konglicense">KongLicense</a>
502504

503505

504506
KongLicense stores a Kong enterprise license to apply to managed Kong gateway instances.
@@ -516,7 +518,7 @@ KongLicense stores a Kong enterprise license to apply to managed Kong gateway in
516518

517519

518520

519-
### KongPluginBinding
521+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongpluginbinding">KongPluginBinding</a>
520522

521523

522524
KongPluginBinding is the schema for Plugin Bindings API which defines a Kong Plugin Binding.
@@ -533,7 +535,7 @@ KongPluginBinding is the schema for Plugin Bindings API which defines a Kong Plu
533535

534536

535537

536-
### KongRoute
538+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongroute">KongRoute</a>
537539

538540

539541
KongRoute is the schema for Routes API which defines a Kong Route.
@@ -550,7 +552,7 @@ KongRoute is the schema for Routes API which defines a Kong Route.
550552

551553

552554

553-
### KongSNI
555+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongsni">KongSNI</a>
554556

555557

556558
KongSNI is the schema for SNI API which defines a Kong SNI.
@@ -567,7 +569,7 @@ KongSNI is the schema for SNI API which defines a Kong SNI.
567569

568570

569571

570-
### KongService
572+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongservice">KongService</a>
571573

572574

573575
KongService is the schema for Services API which defines a Kong Service.
@@ -584,7 +586,7 @@ KongService is the schema for Services API which defines a Kong Service.
584586

585587

586588

587-
### KongTarget
589+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongtarget">KongTarget</a>
588590

589591

590592
KongTarget is the schema for Target API which defines a Kong Target attached to a Kong Upstream.
@@ -601,7 +603,7 @@ KongTarget is the schema for Target API which defines a Kong Target attached to
601603

602604

603605

604-
### KongUpstream
606+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongupstream">KongUpstream</a>
605607

606608

607609
KongUpstream is the schema for Upstream API which defines a Kong Upstream.
@@ -618,7 +620,7 @@ KongUpstream is the schema for Upstream API which defines a Kong Upstream.
618620

619621

620622

621-
### KongVault
623+
### <a id="github-com-kong-kong-operator-api-configuration-v1alpha1-kongvault">KongVault</a>
622624

623625

624626
KongVault is the schema for kongvaults API which defines a custom Kong vault.
@@ -1900,9 +1902,10 @@ _Appears in:_
19001902

19011903
Package v1beta1 contains API Schema definitions for the configuration.konghq.com v1beta1 API group.
19021904

1903-
- [KongConsumerGroup](#kongconsumergroup)
1904-
- [KongUpstreamPolicy](#kongupstreampolicy)
1905-
### KongConsumerGroup
1905+
- [KongConsumerGroup](#github-com-kong-kong-operator-api-configuration-v1beta1-kongconsumergroup)
1906+
- [KongUpstreamPolicy](#github-com-kong-kong-operator-api-configuration-v1beta1-kongupstreampolicy)
1907+
1908+
### <a id="github-com-kong-kong-operator-api-configuration-v1beta1-kongconsumergroup">KongConsumerGroup</a>
19061909

19071910

19081911
KongConsumerGroup is the Schema for the kongconsumergroups API.
@@ -1919,7 +1922,7 @@ KongConsumerGroup is the Schema for the kongconsumergroups API.
19191922

19201923

19211924

1922-
### KongUpstreamPolicy
1925+
### <a id="github-com-kong-kong-operator-api-configuration-v1beta1-kongupstreampolicy">KongUpstreamPolicy</a>
19231926

19241927

19251928
KongUpstreamPolicy allows configuring algorithm that should be used for load balancing traffic between Kong

docs/gateway-operator-api-reference.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010

1111
Package v1alpha1 contains API Schema definitions for the gateway-operator.konghq.com v1alpha1 API group.
1212

13-
- [AIGateway](#aigateway)
14-
- [DataPlaneMetricsExtension](#dataplanemetricsextension)
15-
- [KongPluginInstallation](#kongplugininstallation)
16-
- [WatchNamespaceGrant](#watchnamespacegrant)
17-
### AIGateway
13+
- [AIGateway](#github-com-kong-kong-operator-api-gateway-operator-v1alpha1-aigateway)
14+
- [DataPlaneMetricsExtension](#github-com-kong-kong-operator-api-gateway-operator-v1alpha1-dataplanemetricsextension)
15+
- [KongPluginInstallation](#github-com-kong-kong-operator-api-gateway-operator-v1alpha1-kongplugininstallation)
16+
- [WatchNamespaceGrant](#github-com-kong-kong-operator-api-gateway-operator-v1alpha1-watchnamespacegrant)
17+
18+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1alpha1-aigateway">AIGateway</a>
1819

1920

2021
AIGateway is a network Gateway enabling access and management for AI &
@@ -51,7 +52,7 @@ unique-ness, e.t.c.<br /><br />See: https://kubernetes.io/docs/reference/using-a
5152

5253

5354

54-
### DataPlaneMetricsExtension
55+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1alpha1-dataplanemetricsextension">DataPlaneMetricsExtension</a>
5556

5657

5758
DataPlaneMetricsExtension holds the configuration for the DataPlane metrics extension.
@@ -73,7 +74,7 @@ enriched with metadata required for in-cluster Kubernetes autoscaling.
7374

7475

7576

76-
### KongPluginInstallation
77+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1alpha1-kongplugininstallation">KongPluginInstallation</a>
7778

7879

7980
KongPluginInstallation allows using a custom Kong Plugin distributed as a container image available in a registry.
@@ -92,7 +93,7 @@ and configured with KongPlugin CRD.
9293

9394

9495

95-
### WatchNamespaceGrant
96+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1alpha1-watchnamespacegrant">WatchNamespaceGrant</a>
9697

9798

9899
WatchNamespaceGrant is a grant that allows a trusted namespace to watch
@@ -497,10 +498,11 @@ _Appears in:_
497498

498499
Package v1beta1 contains API Schema definitions for the gateway-operator.konghq.com v1beta1 API group.
499500

500-
- [ControlPlane](#controlplane)
501-
- [DataPlane](#dataplane)
502-
- [GatewayConfiguration](#gatewayconfiguration)
503-
### ControlPlane
501+
- [ControlPlane](#github-com-kong-kong-operator-api-gateway-operator-v1beta1-controlplane)
502+
- [DataPlane](#github-com-kong-kong-operator-api-gateway-operator-v1beta1-dataplane)
503+
- [GatewayConfiguration](#github-com-kong-kong-operator-api-gateway-operator-v1beta1-gatewayconfiguration)
504+
505+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1beta1-controlplane">ControlPlane</a>
504506

505507

506508
ControlPlane is the Schema for the controlplanes API
@@ -517,7 +519,7 @@ ControlPlane is the Schema for the controlplanes API
517519

518520

519521

520-
### DataPlane
522+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1beta1-dataplane">DataPlane</a>
521523

522524

523525
DataPlane is the Schema for the dataplanes API
@@ -534,7 +536,7 @@ DataPlane is the Schema for the dataplanes API
534536

535537

536538

537-
### GatewayConfiguration
539+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v1beta1-gatewayconfiguration">GatewayConfiguration</a>
538540

539541

540542
GatewayConfiguration is the Schema for the gatewayconfigurations API.
@@ -1357,11 +1359,10 @@ _Appears in:_
13571359

13581360
Package v2beta1 contains API Schema definitions for the gateway-operator.konghq.com v2beta1 API group.
13591361

1360-
Package v2beta1 contains API Schema definitions for the gateway-operator.konghq.com v2beta1 API group
1362+
- [ControlPlane](#github-com-kong-kong-operator-api-gateway-operator-v2beta1-controlplane)
1363+
- [GatewayConfiguration](#github-com-kong-kong-operator-api-gateway-operator-v2beta1-gatewayconfiguration)
13611364

1362-
- [ControlPlane](#controlplane)
1363-
- [GatewayConfiguration](#gatewayconfiguration)
1364-
### ControlPlane
1365+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v2beta1-controlplane">ControlPlane</a>
13651366

13661367

13671368
ControlPlane is the Schema for the controlplanes API
@@ -1378,7 +1379,7 @@ ControlPlane is the Schema for the controlplanes API
13781379

13791380

13801381

1381-
### GatewayConfiguration
1382+
### <a id="github-com-kong-kong-operator-api-gateway-operator-v2beta1-gatewayconfiguration">GatewayConfiguration</a>
13821383

13831384

13841385
GatewayConfiguration is the Schema for the gatewayconfigurations API.

0 commit comments

Comments
 (0)