Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 4c53824

Browse files
committed
Fix naming redux..
1 parent 9af33fb commit 4c53824

File tree

9 files changed

+16
-13
lines changed

9 files changed

+16
-13
lines changed

deploy/charts/rig-operator/templates/crd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,8 @@ spec:
491491
type: array
492492
type: object
493493
extensions:
494+
description: Extensions are extra, typed fields defined by the platform
495+
for custom behaviour implemented through plugins
494496
type: object
495497
x-kubernetes-preserve-unknown-fields: true
496498
files:

docs/docs/api/platform-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ A reference to a kubernetes object.
16801680
| scale | [Scale](#platform-v1-Scale) | | |
16811681
| cronJobs | [CronJob](#platform-v1-CronJob) | repeated | |
16821682
| autoAddRigServiceAccounts | [bool](#bool) | | |
1683-
| extensions | [CapsuleSpec.ExtensionsEntry](#platform-v1-CapsuleSpec-ExtensionsEntry) | repeated | |
1683+
| extentions | [CapsuleSpec.ExtentionsEntry](#platform-v1-CapsuleSpec-ExtentionsEntry) | repeated | |
16841684

16851685

16861686

@@ -1703,9 +1703,9 @@ A reference to a kubernetes object.
17031703

17041704

17051705

1706-
<a name="platform-v1-CapsuleSpec-ExtensionsEntry"></a>
1706+
<a name="platform-v1-CapsuleSpec-ExtentionsEntry"></a>
17071707

1708-
### CapsuleSpec.ExtensionsEntry
1708+
### CapsuleSpec.ExtentionsEntry
17091709

17101710

17111711

docs/docs/api/platformv1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ _Appears in:_
116116
| `scale` _[Scale](#scale)_ | Scale specifies the scaling of the Capsule. |
117117
| `cronJobs` _[CronJob](#cronjob) array_ | |
118118
| `autoAddRigServiceAccounts` _boolean_ | TODO Move to plugin |
119-
| `extentions` _object (keys:string, values:RawMessage)_ | Extentions json.RawMessage `json:"extensions,omitempty" protobuf:"14"` |
119+
| `extensions` _object (keys:string, values:RawMessage)_ | Extensions are extra, typed fields defined by the platform for custom behaviour implemented through plugins |
120120

121121

122122
### CronJob

docs/docs/api/v1alpha2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ _Appears in:_
135135
| `nodeSelector` _object (keys:string, values:string)_ | NodeSelector is a selector for what nodes the Capsule should live on. |
136136
| `env` _[Env](#env)_ | Env specifies configuration for how the container should obtain environment variables. |
137137
| `cronJobs` _[CronJob](#cronjob) array_ | |
138-
| `extensions` _object (keys:string, values:RawMessage)_ | |
138+
| `extensions` _object (keys:string, values:RawMessage)_ | Extensions are extra, typed fields defined by the platform for custom behaviour implemented through plugins |
139139

140140

141141
### CronJob

pkg/api/platform/v1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ type CapsuleSpec struct {
142142
// +kubebuilder:validation:Schemaless
143143
// +kubebuilder:pruning:PreserveUnknownFields
144144
// +kubebuilder:validation:Type=object
145-
// Extentions json.RawMessage `json:"extensions,omitempty" protobuf:"14"`
146-
Extentions map[string]json.RawMessage `json:"extentions,omitempty" protobuf:"14"`
145+
// Extensions are extra, typed fields defined by the platform for custom behaviour implemented through plugins
146+
Extensions map[string]json.RawMessage `json:"extensions,omitempty" protobuf:"14"`
147147
}
148148

149149
// EnvironmentVariables defines the environment variables injected into a Capsule.

pkg/api/platform/v1/zz_generated.deepcopy.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/v1alpha2/capsule_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ type CapsuleSpec struct {
4848
// +kubebuilder:validation:Schemaless
4949
// +kubebuilder:pruning:PreserveUnknownFields
5050
// +kubebuilder:validation:Type=object
51-
Extentions map[string]json.RawMessage `json:"extensions,omitempty"`
51+
// Extensions are extra, typed fields defined by the platform for custom behaviour implemented through plugins
52+
Extensions map[string]json.RawMessage `json:"extensions,omitempty"`
5253
}
5354

5455
type CronJob struct {

pkg/api/v1alpha2/zz_generated.deepcopy.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/rig/platform/v1/generated.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ message CapsuleSpec {
2828
Scale scale = 8;
2929
repeated CronJob cronJobs = 10;
3030
bool autoAddRigServiceAccounts = 13;
31-
map<string, google.protobuf.Struct> extentions = 14;
31+
map<string, google.protobuf.Struct> extensions = 14;
3232
}
3333

3434
message CapsuleInterface {

0 commit comments

Comments
 (0)