Skip to content

Commit

Permalink
docs: fix on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gchiesa committed Nov 23, 2023
1 parent d629339 commit 001492b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/v1beta2/tenant_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type TenantSpec struct {
NamespaceOptions *NamespaceOptions `json:"namespaceOptions,omitempty"`
// Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional.
ServiceOptions *api.ServiceOptions `json:"serviceOptions,omitempty"`
// Specifies options for the Pods, such additional metadata to enforce on each pod part of the tenant
// Specifies options for the Pods deployed in the Tenant namespaces, such as additional metadata.
PodOptions *api.PodOptions `json:"podOptions,omitempty"`
// Specifies the allowed StorageClasses assigned to the Tenant.
// Capsule assures that all PersistentVolumeClaim resources created in the Tenant can use only one of the allowed StorageClasses.
Expand Down
6 changes: 3 additions & 3 deletions config/crd/bases/capsule.clastix.io_tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2860,12 +2860,12 @@ spec:
type: object
type: array
podOptions:
description: Specifies options for the Pods, such additional metadata
to enforce on each pod part of the tenant
description: Specifies options for the Pods deployed in the Tenant
namespaces, such as additional metadata.
properties:
additionalMetadata:
description: Specifies additional labels and annotations the Capsule
operator places on any Service resource in the Tenant. Optional.
operator places on any Pod resource in the Tenant. Optional.
properties:
annotations:
additionalProperties:
Expand Down
4 changes: 2 additions & 2 deletions config/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2438,10 +2438,10 @@ spec:
type: object
type: array
podOptions:
description: Specifies options for the Pods, such additional metadata to enforce on each pod part of the tenant
description: Specifies options for the Pods deployed in the Tenant namespaces, such as additional metadata.
properties:
additionalMetadata:
description: Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional.
description: Specifies additional labels and annotations the Capsule operator places on any Pod resource in the Tenant. Optional.
properties:
annotations:
additionalProperties:
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/pod_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ package api
// +kubebuilder:object:generate=true

type PodOptions struct {
// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional.
// Specifies additional labels and annotations the Capsule operator places on any Pod resource in the Tenant. Optional.
AdditionalMetadata *AdditionalMetadataSpec `json:"additionalMetadata,omitempty"`
}

0 comments on commit 001492b

Please sign in to comment.