Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.68 KB

README.md

File metadata and controls

70 lines (47 loc) · 1.68 KB

Kubernetes Helm Charts for ORY

CircleCI

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 for a list of helm charts and their configuration options.

Development

You can test and develop charts locally using Minikube.

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

$ helm install --debug --dry-run .
$ name=<name>
$ helm install --name $name .
$ helm upgrade $name .

Ingress

If you wish to test ingress, run:

$ 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:

$ 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):

192.168.64.3    api.oathkeeper.localhost
192.168.64.3    proxy.oathkeeper.localhost

Testing

To run helm test, to:

$ helm lint .
$ helm install .
$ helm test --cleanup <name>

Remove all releases

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

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