Skip to content

Commit 8f21ecd

Browse files
authored
Use more generic language for Transformation destination (#1101)
Make the destination more general, to account for transformations from CSI driver
1 parent f797604 commit 8f21ecd

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

api/v1beta1/secrettransformation_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ type SecretTransformation struct {
2828
// SecretTransformationSpec defines the desired state of SecretTransformation
2929
type SecretTransformationSpec struct {
3030
// Templates maps a template name to its Template. Templates are always included
31-
// in the rendered K8s Secret with the specified key.
31+
// in the rendered secret with the specified key.
3232
Templates map[string]Template `json:"templates,omitempty"`
33-
// SourceTemplates are never included in the rendered K8s Secret, they can be
33+
// SourceTemplates are never included in the rendered secret, they can be
3434
// used to provide common template definitions, etc.
3535
SourceTemplates []SourceTemplate `json:"sourceTemplates,omitempty"`
3636
// Includes contains regex patterns used to filter top-level source secret data
37-
// fields for inclusion in the final K8s Secret data. These pattern filters are
37+
// fields for inclusion in the final secret data. These pattern filters are
3838
// never applied to templated fields as defined in Templates. They are always
3939
// applied last.
4040
Includes []string `json:"includes,omitempty"`
4141
// Excludes contains regex patterns used to filter top-level source secret data
42-
// fields for exclusion from the final K8s Secret data. These pattern filters are
42+
// fields for exclusion from the final secret data. These pattern filters are
4343
// never applied to templated fields as defined in Templates. They are always
4444
// applied before any inclusion patterns. To exclude all source secret data
4545
// fields, you can configure the single pattern ".*".

chart/crds/secrets.hashicorp.com_secrettransformations.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
excludes:
4747
description: |-
4848
Excludes contains regex patterns used to filter top-level source secret data
49-
fields for exclusion from the final K8s Secret data. These pattern filters are
49+
fields for exclusion from the final secret data. These pattern filters are
5050
never applied to templated fields as defined in Templates. They are always
5151
applied before any inclusion patterns. To exclude all source secret data
5252
fields, you can configure the single pattern ".*".
@@ -56,15 +56,15 @@ spec:
5656
includes:
5757
description: |-
5858
Includes contains regex patterns used to filter top-level source secret data
59-
fields for inclusion in the final K8s Secret data. These pattern filters are
59+
fields for inclusion in the final secret data. These pattern filters are
6060
never applied to templated fields as defined in Templates. They are always
6161
applied last.
6262
items:
6363
type: string
6464
type: array
6565
sourceTemplates:
6666
description: |-
67-
SourceTemplates are never included in the rendered K8s Secret, they can be
67+
SourceTemplates are never included in the rendered secret, they can be
6868
used to provide common template definitions, etc.
6969
items:
7070
description: SourceTemplate provides source templating configuration.
@@ -99,7 +99,7 @@ spec:
9999
type: object
100100
description: |-
101101
Templates maps a template name to its Template. Templates are always included
102-
in the rendered K8s Secret with the specified key.
102+
in the rendered secret with the specified key.
103103
type: object
104104
type: object
105105
status:

config/crd/bases/secrets.hashicorp.com_secrettransformations.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
excludes:
4747
description: |-
4848
Excludes contains regex patterns used to filter top-level source secret data
49-
fields for exclusion from the final K8s Secret data. These pattern filters are
49+
fields for exclusion from the final secret data. These pattern filters are
5050
never applied to templated fields as defined in Templates. They are always
5151
applied before any inclusion patterns. To exclude all source secret data
5252
fields, you can configure the single pattern ".*".
@@ -56,15 +56,15 @@ spec:
5656
includes:
5757
description: |-
5858
Includes contains regex patterns used to filter top-level source secret data
59-
fields for inclusion in the final K8s Secret data. These pattern filters are
59+
fields for inclusion in the final secret data. These pattern filters are
6060
never applied to templated fields as defined in Templates. They are always
6161
applied last.
6262
items:
6363
type: string
6464
type: array
6565
sourceTemplates:
6666
description: |-
67-
SourceTemplates are never included in the rendered K8s Secret, they can be
67+
SourceTemplates are never included in the rendered secret, they can be
6868
used to provide common template definitions, etc.
6969
items:
7070
description: SourceTemplate provides source templating configuration.
@@ -99,7 +99,7 @@ spec:
9999
type: object
100100
description: |-
101101
Templates maps a template name to its Template. Templates are always included
102-
in the rendered K8s Secret with the specified key.
102+
in the rendered secret with the specified key.
103103
type: object
104104
type: object
105105
status:

docs/api/api-reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,10 +476,10 @@ _Appears in:_
476476

477477
| Field | Description | Default | Validation |
478478
| --- | --- | --- | --- |
479-
| `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. | | |
480-
| `sourceTemplates` _[SourceTemplate](#sourcetemplate) array_ | SourceTemplates are never included in the rendered K8s Secret, they can be<br />used to provide common template definitions, etc. | | |
481-
| `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. | | |
482-
| `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 ".*". | | |
479+
| `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. | | |
480+
| `sourceTemplates` _[SourceTemplate](#sourcetemplate) array_ | SourceTemplates are never included in the rendered secret, they can be<br />used to provide common template definitions, etc. | | |
481+
| `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. | | |
482+
| `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 ".*". | | |
483483

484484

485485

0 commit comments

Comments
 (0)