Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hhk7734 committed Jan 18, 2025
1 parent 963a892 commit 1304693
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/mlops/mlops/auth/authn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ kubectl apply -f <user>-csr.yaml
kubectl certificate approve <user>
```

:::warning

`approve`하면 `deny`할 수 없습니다.

:::

```shell
kubectl get csr <user> -o jsonpath='{.status.certificate}' \
| base64 -d > <clientCertPath>
Expand Down
68 changes: 68 additions & 0 deletions docs/mlops/mlops/auth/dex/dex.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
id: dex
title: Dex
sidebar_label: Dex
description: Dex
keywords:
- dex
- oidc
---

## 설치

```shell
helm repo add dex https://charts.dexidp.io
```

```shell
helm repo update dex \
&& helm search repo dex/dex -l | head -n 10
```

```shell
helm pull dex/dex --version 0.19.1
```

```shell
helm show values dex/dex --version 0.19.1 > dex-0.19.1.yaml
```

```yaml title="dex-values.yaml"
config:
issuer: <uri>

storage:
type: <type>
config:
<key>: <value>

connectors:
- type: <type>
id: <id>
name: <name>
config:
<key>: <value>

staticClients:
- name: <name>
id: <id>
secret: <secret>
redirectURIs:
- <uri>
```
```shell
helm template dex dex/dex \
--version 0.19.1 \
-n dex \
-f dex-values.yaml \
> dex.yaml
```

```shell
helm upgrade dex dex-0.19.1.tgz \
--install \
--history-max 5 \
-n dex \
-f dex-values.yaml
```
4 changes: 2 additions & 2 deletions docs/mlops/storage/csi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ keywords:
- csi
---

## CSI
## Node Plugin

- https://github.com/container-storage-interface/spec/blob/master/spec.md
## Controller Plugin
7 changes: 7 additions & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,13 @@ const sidebars: SidebarsConfig = {
label: "Casdoor",
items: ["mlops/mlops/auth/casdoor/casdoor"],
},
{
type: "category",
label: "Dex",
items: [
"mlops/mlops/auth/dex/dex"
],
},
"mlops/mlops/auth/oauth2-proxy",
],
},
Expand Down

0 comments on commit 1304693

Please sign in to comment.