Skip to content

Commit

Permalink
chore: update controller-tools to 0.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
a-cordier committed Oct 10, 2024
1 parent 50ff83d commit 9b48169
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 77 deletions.
124 changes: 59 additions & 65 deletions docs/api/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,14 @@ The Basic credentials used to authenticate against the API Management instance.
<td>
<br/>
</td>
<td>false</td>
<td>true</td>
</tr><tr>
<td><b>username</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
<td>true</td>
</tr></tbody>
</table>

Expand Down Expand Up @@ -402,6 +402,14 @@ See https://docs.gravitee.io/apim/3.x/apim_installguide_rest_apis_documentation.
</tr>
</thead>
<tbody><tr>
<td><b><a href="#apidefinitionspecdefinition_context">definition_context</a></b></td>
<td>object</td>
<td>
The definition context is used to inform a management API instance that this API definition
is managed using a kubernetes operator<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>description</b></td>
<td>string</td>
<td>
Expand Down Expand Up @@ -448,14 +456,6 @@ Setting this ID also allows to take control over an existing API on an APIM inst
If empty, a UUID will be generated based on the namespace and name of the resource.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#apidefinitionspecdefinition_context">definition_context</a></b></td>
<td>object</td>
<td>
The definition context is used to inform a management API instance that this API definition
is managed using a kubernetes operator<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>deployedAt</b></td>
<td>integer</td>
Expand Down Expand Up @@ -539,11 +539,9 @@ field of the resource.<br/>
<td>
local defines if the api is local or not.


If true, the Operator will create the ConfigMaps for the Gateway and pushes the API to the Management API
but without setting the update flag in the datastore.


If false, the Operator will not create the ConfigMaps for the Gateway.
Instead, it pushes the API to the Management API and forces it to update the event in the datastore.
This will cause Gateways to fetch the APIs from the datastore<br/>
Expand Down Expand Up @@ -581,11 +579,9 @@ be notified when the API is synced with APIM.<br/>
<td>
A map of pages objects.


Keys uniquely identify pages and are used to keep them in sync
with APIM when using a management context.


Renaming a key is the equivalent of deleting the page and recreating
it holding a new ID in APIM.<br/>
</td>
Expand Down Expand Up @@ -671,12 +667,13 @@ of an <a href="#apiresource">existing API resource definition</a>.<br/>
</table>


