Skip to content

ory/k8s

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 23, 2020 11:41
October 31, 2023 15:43
September 16, 2022 18:32
September 29, 2021 09:40
August 2, 2023 15:03
October 23, 2020 11:41
October 23, 2020 11:41

Kubernetes Helm Charts for ORY

CI

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 Kubernetes 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=<name>
$ helm install $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, do:

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

Remove all releases

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

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