Skip to content

Commit

Permalink
add cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz
Browse files Browse the repository at this point in the history
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
catalogbot committed Nov 5, 2024
1 parent 3187a01 commit efcf749
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 1 deletion.
Binary file not shown.
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
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
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"
}
}
}
20 changes: 19 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8945,6 +8945,24 @@ entries:
urls:
- https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3eff58a4e62d18ba6315937848d12c45c27e4c57.tgz
version: 2.9.2-3eff58a4e62d18ba6315937848d12c45c27e4c57
- 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
apiVersion: v1
appVersion: 2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150
created: "2024-11-05T21:02:34.021197023Z"
description: The cert-exporter walks a directory path it has gotten as input and
emits all NotAfter timestamps as metrics.
digest: 35f612b4673781805d0c31374a20560227f2391f8069d7042bf5286b863130f0
home: https://github.com/giantswarm/cert-exporter
icon: https://s.giantswarm.io/app-icons/prometheus/1/light.svg
name: cert-exporter
urls:
- https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150.tgz
version: 2.9.2-3c87916f03a94aeff9d3026b720d8fcefcd46150
- annotations:
application.giantswarm.io/metadata: https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3838e2456736b68e27831867f3de14dd7e214086.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/control-plane-test-catalog/cert-exporter-2.9.2-3838e2456736b68e27831867f3de14dd7e214086.tgz-meta/README.md
Expand Down Expand Up @@ -54978,4 +54996,4 @@ entries:
urls:
- https://giantswarm.github.io/control-plane-test-catalog/vertical-pod-autoscaler-crd-0.0.0-9925886a8b029918200779e160c758cfb3c660dc.tgz
version: 0.0.0-9925886a8b029918200779e160c758cfb3c660dc
generated: "2024-11-05T20:42:33.618109205Z"
generated: "2024-11-05T21:02:34.020413055Z"

0 comments on commit efcf749

Please sign in to comment.