Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions api/v1beta1/secrettransformation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ type SecretTransformation struct {
// SecretTransformationSpec defines the desired state of SecretTransformation
type SecretTransformationSpec struct {
// Templates maps a template name to its Template. Templates are always included
// in the rendered K8s Secret with the specified key.
// in the rendered secret with the specified key.
Templates map[string]Template `json:"templates,omitempty"`
// SourceTemplates are never included in the rendered K8s Secret, they can be
// SourceTemplates are never included in the rendered secret, they can be
// used to provide common template definitions, etc.
SourceTemplates []SourceTemplate `json:"sourceTemplates,omitempty"`
// Includes contains regex patterns used to filter top-level source secret data
// fields for inclusion in the final K8s Secret data. These pattern filters are
// fields for inclusion in the final secret data. These pattern filters are
// never applied to templated fields as defined in Templates. They are always
// applied last.
Includes []string `json:"includes,omitempty"`
// Excludes contains regex patterns used to filter top-level source secret data
// fields for exclusion from the final K8s Secret data. These pattern filters are
// fields for exclusion from the final secret data. These pattern filters are
// never applied to templated fields as defined in Templates. They are always
// applied before any inclusion patterns. To exclude all source secret data
// fields, you can configure the single pattern ".*".
Expand Down
8 changes: 4 additions & 4 deletions chart/crds/secrets.hashicorp.com_secrettransformations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
excludes:
description: |-
Excludes contains regex patterns used to filter top-level source secret data
fields for exclusion from the final K8s Secret data. These pattern filters are
fields for exclusion from the final secret data. These pattern filters are
never applied to templated fields as defined in Templates. They are always
applied before any inclusion patterns. To exclude all source secret data
fields, you can configure the single pattern ".*".
Expand All @@ -56,15 +56,15 @@ spec:
includes:
description: |-
Includes contains regex patterns used to filter top-level source secret data
fields for inclusion in the final K8s Secret data. These pattern filters are
fields for inclusion in the final secret data. These pattern filters are
never applied to templated fields as defined in Templates. They are always
applied last.
items:
type: string
type: array
sourceTemplates:
description: |-
SourceTemplates are never included in the rendered K8s Secret, they can be
SourceTemplates are never included in the rendered secret, they can be
used to provide common template definitions, etc.
items:
description: SourceTemplate provides source templating configuration.
Expand Down Expand Up @@ -99,7 +99,7 @@ spec:
type: object
description: |-
Templates maps a template name to its Template. Templates are always included
in the rendered K8s Secret with the specified key.
in the rendered secret with the specified key.
type: object
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
excludes:
description: |-
Excludes contains regex patterns used to filter top-level source secret data
fields for exclusion from the final K8s Secret data. These pattern filters are
fields for exclusion from the final secret data. These pattern filters are
never applied to templated fields as defined in Templates. They are always
applied before any inclusion patterns. To exclude all source secret data
fields, you can configure the single pattern ".*".
Expand All @@ -56,15 +56,15 @@ spec:
includes:
description: |-
Includes contains regex patterns used to filter top-level source secret data
fields for inclusion in the final K8s Secret data. These pattern filters are
fields for inclusion in the final secret data. These pattern filters are
never applied to templated fields as defined in Templates. They are always
applied last.
items:
type: string
type: array
sourceTemplates:
description: |-
SourceTemplates are never included in the rendered K8s Secret, they can be
SourceTemplates are never included in the rendered secret, they can be
used to provide common template definitions, etc.
items:
description: SourceTemplate provides source templating configuration.
Expand Down Expand Up @@ -99,7 +99,7 @@ spec:
type: object
description: |-
Templates maps a template name to its Template. Templates are always included
in the rendered K8s Secret with the specified key.
in the rendered secret with the specified key.
type: object
type: object
status:
Expand Down
8 changes: 4 additions & 4 deletions docs/api/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ _Appears in:_

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `templates` _object (keys:string, values:[Template](#template))_ | Templates maps a template name to its Template. Templates are always included<br />in the rendered K8s Secret with the specified key. | | |
| `sourceTemplates` _[SourceTemplate](#sourcetemplate) array_ | SourceTemplates are never included in the rendered K8s Secret, they can be<br />used to provide common template definitions, etc. | | |
| `includes` _string array_ | Includes contains regex patterns used to filter top-level source secret data<br />fields for inclusion in the final K8s Secret data. These pattern filters are<br />never applied to templated fields as defined in Templates. They are always<br />applied last. | | |
| `excludes` _string array_ | Excludes contains regex patterns used to filter top-level source secret data<br />fields for exclusion from the final K8s Secret data. These pattern filters are<br />never applied to templated fields as defined in Templates. They are always<br />applied before any inclusion patterns. To exclude all source secret data<br />fields, you can configure the single pattern ".*". | | |
| `templates` _object (keys:string, values:[Template](#template))_ | Templates maps a template name to its Template. Templates are always included<br />in the rendered secret with the specified key. | | |
| `sourceTemplates` _[SourceTemplate](#sourcetemplate) array_ | SourceTemplates are never included in the rendered secret, they can be<br />used to provide common template definitions, etc. | | |
| `includes` _string array_ | Includes contains regex patterns used to filter top-level source secret data<br />fields for inclusion in the final secret data. These pattern filters are<br />never applied to templated fields as defined in Templates. They are always<br />applied last. | | |
| `excludes` _string array_ | Excludes contains regex patterns used to filter top-level source secret data<br />fields for exclusion from the final secret data. These pattern filters are<br />never applied to templated fields as defined in Templates. They are always<br />applied before any inclusion patterns. To exclude all source secret data<br />fields, you can configure the single pattern ".*". | | |



Expand Down
Loading