Skip to content

Commit 8d61ed6

Browse files
authored
Merge pull request #14 from j-fuentes/add-badges
Add badges
2 parents 49adbe4 + 359ad95 commit 8d61ed6

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<p align="center">
2+
<a href="https://prow.build-infra.jetstack.net/?job=post-preflight-release-canary">
3+
<!-- prow build badge, godoc, and go report card-->
4+
<img alt="Build Status" src="https://prow.build-infra.jetstack.net/badge.svg?jobs=post-preflight-release-canary">
5+
</a>
6+
<a href="https://godoc.org/github.com/jetstack/preflight"><img src="https://godoc.org/github.com/jetstack/preflight?status.svg"></a>
7+
<a href="https://goreportcard.com/report/github.com/jetstack/preflight"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/jetstack/preflight" /></a>
8+
</p>
9+
110
# Jetstack Preflight
211

312
Preflight is a tool to automatically perform Kubernetes cluster configuration checks using [Open Policy Agent (OPA)](https://www.openpolicyagent.org/).
@@ -10,7 +19,7 @@ Preflight is a tool to automatically perform Kubernetes cluster configuration ch
1019
- [Preflight Packages](#preflight-packages)
1120
- [Install Preflight](#install-preflight)
1221
- [Use Preflight locally](#use-preflight-locally)
13-
- [Get periodic reports by running Preflight as a CronJob](#get-periodic-reports-by-running-preflight-as-a-cronjob)
22+
- [Preflight In-Cluster with periodic checks](#preflight-in-cluster-with-periodic-checks)
1423

1524
<!-- markdown-toc end -->
1625

@@ -77,6 +86,6 @@ If you want to visualice the report in your browser, you can access [preflight.j
7786

7887
You can give it a try without even running the tool, since we provide some report examples ([gke.json](./examples/reports/gke.json), [pods.json](./examples/reports/pods.json)) ready to be loaded in [preflight.jetstack.io](https://preflight.jetstack.io/).
7988

80-
### Get periodic reports by running Preflight as a CronJob
89+
### Preflight In-Cluster with periodic checks
8190

8291
See [Installation Manual: Preflight In-Cluster](./docs/installation_manual_in_cluster.md).

api/common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package api provides types for Preflight reports and some common helpers.
12
package api
23

34
import (

pkg/datagatherer/datagatherer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package datagatherer provides the DataGatherer interface.
12
package datagatherer
23

34
// DataGatherer is the interface for Data Gatherers. Data Gatherers are in charge of fetching data from a certain cloud provider API or Kubernetes component.

pkg/datagatherer/eks/eks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package eks provides a datagatherer for EKS.
12
package eks
23

34
import (

pkg/datagatherer/gke/gke.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package gke provides a datagatherer for GKE.
12
package gke
23

34
import (

pkg/datagatherer/k8s/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package k8s provides datagatherers for different parts of the Kubernetes API.
12
package k8s
23

34
import (

0 commit comments

Comments
 (0)