Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zufardhiyaulhaq/ngrok-operator

Expose your service in Kubernetes to the Internet with Ngrok easily! Automatically reload ngrok sessions after expired!
https://github.com/zufardhiyaulhaq/ngrok-operator

k8s kubernetes kubernetes-operator kubernetes-tunnel ngrok ngrok-alternative ngrok-operator ngrok-tunnel operator private-kubernetes proxy tunnel

Last synced: about 2 months ago
JSON representation

Expose your service in Kubernetes to the Internet with Ngrok easily! Automatically reload ngrok sessions after expired!

Awesome Lists containing this project

README

        

# ngrok-operator

Ngrok operator provide developer easy access to private Kubernetes cluster for testing purpose via ngrok. Automate the creation of ngrok tunnel via CRD and automatically reload ngrok session when expired!

![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square) [![made with Go](https://img.shields.io/badge/made%20with-Go-brightgreen)](http://golang.org) [![Github master branch build](https://img.shields.io/github/workflow/status/zufardhiyaulhaq/ngrok-operator/Master)](https://github.com/zufardhiyaulhaq/ngrok-operator/actions/workflows/master.yml) [![GitHub issues](https://img.shields.io/github/issues/zufardhiyaulhaq/ngrok-operator)](https://github.com/zufardhiyaulhaq/ngrok-operator/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/zufardhiyaulhaq/ngrok-operator)](https://github.com/zufardhiyaulhaq/ngrok-operator/pulls)[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/ngrok-operator)](https://artifacthub.io/packages/search?repo=ngrok-operator)

## Installing

To install the chart with the release name `my-ngrok-operator`:

```console
helm repo add ngrok-operator https://zufardhiyaulhaq.com/ngrok-operator/charts/releases/
helm install my-ngrok-operator ngrok-operator/ngrok-operator --values values.yaml
```

## Usage
1. Apply some example
```console
kubectl apply -f examples/deployment/
kubectl apply -f examples/http/simple/
kubectl apply -f examples/http/full-configuration/
```
2. Check ngrok object
```console
kubectl get ngrok --all-namespaces
NAMESPACE NAME STATUS URL
default http-simple created https://9496e56ed0bc.ngrok.io
default http-full-configuration created https://ngrok.zufardhiyaulhaq.com
```

3. access the URL
```console
https://d5150f7c3588.ngrok.io
https://ngrok.zufardhiyaulhaq.com
```

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| operator.image | string | `"zufardhiyaulhaq/ngrok-operator"` | |
| operator.replica | int | `1` | |
| operator.tag | string | `"v1.3.0"` | |
| resources.limits.cpu | string | `"200m"` | |
| resources.limits.memory | string | `"100Mi"` | |
| resources.requests.cpu | string | `"100m"` | |
| resources.requests.memory | string | `"20Mi"` | |

see example files [here](https://github.com/zufardhiyaulhaq/ngrok-operator/blob/master/charts/ngrok-operator/values.yaml)

```yaml
operator:
# image of ngrok-operator
image: "zufardhiyaulhaq/ngrok-operator"
# tag of ngrok-operator image
tag: "v1.3.0"
# number of replica for deployment
replica: 1

resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 100m
memory: 20Mi
```