-
Notifications
You must be signed in to change notification settings - Fork 34
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
1 parent
a568df6
commit a0d0237
Showing
11 changed files
with
969 additions
and
35 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
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
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
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,11 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/chart.json | ||
|
||
apiVersion: v2 | ||
name: webhook-tester | ||
description: Powerful tool for testing WebHooks and more | ||
|
||
type: application | ||
version: 0.1.0 | ||
appVersion: 2.0.1 | ||
icon: https://github.com/user-attachments/assets/e2e659dc-7fb1-4ac2-ad3c-883899f5fc38 | ||
sources: [https://github.com/tarampampam/webhook-tester] |
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,28 @@ | ||
# WebHook Tester | ||
|
||
## Usage | ||
|
||
```shell | ||
helm repo add tarampampam https://tarampampam.github.io/webhook-tester/helm-charts | ||
helm repo update | ||
|
||
helm install webhook-tester tarampampam/webhook-tester | ||
``` | ||
|
||
Alternatively, add the following lines to your `Chart.yaml`: | ||
|
||
```yaml | ||
dependencies: | ||
- name: webhook-tester | ||
version: <version> | ||
repository: https://tarampampam.github.io/webhook-tester/helm-charts | ||
``` | ||
And override the default values in your `values.yaml`: | ||
|
||
```yaml | ||
webhook-tester: | ||
# ... | ||
service: {port: 8800} | ||
# ... | ||
``` |
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,52 @@ | ||
{{/* Define namespace of chart, useful for multi-namespace deployments */}} | ||
{{- define "webhook-tester.namespace" -}} | ||
{{- if .Values.namespaceOverride }} | ||
{{- .Values.namespaceOverride }} | ||
{{- else }} | ||
{{- .Release.Namespace }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* Expand the name of the chart */}} | ||
{{- define "webhook-tester.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "webhook-tester.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* Create chart name and version as used by the chart label */}} | ||
{{- define "webhook-tester.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* Common labels */}} | ||
{{- define "webhook-tester.commonLabels" -}} | ||
helm.sh/chart: {{ include "webhook-tester.chart" . }} | ||
{{ include "webhook-tester.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* Selector labels */}} | ||
{{- define "webhook-tester.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "webhook-tester.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} |
Oops, something went wrong.