k8s
k8s copied to clipboard
Kubernetes Helm Charts for the ORY ecosystem.
Kubernetes Helm Charts for ORY
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.
NOTE
All charts present in this repository require Kuberentes 1.18+. Please refer to releases 0.18.0 and older for versions supporting older releases of Kubernetes.
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