Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Trendyol/kubectl-view-webhook
:eyes: :bangbang: This projects aims to visualize critical parts of the admission webhook configuration resource
https://github.com/Trendyol/kubectl-view-webhook
admission-webhook go golang krew kubectl kubectl-plugin kubernetes
Last synced: 7 days ago
JSON representation
:eyes: :bangbang: This projects aims to visualize critical parts of the admission webhook configuration resource
- Host: GitHub
- URL: https://github.com/Trendyol/kubectl-view-webhook
- Owner: Trendyol
- License: apache-2.0
- Archived: true
- Created: 2020-11-11T11:51:03.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T19:37:35.000Z (over 1 year ago)
- Last Synced: 2024-08-02T06:14:29.888Z (3 months ago)
- Topics: admission-webhook, go, golang, krew, kubectl, kubectl-plugin, kubernetes
- Language: Go
- Homepage:
- Size: 885 KB
- Stars: 108
- Watchers: 9
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-view-webhook
- awesome-starred - Trendyol/kubectl-view-webhook - :eyes: :bangbang: This projects aims to visualize critical parts of the admission webhook configuration resource (kubernetes)
README
# kubectl-view-webhook
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/Trendyol/kubectl-view-webhook)
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/Trendyol/kubectl-view-webhook)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Trendyol/kubectl-view-webhook/goreleaser)
![goreleaser](https://github.com/Trendyol/kubectl-view-webhook/workflows/goreleaser/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/Trendyol/kubectl-view-webhook)](https://goreportcard.com/report/github.com/Trendyol/kubectl-view-webhook)
![GitHub](https://img.shields.io/github/license/Trendyol/kubectl-view-webhook)Visualize your webhook configurations in Kubernetes.
[![asciicast](https://asciinema.org/a/373223.svg)](https://asciinema.org/a/373223)
Table of Contents
=================* [kubectl\-view\-webhook](#kubectl-view-webhook)
* [Installation](#installation)
* [Via Go](#via-go)
* [Via source code](#via-source-code)
* [Via krew](#via-krew)
* [Usage](#usage)
* [Table details](#table-details)
* [License](#license)## Installation
> Go binaries are automatically built with each release by GoReleaser. These can be accessed on the GitHub [releases page](https://github.com/Trendyol/kubectl-view-webhook/releases) for this project.There are several ways to install view-webhook. The recommended installation method is via krew.
### Via Go
```bash
$ go get https://github.com/Trendyol/kubectl-view-webhook
```### Via source code
Option 1 (if you have a Go compiler and want to tweak the code):
```bash
$ git clone https://github.com/Trendyol/kubectl-view-webhook
$ cd kubectl-view-webhook
$ go build .
```### Via krew
Krew is a kubectl plugin manager. If you have not yet installed krew, get it at [kubernetes-sigs/krew](https://github.com/kubernetes-sigs/krew). Then installation is as simple as :```bash
$ kubectl krew install view-webhook
$ kubectl view-webhook --help
```## Usage
By default, view-webhook will display all the Validating&Mutating Admission webhooks that available on your cluster.Also, you can get the detail of each one of them by giving its name.```bash
$ kubectl view-webhook [flags]
$ kubectl view-webhook NAME [flags]
```### Table details
```bash
| Kind | Name | Webhook | Service | Resources | Operations | Remaing Day | Active Namespaces |
|-------------------------------------------|----------------------------|---------------------|----------------------------|----------------------------------------------|---------------------------------------------|--------------------|----------------------|
| Type of the webhook (Mutating/Validating) | Name of the webhook config | Name of the webhook | service details of webhook | Kubernetes Resources which webhook interests | Kubernetes Operations(CREATE/UPDATE/DELETE) | Cert Remaining Day | Activated namespaces |
```## License
This repository is available under the [Apache License 2.0](https://github.com/Trendyol/kubectl-view-webhook/blob/master/LICENSE).