From 2e1534bd9dad17a4211bfde78d8c7ff5673b4697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?=
Date: Mon, 25 Apr 2022 15:07:42 +0200
Subject: [PATCH] fix: api reference docs link (#3664)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Charles-Edouard Brétéché
Co-authored-by: shuting
---
.github/workflows/e2e.yaml | 2 --
charts/kyverno/templates/crds.yaml | 8 +++++
docs/config.json | 2 +-
docs/crd/v1/index.html | 48 +++++++++++++++---------------
docs/crd/v1alpha2/index.html | 12 ++++----
docs/crd/v1beta1/index.html | 6 ++--
6 files changed, 42 insertions(+), 36 deletions(-)
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index a78f52e52c..68f944cfac 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -6,7 +6,6 @@ on:
- 'release*'
paths-ignore:
- 'README.md'
- - 'docs/**'
- '.github/config.yml'
pull_request:
branches:
@@ -14,7 +13,6 @@ on:
- 'release*'
paths-ignore:
- 'README.md'
- - 'docs/**'
- '.github/config.yml'
permissions: read-all
diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml
index 4fe60e11a0..1d60565851 100644
--- a/charts/kyverno/templates/crds.yaml
+++ b/charts/kyverno/templates/crds.yaml
@@ -5,6 +5,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '1'
+ internal.config.kubernetes.io/index: '1'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -3043,6 +3044,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '2'
+ internal.config.kubernetes.io/index: '2'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -3314,6 +3316,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '3'
+ internal.config.kubernetes.io/index: '3'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -3585,6 +3588,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '4'
+ internal.config.kubernetes.io/index: '4'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -3768,6 +3772,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '5'
+ internal.config.kubernetes.io/index: '5'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -6806,6 +6811,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '6'
+ internal.config.kubernetes.io/index: '6'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -7077,6 +7083,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '7'
+ internal.config.kubernetes.io/index: '7'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
@@ -7348,6 +7355,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
config.kubernetes.io/index: '8'
+ internal.config.kubernetes.io/index: '8'
creationTimestamp: null
labels:
app.kubernetes.io/component: kyverno
diff --git a/docs/config.json b/docs/config.json
index dcd5eb9de9..1bab97171f 100644
--- a/docs/config.json
+++ b/docs/config.json
@@ -13,7 +13,7 @@
},
{
"typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
- "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
+ "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
},
{
"typeMatchPrefix": "^github\\.com/knative/pkg/apis/duck/",
diff --git a/docs/crd/v1/index.html b/docs/crd/v1/index.html
index f944213c17..d02db49202 100644
--- a/docs/crd/v1/index.html
+++ b/docs/crd/v1/index.html
@@ -110,7 +110,7 @@ string
operation
-
+
Kubernetes admission/v1.Operation
@@ -209,8 +209,8 @@ string
|
conditions
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.AnyAllConditions
+
+[]*./api/kyverno/v1.AnyAllConditions
|
@@ -330,8 +330,8 @@ value N, then N must be less than or equal to the size of entries, and at least
entries
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.Attestor
+
+[]*./api/kyverno/v1.Attestor
|
@@ -489,7 +489,7 @@ string
metadata
-
+
Kubernetes meta/v1.ObjectMeta
@@ -1090,7 +1090,7 @@ Deny
|
metadata
-
+
Kubernetes meta/v1.ObjectMeta
@@ -1573,8 +1573,8 @@ Deprecated.
|
attestors
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.AttestorSet
+
+[]*./api/kyverno/v1.AttestorSet
|
@@ -1586,8 +1586,8 @@ Deprecated.
attestations
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.Attestation
+
+[]*./api/kyverno/v1.Attestation
|
@@ -1890,8 +1890,8 @@ See https://tools.ietf.org/html/rf
foreach
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.ForEachMutation
+
+[]*./api/kyverno/v1.ForEachMutation
|
@@ -1921,7 +1921,7 @@ See: https://kyverno.io/docs
metadata
-
+
Kubernetes meta/v1.ObjectMeta
@@ -2108,7 +2108,7 @@ Deprecated in favor of Conditions
|
conditions
-
+
[]Kubernetes meta/v1.Condition
@@ -2194,7 +2194,7 @@ auto generated rules added for pod controllers
|
userInfo
-
+
Kubernetes authentication/v1.UserInfo
@@ -2295,7 +2295,7 @@ and values support the wildcard characters “*” (matches zero or many
|
selector
-
+
Kubernetes meta/v1.LabelSelector
@@ -2312,7 +2312,7 @@ using [”” : “”] matches any key and value but d
|
namespaceSelector
-
+
Kubernetes meta/v1.LabelSelector
@@ -2373,7 +2373,7 @@ ResourceDescription
ResourceFilters
-([]github.com/realshuting/kyverno/api/kyverno/v1.ResourceFilter alias)
+([]./api/kyverno/v1.ResourceFilter alias)
(Appears on:
MatchResources)
@@ -2602,8 +2602,8 @@ Generation
|
verifyImages
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.ImageVerification
+
+[]*./api/kyverno/v1.ImageVerification
|
@@ -2875,7 +2875,7 @@ ResourceSpec
subjects
-
+
[]Kubernetes rbac/v1.Subject
@@ -2921,8 +2921,8 @@ string
|
foreach
-
-[]*github.com/realshuting/kyverno/api/kyverno/v1.ForEachValidation
+
+[]*./api/kyverno/v1.ForEachValidation
|
diff --git a/docs/crd/v1alpha2/index.html b/docs/crd/v1alpha2/index.html
index f3a377ea69..7470ecd278 100644
--- a/docs/crd/v1alpha2/index.html
+++ b/docs/crd/v1alpha2/index.html
@@ -46,7 +46,7 @@ Resource Types:
metadata
-
+
Kubernetes meta/v1.ObjectMeta
@@ -60,7 +60,7 @@ Refer to the Kubernetes API documentation for the fields of the
|
scope
-
+
Kubernetes core/v1.ObjectReference
@@ -74,7 +74,7 @@ Kubernetes core/v1.ObjectReference
|
scopeSelector
-
+
Kubernetes meta/v1.LabelSelector
@@ -129,7 +129,7 @@ github.com/kyverno/kyverno/api/policyreport/v1alpha2.PolicyReportSummary
|
metadata
-
+
Kubernetes meta/v1.ObjectMeta
@@ -143,7 +143,7 @@ Refer to the Kubernetes API documentation for the fields of the
|
scope
-
+
Kubernetes core/v1.ObjectReference
@@ -157,7 +157,7 @@ Kubernetes core/v1.ObjectReference
|
scopeSelector
-
+
Kubernetes meta/v1.LabelSelector
diff --git a/docs/crd/v1beta1/index.html b/docs/crd/v1beta1/index.html
index 475a682e10..3eab1bc497 100644
--- a/docs/crd/v1beta1/index.html
+++ b/docs/crd/v1beta1/index.html
@@ -61,7 +61,7 @@ string
|
operation
-
+
Kubernetes admission/v1.Operation
@@ -118,7 +118,7 @@ Kubernetes admission/v1.Operation
|
userInfo
-
+
Kubernetes authentication/v1.UserInfo
@@ -156,7 +156,7 @@ Kubernetes authentication/v1.UserInfo
|
metadata
-
+
Kubernetes meta/v1.ObjectMeta
|