-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz
cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/README.md cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/main.yaml cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/values.schema.json
- Loading branch information
1 parent
3187a01
commit efcf749
Showing
5 changed files
with
288 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
53 changes: 53 additions & 0 deletions
53
cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/README.md
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,53 @@ | ||
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/giantswarm/cert-exporter/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/giantswarm/cert-exporter/tree/master) | ||
|
||
# cert-exporter | ||
|
||
Exposes three metrics to Prometheus regarding certificates/tokens: | ||
|
||
## `cert_exporter_not_after` | ||
|
||
Timestamp after which the cert is invalid (for certificate files mounted from the host filesystem). | ||
|
||
## `cert_exporter_secret_not_after` | ||
|
||
Timestamp after which the cert is invalid (for certificates stored in Kubernetes secrets). | ||
|
||
## `cert_exporter_token_not_after` | ||
|
||
Timestamp after which the Vault token is expired. | ||
|
||
## Deployment | ||
|
||
* Managed by [app-operator]. | ||
* Production releases are stored in the [default-catalog]. | ||
* WIP releases are stored in the [default-test-catalog]. | ||
|
||
## Installing the Chart | ||
|
||
To install the chart locally: | ||
|
||
```bash | ||
$ git clone https://github.com/giantswarm/cert-exporter.git | ||
$ cd cert-exporter | ||
$ helm install helm/cert-exporter | ||
``` | ||
|
||
Provide a custom `values.yaml`: | ||
|
||
```bash | ||
$ helm install cert-exporter -f values.yaml | ||
``` | ||
|
||
## Release Process | ||
|
||
* Ensure CHANGELOG.md is up to date. | ||
* Create a new GitHub release with the version e.g. `v0.1.0` and link the | ||
changelog entry. | ||
* This will push a new git tag and trigger a new tarball to be pushed to the | ||
[default-catalog]. | ||
* Update [cluster-operator] with the new version. | ||
|
||
[app-operator]: https://github.com/giantswarm/app-operator | ||
[cluster-operator]: https://github.com/giantswarm/cluster-operator | ||
[default-catalog]: https://github.com/giantswarm/default-catalog | ||
[default-test-catalog]: https://github.com/giantswarm/default-test-catalog |
12 changes: 12 additions & 0 deletions
12
cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/main.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,12 @@ | ||
annotations: | ||
application.giantswarm.io/metadata: https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/main.yaml | ||
application.giantswarm.io/readme: https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/README.md | ||
application.giantswarm.io/team: turtles | ||
application.giantswarm.io/values-schema: https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/values.schema.json | ||
config.giantswarm.io/version: 1.x.x | ||
chartApiVersion: v1 | ||
chartFile: cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz | ||
dateCreated: '2024-11-05T21:02:27.382926Z' | ||
digest: 35f612b4673781805d0c31374a20560227f2391f8069d7042bf5286b863130f0 | ||
home: https://github.com/giantswarm/cert-exporter | ||
icon: https://s.giantswarm.io/app-icons/prometheus/1/light.svg |
204 changes: 204 additions & 0 deletions
204
cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz-meta/values.schema.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,204 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"ciliumNetworkPolicy": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"config": { | ||
"type": "object", | ||
"properties": { | ||
"daemonset": { | ||
"type": "object", | ||
"properties": { | ||
"monitorCertificates": { | ||
"type": "boolean" | ||
}, | ||
"monitorFiles": { | ||
"type": "boolean" | ||
}, | ||
"monitorSecrets": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"deployment": { | ||
"type": "object", | ||
"properties": { | ||
"monitorCertificates": { | ||
"type": "boolean" | ||
}, | ||
"monitorFiles": { | ||
"type": "boolean" | ||
}, | ||
"monitorSecrets": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"daemonset": { | ||
"type": "object", | ||
"properties": { | ||
"resources": { | ||
"type": "object", | ||
"properties": { | ||
"limits": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "string" | ||
}, | ||
"memory": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"requests": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "string" | ||
}, | ||
"memory": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"deployment": { | ||
"type": "object", | ||
"properties": { | ||
"autoscaling": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"minAllowed": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "string" | ||
}, | ||
"memory": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"resources": { | ||
"type": "object", | ||
"properties": { | ||
"limits": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "string" | ||
}, | ||
"memory": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"requests": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "string" | ||
}, | ||
"memory": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"exporter": { | ||
"type": "object", | ||
"properties": { | ||
"capiCertPath": { | ||
"type": "string" | ||
}, | ||
"certPath": { | ||
"type": "string" | ||
}, | ||
"tokenPath": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"global": { | ||
"type": "object", | ||
"properties": { | ||
"podSecurityStandards": { | ||
"type": "object", | ||
"properties": { | ||
"enforced": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"image": { | ||
"type": "object", | ||
"properties": { | ||
"repository": { | ||
"type": "string" | ||
}, | ||
"tag": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"kyvernoPolicyExceptions": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"namespace": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"registry": { | ||
"type": "object", | ||
"properties": { | ||
"domain": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"serviceMonitor": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"interval": { | ||
"type": "string" | ||
}, | ||
"scrapeTimeout": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"vaultAddress": { | ||
"type": "string" | ||
} | ||
} | ||
} |
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