diff --git a/charts/testkube-enterprise/Chart.lock b/charts/testkube-enterprise/Chart.lock index 73d06ab9f..9b8e80225 100644 --- a/charts/testkube-enterprise/Chart.lock +++ b/charts/testkube-enterprise/Chart.lock @@ -16,7 +16,7 @@ dependencies: version: 2.1.75 - name: dex repository: file://./charts/dex - version: 0.19.1-2 + version: 0.19.1-3 - name: mongodb repository: https://charts.bitnami.com/bitnami version: 15.6.16 @@ -26,5 +26,5 @@ dependencies: - name: minio repository: https://charts.bitnami.com/bitnami version: 14.7.0 -digest: sha256:9dc283979ffc5d685069d83f4e686e08e24d7d57be35de7bbd4e2c9e9c452f60 -generated: "2024-11-04T16:12:32.156310322Z" +digest: sha256:c36445693bd3fc5818dade35194442d5e682dd78cf8360c823e026b5fac36a42 +generated: "2024-11-05T12:18:32.940978+01:00" diff --git a/charts/testkube-enterprise/Chart.yaml b/charts/testkube-enterprise/Chart.yaml index 4b92a4aba..3ae235b6e 100644 --- a/charts/testkube-enterprise/Chart.yaml +++ b/charts/testkube-enterprise/Chart.yaml @@ -22,7 +22,7 @@ dependencies: repository: https://kubeshop.github.io/helm-charts condition: testkube-agent.enabled - name: dex - version: 0.19.1-2 + version: 0.19.1-3 repository: file://./charts/dex condition: dex.enabled - name: mongodb diff --git a/charts/testkube-enterprise/charts/dex/Chart.yaml b/charts/testkube-enterprise/charts/dex/Chart.yaml index 0ad6f9b63..f51ef1d6c 100644 --- a/charts/testkube-enterprise/charts/dex/Chart.yaml +++ b/charts/testkube-enterprise/charts/dex/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 type: application name: dex -version: 0.19.1-2 +version: 0.19.1-3 appVersion: "2.41.1" kubeVersion: ">=1.14.0-0" description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors. @@ -22,7 +22,7 @@ maintainers: annotations: artifacthub.io/changes: | - kind: fixed - description: "Fixed default image prefix" + description: "Fixed reference to global.imageRegistry" artifacthub.io/images: | - name: dex image: ghcr.io/dexidp/dex:v2.41.1 diff --git a/charts/testkube-enterprise/charts/dex/README.md b/charts/testkube-enterprise/charts/dex/README.md index e69de29bb..7d18cd76f 100644 --- a/charts/testkube-enterprise/charts/dex/README.md +++ b/charts/testkube-enterprise/charts/dex/README.md @@ -0,0 +1,191 @@ +# dex + +![version: 0.19.2](https://img.shields.io/badge/version-0.19.2-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.41.1](https://img.shields.io/badge/app%20version-2.41.1-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex) + +OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors. + +**Homepage:** + +## TL;DR; + +```bash +helm repo add dex https://charts.dexidp.io +helm install --generate-name --wait dex/dex +``` + +## Getting started + +### Minimal configuration + +Dex requires a minimal configuration in order to work. +You can pass configuration to Dex using Helm values: + +```yaml +config: + # Set it to a valid URL + issuer: http://my-issuer-url.com + + # See https://dexidp.io/docs/storage/ for more options + storage: + type: memory + + # Enable at least one connector + # See https://dexidp.io/docs/connectors/ for more options + enablePasswordDB: true +``` + +The above configuration won't make Dex automatically available on the configured URL. +One (and probably the easiest) way to achieve that is configuring ingress: + +```yaml +ingress: + enabled: true + + hosts: + - host: my-issuer-url.com + paths: + - path: / +``` + +### Minimal TLS configuration + +HTTPS is basically mandatory these days, especially for authentication and authorization services. +There are several solutions for protecting services with TlS in Kubernetes, +but by far the most popular and portable is undoubtedly [Cert Manager](https://cert-manager.io). + +Cert Manager can be [installed](https://cert-manager.io/docs/installation/kubernetes) with a few steps: + +```shell +helm repo add jetstack https://charts.jetstack.io +helm repo update +kubectl create namespace cert-manager +helm install \ + cert-manager jetstack/cert-manager \ + --namespace cert-manager \ + --set installCRDs=true +``` + +The next step is setting up an [issuer](https://cert-manager.io/docs/concepts/issuer/) (eg. [Let's Encrypt](https://letsencrypt.org/)): + +```shell +cat <