Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

gpu-ninja/dex-operator

Repository files navigation

dex-operator

A Kubernetes operator for deploying and managing Dex IdP.

Supported Features

Currently, the following features are supported. There's a long tail of different connectors and storage backends supported by Dex, so if you need something that's not listed here, please open an issue or submit a PR!

Storage

  • SQLite3
  • PostgreSQL

Connectors

Getting Started

Prerequisites

Installing

Dependencies

Third Party
PROMETHEUS_VERSION="v0.68.0"
CERT_MANAGER_VERSION="v1.12.0"

kapp deploy -y -a prometheus-crds -f "https://github.com/prometheus-operator/prometheus-operator/releases/download/${PROMETHEUS_VERSION}/stripped-down-crds.yaml"
kapp deploy -y -a cert-manager -f "https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION}/cert-manager.yaml"
GPU Ninja
REPLIKATOR_VERSION="v0.4.3"

kapp deploy -y -a replikator -f "https://github.com/gpu-ninja/replikator/releases/download/${REPLIKATOR_VERSION}/replikator.yaml"

Operator

kapp deploy -y -a dex-operator -f https://github.com/gpu-ninja/dex-operator/releases/latest/download/dex-operator.yaml

Custom Resources

Start an Identity Provider

kubectl apply --recursive -f examples -l app.kubernetes.io/component=provider

Create a User

kubectl apply -f examples/dexuser-demo.yaml

Create an OAuth2 Client

kubectl apply -f examples/dexoauth2client-demo.yaml