### ApiDefinition.spec.contextRef
### ApiDefinition.spec.definition_context
[Go to parent definition](#apidefinitionspec)




The definition context is used to inform a management API instance that this API definition
is managed using a kubernetes operator

<table>
<thead>
Expand All @@ -688,30 +685,42 @@ of an <a href="#apiresource">existing API resource definition</a>.<br/>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td><b>mode</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: fully_managed<br/>
</td>
<td>true</td>
<td>false</td>
</tr><tr>
<td><b>namespace</b></td>
<td><b>origin</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: kubernetes<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>syncFrom</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: kubernetes<br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### ApiDefinition.spec.definition_context
### ApiDefinition.spec.contextRef
[Go to parent definition](#apidefinitionspec)



The definition context is used to inform a management API instance that this API definition
is managed using a kubernetes operator


<table>
<thead>
Expand All @@ -723,30 +732,17 @@ is managed using a kubernetes operator
</tr>
</thead>
<tbody><tr>
<td><b>mode</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: fully_managed<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>origin</b></td>
<td><b>name</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: kubernetes<br/>
</td>
<td>false</td>
<td>true</td>
</tr><tr>
<td><b>syncFrom</b></td>
<td><b>namespace</b></td>
<td>string</td>
<td>
<br/>
<br/>
<i>Default</i>: kubernetes<br/>
</td>
<td>false</td>
</tr></tbody>
Expand Down Expand Up @@ -1161,6 +1157,14 @@ List of path operators
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
This is the display name of the page in APIM and on the portal.
This field can be edited safely if you want to rename a page.<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>type</b></td>
<td>enum</td>
<td>
Expand Down Expand Up @@ -1233,14 +1237,6 @@ If not set, this ID will be generated in a predictable manner based on
the map key associated to this entry in the API.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>name</b></td>
<td>string</td>
<td>
This is the display name of the page in APIM and on the portal.
This field can be edited safely if you want to rename a page.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>order</b></td>
<td>integer</td>
Expand Down Expand Up @@ -1320,7 +1316,7 @@ each time the source is fetched.<br/>
<td>
The ID denied or granted by the access control (currently only group names are supported)<br/>
</td>
<td>false</td>
<td>true</td>
</tr><tr>
<td><b>referenceType</b></td>
<td>enum</td>
Expand All @@ -1330,7 +1326,7 @@ Currently only GROUP is supported<br/>
<br/>
<i>Enum</i>: GROUP<br/>
</td>
<td>false</td>
<td>true</td>
</tr></tbody>
</table>

Expand Down Expand Up @@ -4522,11 +4518,9 @@ be notified when the API is synced with APIM.<br/>
<td>
A map of pages objects.


Keys uniquely identify pages and are used to keep them in sync
with APIM when using a management context.


Renaming a key is the equivalent of deleting the page and recreating
it holding a new ID in APIM.<br/>
</td>
Expand Down Expand Up @@ -4713,6 +4707,13 @@ of an <a href="#apiresource">existing API resource definition</a>.<br/>
Endpoint is secondary or not?<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>type</b></td>
<td>string</td>
<td>
Endpoint Type<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>configuration</b></td>
<td>object</td>
Expand Down Expand Up @@ -4748,13 +4749,6 @@ of an <a href="#apiresource">existing API resource definition</a>.<br/>
List of endpoint tenants<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>type</b></td>
<td>string</td>
<td>
Endpoint Type<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>weight</b></td>
<td>integer</td>
Expand Down Expand Up @@ -6111,6 +6105,14 @@ APIM exports and can be safely ignored.<br/>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
This is the display name of the page in APIM and on the portal.
This field can be edited safely if you want to rename a page.<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>type</b></td>
<td>enum</td>
<td>
Expand Down Expand Up @@ -6168,14 +6170,6 @@ If not set, this ID will be generated in a predictable manner based on
the map key associated to this entry in the API.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>name</b></td>
<td>string</td>
<td>
This is the display name of the page in APIM and on the portal.
This field can be edited safely if you want to rename a page.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>order</b></td>
<td>integer</td>
Expand Down
11 changes: 6 additions & 5 deletions helm/gko/crds/gravitee.io_apidefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.4
name: apidefinitions.gravitee.io
spec:
group: gravitee.io
Expand Down Expand Up @@ -290,11 +290,9 @@ spec:
description: |-
local defines if the api is local or not.
If true, the Operator will create the ConfigMaps for the Gateway and pushes the API to the Management API
but without setting the update flag in the datastore.
If false, the Operator will not create the ConfigMaps for the Gateway.
Instead, it pushes the API to the Management API and forces it to update the event in the datastore.
This will cause Gateways to fetch the APIs from the datastore
Expand Down Expand Up @@ -383,6 +381,9 @@ spec:
enum:
- GROUP
type: string
required:
- referenceId
- referenceType
type: object
type: array
api:
Expand Down Expand Up @@ -480,16 +481,15 @@ spec:
- PRIVATE
type: string
required:
- name
- type
type: object
description: |-
A map of pages objects.
Keys uniquely identify pages and are used to keep them in sync
with APIM when using a management context.
Renaming a key is the equivalent of deleting the page and recreating
it holding a new ID in APIM.
type: object
Expand Down Expand Up @@ -1619,6 +1619,7 @@ spec:
- PRIVATE
type: string
required:
- definition_context
- description
- name
- version
Expand Down
2 changes: 1 addition & 1 deletion helm/gko/crds/gravitee.io_apiresources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.4
name: apiresources.gravitee.io
spec:
group: gravitee.io
Expand Down
6 changes: 3 additions & 3 deletions helm/gko/crds/gravitee.io_apiv4definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.4
name: apiv4definitions.gravitee.io
spec:
group: gravitee.io
Expand Down Expand Up @@ -299,6 +299,7 @@ spec:
required:
- inheritConfiguration
- secondary
- type
type: object
type: array
headers:
Expand Down Expand Up @@ -838,16 +839,15 @@ spec:
- PRIVATE
type: string
required:
- name
- type
type: object
description: |-
A map of pages objects.
Keys uniquely identify pages and are used to keep them in sync
with APIM when using a management context.
Renaming a key is the equivalent of deleting the page and recreating
it holding a new ID in APIM.
type: object
Expand Down
2 changes: 1 addition & 1 deletion helm/gko/crds/gravitee.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.4
name: applications.gravitee.io
spec:
group: gravitee.io
Expand Down
Loading

0 comments on commit 9b48169

Please sign in to comment.