add localhost bitwarden rest api to external secrets

This commit is contained in:
James Andariese 2023-07-12 11:34:17 -05:00
parent 0ff50480a8
commit 151e770ab3

View File

@ -111,7 +111,59 @@ openebs:
ndm:
enabled: false
external-secrets: {enabled: true}
external-secrets:
enabled: true
values: |
extraContainers:
- name: bitwarden-cli
image: jamesandariese/bitwarden-docker:latest
imagePullPolicy: IfNotPresent
env:
- name: BW_HOST
valueFrom:
secretKeyRef:
name: bitwarden-user
key: BW_HOST
- name: BW_USERNAME
valueFrom:
secretKeyRef:
name: bitwarden-user
key: BW_USERNAME
- name: BW_PASSWORD
valueFrom:
secretKeyRef:
name: bitwarden-user
key: BW_PASSWORD
ports:
- name: http
containerPort: 8087
protocol: TCP
livenessProbe:
exec:
command:
- wget
- -q
- http://127.0.0.1:8087/sync
- --post-data=''
initialDelaySeconds: 20
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 120
readinessProbe:
tcpSocket:
port: 8087
initialDelaySeconds: 20
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
startupProbe:
tcpSocket:
port: 8087
initialDelaySeconds: 10
failureThreshold: 30
timeoutSeconds: 1
periodSeconds: 5
metallb: {enabled: true}
pgo: {enabled: true}
secrets: {enabled: true}