Skip to content

Commit

Permalink
feat: auth sb
Browse files Browse the repository at this point in the history
  • Loading branch information
cterence committed Aug 27, 2024
1 parent 9477885 commit ac0d41a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions k8s-apps/silverbullet/templates/es.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: user-password
spec:
secretStoreRef:
kind: ClusterSecretStore
name: gitlab-secret-store
target:
name: user-password
creationPolicy: Owner
data:
- secretKey: SB_USER
remoteRef:
key: silverbullet_user_password
6 changes: 6 additions & 0 deletions k8s-apps/silverbullet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ app-template:
image:
repository: zefhemel/silverbullet
tag: 0.9.2
env:
SB_USER:
valueFrom:
secretKeyRef:
name: user-password
key: SB_USER
ports:
- name: http
containerPort: 3000
Expand Down

0 comments on commit ac0d41a

Please sign in to comment.