-
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
14 changed files
with
5,132 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: metachart | ||
description: Metachart born Helm Chart for cert-manager resources | ||
type: application | ||
version: "1.14.5" | ||
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-cert-manager | ||
|
||
`meta-cert-manager` is a [metachart](https://github.com/iponweb/metachart) | ||
born [Helm](https://helm.sh/) Chart for | ||
[cert-manager](https://github.com/cert-manager/cert-manager) | ||
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-cert-manager | ||
``` | ||
|
||
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 | ||
[cert-manager](https://github.com/cert-manager/cert-manager) | ||
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,26 @@ | ||
resources: | ||
challenges: | ||
apiVersion: acme.cert-manager.io/v1 | ||
kind: Challenge | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge | ||
orders: | ||
apiVersion: acme.cert-manager.io/v1 | ||
kind: Order | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.acme.v1.Order | ||
|
||
certificaterequests: | ||
apiVersion: cert-manager.io/v1 | ||
kind: CertificateRequest | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest | ||
certificates: | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate | ||
clusterissuers: | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer | ||
issuers: | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
jsonSchemaRef: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer |
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,56 @@ | ||
.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.29.3-strict/_definitions.json | ||
- https://raw.githubusercontent.com/iponweb/schemas/main/json-schemas/cert-manager/v1.14.5-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 | ||
properties: | ||
checksums: metachart.interface.checksums | ||
|
||
#: acme.cert-manager.io/v1 | ||
- target: metachart.api.io.cert-manager.pkg.apis.acme.v1.Challenge | ||
source: io.cert-manager.pkg.apis.acme.v1.Challenge | ||
<<: *defaultRootKey | ||
|
||
- target: metachart.api.io.cert-manager.pkg.apis.acme.v1.Order | ||
source: io.cert-manager.pkg.apis.acme.v1.Order | ||
<<: *defaultRootKey | ||
|
||
#: cert-manager.io/v1 | ||
- target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest | ||
source: io.cert-manager.pkg.apis.certmanager.v1.CertificateRequest | ||
<<: *defaultRootKey | ||
|
||
- target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Certificate | ||
source: io.cert-manager.pkg.apis.certmanager.v1.Certificate | ||
<<: *defaultRootKey | ||
|
||
- target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer | ||
source: io.cert-manager.pkg.apis.certmanager.v1.ClusterIssuer | ||
<<: *defaultRootKey | ||
|
||
- target: metachart.api.io.cert-manager.pkg.apis.certmanager.v1.Issuer | ||
source: io.cert-manager.pkg.apis.certmanager.v1.Issuer | ||
<<: *defaultRootKey |
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,5 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"definitions": {} | ||
} |
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 | ||
|
||
A set of resources supported by the chart | ||
|
||
## acme.cert-manager.io/v1 | ||
|
||
| Values file key | Kind | Preprocessor | | ||
| --------------- | ---- | ------------ | | ||
| challenges | Challenge | - | | ||
| orders | Order | - | | ||
|
||
|
||
## cert-manager.io/v1 | ||
|
||
| Values file key | Kind | Preprocessor | | ||
| --------------- | ---- | ------------ | | ||
| certificaterequests | CertificateRequest | - | | ||
| certificates | Certificate | - | | ||
| clusterissuers | ClusterIssuer | - | | ||
| issuers | Issuer | - | |
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 @@ | ||
{{/* Place user-provided templates there */}} |
Oops, something went wrong.