-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add authorization overlays (#5695)
* feat: Add authorization overlays * Update kustomize/auth/patches.yaml --------- Co-authored-by: Mikyo King <mikyo@arize.com>
- Loading branch information
1 parent
8711b21
commit 5bc6a5e
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bases: | ||
- ../../base | ||
|
||
patchesStrategicMerge: | ||
- patches.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: phoenix | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: phoenix | ||
env: | ||
- name: PHOENIX_ENABLE_AUTH | ||
value: "true" | ||
# When enabling Auth, you must provide a secret | ||
# For example, set a Kubernetes Secret with: | ||
# kubectl create secret generic phoenix-secret --from-literal=secret-key='[YOUR-SECRET]' | ||
# then use | ||
# valueFrom: | ||
# secretKeyRef: | ||
# name: phoenix-secret | ||
# key: secret-key | ||
- name: PHOENIX_SECRET | ||
value: "3413f9a7735bb780c6b8e4db7d946a492b64d26112a955cdea6a797f4c833593" |