stacks/.history/ref-implementation/openbao/manifests/manifest_20241113100725.yml
miwr 9fbea8df45
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
values.yaml
2024-11-13 10:33:41 +01:00

72 lines
No EOL
1.3 KiB
YAML

apiVersion: v1
kind: Namespace
metadata:
name: openbao
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: openbao
namespace: openbao
spec:
replicas: 1
selector:
matchLabels:
app: openbao
template:
metadata:
labels:
app: openbao
spec:
containers:
- name: openbao
image: openbao/openbao:latest # Replace with the actual image
ports:
- protocol: TCP
containerPort: 8200
# hostPort: 8200
# hostPort: 8200
# type: LoadBalancer
# env:
# - name: BAO_ADDR
# value: "http://0.0.0.0:8200"
---
apiVersion: v1
kind: Service
metadata:
name: openbao
namespace: openbao
spec:
selector:
app: openbao
ports:
- protocol: TCP
port: 8200
targetPort: 8200
nodePort: 30000
type: NodePort
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
# annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /ui
spec:
rules:
- host: cnoe.localtest.me
http:
paths:
- path: /openbao
pathType: ImplementationSpecific
backend:
service:
name: openbao
port:
number: 8200