openbao booted successfully

This commit is contained in:
Finn 2024-08-29 23:20:33 -07:00
parent ae5b2cd2f8
commit 3ef7c7edaf
5 changed files with 42 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/secrets
secrets.yaml
bao-root.json

View file

@ -10,11 +10,16 @@ helmCharts:
injector:
enabled: false
server:
image:
registry: git.janky.solutions
repository: jankysolutions/infra/openbao
tag: latest
ha:
enabled: true
repliacas: 3
raft:
enabled: true
ui:
enabled: true
releaseName: openbao
version: 0.4.0
repo: https://openbao.github.io/openbao-helm

View file

@ -4,4 +4,5 @@ resources:
- longhorn
- postgres-operator
- cert-manager
- openbao
- kube-prometheus

View file

@ -202,6 +202,28 @@ spec:
component: server
openbao-active: "false"
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: openbao
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: openbao-ui
helm.sh/chart: openbao-0.4.0
name: openbao-ui
namespace: openbao
spec:
ports:
- name: http
port: 8200
targetPort: 8200
publishNotReadyAddresses: true
selector:
app.kubernetes.io/instance: openbao
app.kubernetes.io/name: openbao
component: server
type: ClusterIP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
@ -285,7 +307,7 @@ spec:
value: https://$(HOSTNAME).openbao-internal:8201
- name: HOME
value: /home/openbao
image: quay.io/openbao/openbao:2.0.0-alpha20240329
image: git.janky.solutions/jankysolutions/infra/openbao:latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
@ -398,7 +420,7 @@ spec:
env:
- name: VAULT_ADDR
value: http://openbao.openbao.svc:8200
image: quay.io/openbao/openbao:2.0.0-alpha20240329
image: git.janky.solutions/jankysolutions/infra/openbao:latest
imagePullPolicy: IfNotPresent
name: openbao-server-test
volumeMounts: null

View file

@ -4,3 +4,13 @@ namespace: openbao
resources:
- namespace.yaml
- bundle.yaml
patches:
- target:
kind: Pod
name: openbao-server-test
patch: |
$patch: delete
apiVersion: v1
kind: Pod
metadata:
name: openbao-server-test