-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update secrets.hashicorp.com CRDs to v0.5.2 (#297)
- Loading branch information
1 parent
247b4e0
commit c238c9d
Showing
6 changed files
with
545 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"description": "SecretTransformation is the Schema for the secrettransformations API", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", | ||
"type": "string" | ||
}, | ||
"kind": { | ||
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "SecretTransformationSpec defines the desired state of SecretTransformation", | ||
"properties": { | ||
"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 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 \".*\".", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"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 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 used to provide common template definitions, etc.", | ||
"items": { | ||
"description": "SourceTemplate provides source templating configuration.", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"text": { | ||
"description": "Text contains the Go text template format. The template references attributes from the data structure of the source secret. Refer to https://pkg.go.dev/text/template for more information.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"text" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"templates": { | ||
"additionalProperties": { | ||
"description": "Template provides templating configuration.", | ||
"properties": { | ||
"name": { | ||
"description": "Name of the Template", | ||
"type": "string" | ||
}, | ||
"text": { | ||
"description": "Text contains the Go text template format. The template references attributes from the data structure of the source secret. Refer to https://pkg.go.dev/text/template for more information.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"text" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"description": "Templates maps a template name to its Template. Templates are always included in the rendered K8s Secret with the specified key.", | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"status": { | ||
"description": "SecretTransformationStatus defines the observed state of SecretTransformation", | ||
"properties": { | ||
"error": { | ||
"type": "string" | ||
}, | ||
"valid": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"error", | ||
"valid" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.