mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 13:14:32 +00:00
47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: openbao
|
|
labels:
|
|
app: openbao
|
|
spec:
|
|
serviceName: openbao
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: openbao
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: openbao
|
|
spec:
|
|
containers:
|
|
- name: openbao
|
|
image: ghcr.io/openbao/openbao:2.0.0
|
|
imagePullPolicy: IfNotPresent
|
|
args:
|
|
- server
|
|
- -dev
|
|
- -dev-listen-address=0.0.0.0:8200
|
|
- -dev-root-token-id=root
|
|
env:
|
|
- name: VAULT_DEV_ROOT_TOKEN_ID
|
|
value: root
|
|
- name: VAULT_ADDR
|
|
value: http://127.0.0.1:8200
|
|
ports:
|
|
- containerPort: 8200
|
|
name: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /v1/sys/health
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /data
|
|
volumes:
|
|
- name: data
|
|
emptyDir: {}
|