-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
47,995 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
config/* | ||
values.schema.full.json | ||
values.example.yaml |
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,6 @@ | ||
apiVersion: v2 | ||
name: meta-external-secrets | ||
description: Metachart born Helm Chart for external-secrets resources | ||
type: application | ||
version: "0.6.1" | ||
appVersion: none |
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,47 @@ | ||
# meta-external-secrets | ||
|
||
`meta-external-secrets` is a [metachart](https://github.com/iponweb/metachart) | ||
born [Helm](https://helm.sh/) Chart for | ||
[external-secrets](https://github.com/external-secrets/external-secrets) | ||
operator custom resources | ||
|
||
## Quickstart | ||
|
||
Add the [Helm](https://helm.sh/) repository: | ||
|
||
```shell | ||
helm repo add iponweb https://iponweb.github.io/charts | ||
``` | ||
|
||
Add the [values.schema.json](values.schema.json) file to your favourite IDE | ||
to enable values file autocompletion and validation. | ||
Examples: | ||
- [IntelliJ IDEA](https://www.jetbrains.com/help/idea/json.html#ws_json_schema_add_custom) | ||
- [Visual Studio Code](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings) | ||
- [Sublime Text](https://github.com/sublimelsp/LSP-json) | ||
|
||
Define `values.yaml` with required resources and install the release: | ||
|
||
```shell | ||
helm install release-name -f values.yaml iponweb/meta-external-secrets | ||
``` | ||
|
||
See also [values.example.yaml](values.example.yaml) | ||
|
||
## Documentation | ||
|
||
For complete resources list support see [resources](docs/resources.md). | ||
|
||
See the `metachart` [Documentation](https://github.com/iponweb/metachart/docs) | ||
for more details. | ||
|
||
## Requirements | ||
|
||
Minimal supported [Helm](https://helm.sh/) version is `v3.2.0`. | ||
|
||
## Versioning | ||
|
||
Chart major and minor version parts follow | ||
[external-secrets](https://github.com/external-secrets/external-secrets) | ||
versions which has been used for the chart generation. Patch component is used | ||
for charts own changes/fixes. |
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,20 @@ | ||
resources: | ||
externalsecrets: | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
jsonSchemaRef: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ExternalSecret | ||
|
||
clusterexternalsecrets: | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
jsonSchemaRef: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ClusterExternalSecret | ||
|
||
secretstores: | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
jsonSchemaRef: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.SecretStore | ||
|
||
clustersecretstores: | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
jsonSchemaRef: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ClusterSecretStore |
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,42 @@ | ||
.defaults: | ||
disallowed: &defaultDisallowed | ||
- status | ||
- kind | ||
- apiVersion | ||
properties: &defaultProperties | ||
enabled: metachart.interface.boolean | ||
metadata: metachart.api.meta.v1.ObjectMeta | ||
rootKey: &defaultRootKey | ||
disallowed: *defaultDisallowed | ||
properties: *defaultProperties | ||
|
||
definitions: | ||
- https://raw.githubusercontent.com/iponweb/schemas/main/json-schemas/kubernetes/v1.25.2-strict/_definitions.json | ||
- https://raw.githubusercontent.com/iponweb/schemas/main/json-schemas/external-secrets/v0.6.1-strict/_definitions.json | ||
|
||
rules: | ||
#: Common | ||
#: | ||
#: meta.v1.ObjectMeta | ||
- target: metachart.api.meta.v1.ObjectMeta | ||
source: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta | ||
allowed: | ||
- annotations | ||
- labels | ||
- finalizers | ||
- namespace | ||
- name | ||
|
||
#: external-secrets.io/v1beta1 | ||
- target: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ExternalSecret | ||
source: io.external-secrets.apis.externalsecrets.v1beta1.ExternalSecret | ||
<<: *defaultRootKey | ||
- target: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ClusterExternalSecret | ||
source: io.external-secrets.apis.externalsecrets.v1beta1.ClusterExternalSecret | ||
<<: *defaultRootKey | ||
- target: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.SecretStore | ||
source: io.external-secrets.apis.externalsecrets.v1beta1.SecretStore | ||
<<: *defaultRootKey | ||
- target: metachart.api.io.external-secrets.apis.externalsecrets.v1beta1.ClusterSecretStore | ||
source: io.external-secrets.apis.externalsecrets.v1beta1.ClusterSecretStore | ||
<<: *defaultRootKey |
39 changes: 39 additions & 0 deletions
39
charts/meta-external-secrets/config/values.schema.custom.json
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,39 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"definitions": { | ||
"metachart.api.core.v1.ContainerList": { | ||
"type": "object", | ||
"patternProperties": { | ||
"^[a-z][0-9a-z]*(-[0-9a-z]+)*$": { | ||
"$ref": "#/definitions/metachart.api.core.v1.Container" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"metachart.api.internal.Image": { | ||
"type": "object", | ||
"properties": { | ||
"repository": { | ||
"type": "string" | ||
}, | ||
"tag": { | ||
"type": "string" | ||
}, | ||
"pullPolicy": { | ||
"type": "string", | ||
"enum": [ | ||
"Always", | ||
"IfNotPresent" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"repository", | ||
"tag", | ||
"pullPolicy" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
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,12 @@ | ||
# Resources | ||
|
||
A set of resources supported by the chart | ||
|
||
## external-secrets.io/v1beta1 | ||
|
||
| Values file key | Kind | Preprocessor | | ||
| --------------- | ---- | ------------ | | ||
| clusterexternalsecrets | ExternalSecret | - | | ||
| clustersecretstores | ExternalSecret | - | | ||
| externalsecrets | ExternalSecret | - | | ||
| secretstores | ExternalSecret | - | |
Empty file.
Oops, something went wrong.