Skip to content

Commit 4169821

Browse files
committed
fix: use correct syntax in notifyMembers default marker
(cherry picked from commit 4b438e9)
1 parent 82d455a commit 4169821

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

api/model/api/base/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type ApiBase struct {
6363
// Categories are reflected in APIM portal so that consumers can easily find the APIs they need.
6464
Categories []string `json:"categories"`
6565
// +kubebuilder:validation:Optional
66-
// +kubebuilder:default:true
66+
// +kubebuilder:default:=true
6767
// If true, new members added to the API spec will
6868
// be notified when the API is synced with APIM.
6969
NotifyMembers bool `json:"notifyMembers"`

docs/api/reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ This will cause Gateways to fetch the APIs from the datastore<br/>
480480
<td>
481481
If true, new members added to the API spec will
482482
be notified when the API is synced with APIM.<br/>
483+
<br/>
484+
<i>Default</i>: true<br/>
483485
</td>
484486
<td>false</td>
485487
</tr><tr>
@@ -4454,6 +4456,8 @@ field of the resource.<br/>
44544456
<td>
44554457
If true, new members added to the API spec will
44564458
be notified when the API is synced with APIM.<br/>
4459+
<br/>
4460+
<i>Default</i>: true<br/>
44574461
</td>
44584462
<td>false</td>
44594463
</tr><tr>

helm/gko/crds/gravitee.io_apidefinitions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ spec:
359359
description: API name
360360
type: string
361361
notifyMembers:
362+
default: true
362363
description: |-
363364
If true, new members added to the API spec will
364365
be notified when the API is synced with APIM.

helm/gko/crds/gravitee.io_apiv4definitions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ spec:
740740
description: API name
741741
type: string
742742
notifyMembers:
743+
default: true
743744
description: |-
744745
If true, new members added to the API spec will
745746
be notified when the API is synced with APIM.

0 commit comments

Comments
 (0)