Skip to content

Commit

Permalink
feat: Add authorization overlays (#5695)
Browse files Browse the repository at this point in the history
* feat: Add authorization overlays

* Update kustomize/auth/patches.yaml

---------

Co-authored-by: Mikyo King <mikyo@arize.com>
  • Loading branch information
anticorrelator and mikeldking authored Jan 10, 2025
1 parent 8711b21 commit 5bc6a5e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kustomize/auth/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bases:
- ../../base

patchesStrategicMerge:
- patches.yaml
22 changes: 22 additions & 0 deletions kustomize/auth/patches.yaml
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"

0 comments on commit 5bc6a5e

Please sign in to comment.