Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ory/k8s

Kubernetes Helm Charts for the ORY ecosystem.
https://github.com/ory/k8s

charts cloud helm helm-chart helm-charts k8s kubernetes ory ory-hive ory-hydra ory-keto ory-oathkeeper

Last synced: 4 days ago
JSON representation

Kubernetes Helm Charts for the ORY ecosystem.

Awesome Lists containing this project

README

        

# Kubernetes Helm Charts for ORY

![CI](https://github.com/ory/k8s/actions/workflows/ci.yaml/badge.svg)

This repository contains helm charts for Kubernetes. All charts are in
incubation phase and use is at your own risk.

Please go to [k8s.ory.sh/helm](https://k8s.ory.sh/helm/) for a list of helm
charts and their configuration options.

**NOTE**

> All charts present in this repository require Kubernetes 1.18+. Please refer
> to releases [0.18.0](https://github.com/ory/k8s/releases/tag/v0.18.0) and
> older for versions supporting older releases of Kubernetes.

## Development

You can test and develop charts locally using
[Minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/).

To test a chart locally without applying it to kubernetes, do:

```sh
$ helm install --debug --dry-run .
```

```sh
$ name=
$ helm install $name .
$ helm upgrade $name .
```

### Ingress

If you wish to test ingress, run:

```bash
$ minikube addons enable ingress
```

Next you need to set up `/etc/hosts` to route traffic from domains - in this
example for ORY Oathkeeper:

- `api.oathkeeper.localhost`
- `proxy.oathkeeper.localhost`

to the ingress IP. You can find the ingress IP using:

```bash
$ kubectl get ingress
NAME HOSTS ADDRESS PORTS AGE
kilted-ibex-oathkeeper-api api.oathkeeper.localhost 192.168.64.3 80 1d
kilted-ibex-oathkeeper-proxy proxy.oathkeeper.localhost 192.168.64.3 80 1d
```

Then, append the following entries to your host file (`/etc/hosts`):

```bash
192.168.64.3 api.oathkeeper.localhost
192.168.64.3 proxy.oathkeeper.localhost
```

### Testing

To run helm test, do:

```sh
$ helm lint .
$ helm install .
$ helm test
```

### Remove all releases

To remove **all releases (only in test environments)**, do:

```sh
$ helm del $(helm ls --all --short) --purge
```