values.yaml
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run

This commit is contained in:
miwr 2024-11-13 10:33:41 +01:00
parent 111648d78a
commit 9fbea8df45
49 changed files with 2546 additions and 26 deletions

View file

@ -0,0 +1,50 @@
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: HTTO
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

View file

@ -0,0 +1,50 @@
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: HTTP
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

View file

@ -0,0 +1,50 @@
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: HTTP
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: HTTP
port: 8200
targetPort: 8200
nodePort: 30000
type: NodePort

View file

@ -0,0 +1,50 @@
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: HTTP
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

View file

@ -0,0 +1,50 @@
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

View file

@ -0,0 +1,50 @@
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

View file

@ -0,0 +1,50 @@
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: Load

View file

@ -0,0 +1,50 @@
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: Loa

View file

@ -0,0 +1,50 @@
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

View file

@ -0,0 +1,52 @@
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

View file

@ -0,0 +1,52 @@
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

View file

@ -0,0 +1,72 @@
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
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
--- number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
--- number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: ""
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: openbao.local # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: localhost/openbao
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,73 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao # References the Service defined above
port:
number: 8200 # The port exposed by the Service

View file

@ -0,0 +1,81 @@
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
---
# 4. Ingress (optional for HTTP-based access)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress
namespace: openbao
annotations:
nginx.ingress.kubernetes.io/rewrite-target: / # Ensures requests are rewritten to the root path
spec:
rules:
- host: localhost # Replace with your domain or host if you're using DNS
http:
paths:
- path: /ui
pathType: Prefix
backend:
service:
name: openbao
port:
number: 8200
# Optional: Redirect root `/` path to `/ui`
- path: /
pathType: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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: localhost # Or replace with your custom hostname if using /etc/hosts
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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: localhost # Or replace with your custom hostname if using /etc/hosts
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao
port:
number: 30000

View file

@ -0,0 +1,72 @@
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: localhost # Or replace with your custom hostname if using /etc/hosts
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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: localhost
http:
paths:
- path: /openbao
pathType: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,72 @@
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

View file

@ -0,0 +1,72 @@
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,66 @@
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
---
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,67 @@
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
---
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,67 @@
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
ports:
- protocol: TCP
containerPort: 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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,67 @@
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
ports:
- protocol: TCP
containerPort: 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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1,65 @@
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
ports:
- protocol: TCP
containerPort: 8200
---
apiVersion: v1
kind: Service
metadata:
name: openbao
namespace: openbao
spec:
selector:
app: openbao
ports:
- protocol: TCP
port: 8200
targetPort: 8200
---
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: Prefix
backend:
service:
name: openbao
port:
number: 8200

View file

@ -0,0 +1 @@
test

View file

@ -0,0 +1 @@
test:123

View file

@ -0,0 +1 @@
test: 123

View file

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
labels:
env: dev
spec:
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
name: in-cluster
namespace: argocd
sources:
- repoURL: https://github.com/argoproj/argo-helm
path: charts/argo-cd
targetRevision: HEAD
helm:
valueFiles:
- $values/stacks/core/argocd/values.yaml
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder-shoot
targetRevision: HEAD
ref: values

View file

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
labels:
env: dev
spec:
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
name: in-cluster
namespace: argocd
sources:
- repoURL: https://github.com/openbao/openbao-helm.git
path: charts/argo-cd
targetRevision: HEAD
helm:
valueFiles:
- $values/stacks/core/argocd/values.yaml
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder-shoot
targetRevision: HEAD
ref: values

View file

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
labels:
env: dev
spec:
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
name: in-cluster
namespace: argocd
sources:
- repoURL: https://github.com/openbao/openbao-helm.git
path: charts/openbao
targetRevision: HEAD
helm:
valueFiles:
- $values/stacks/core/argocd/values.yaml
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder-shoot
targetRevision: HEAD
ref: values

View file

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
labels:
env: dev
spec:
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
name: in-cluster
namespace: argocd
sources:
- repoURL: https://github.com/openbao/openbao-helm.git
path: charts/openbao
targetRevision: HEAD
helm:
valueFiles:
- $values/stacks/core/openbao/values.yaml
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder-shoot
targetRevision: HEAD
ref: values

View file

@ -1,19 +1,27 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: openbao name: argocd
namespace: argocd namespace: argocd
labels:
env: dev
spec: spec:
destination:
namespace: openbao
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://openbao/manifests
targetRevision: HEAD
path: "."
project: default project: default
syncPolicy: syncPolicy:
automated: automated:
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
destination:
name: in-cluster
namespace: argocd
sources:
- repoURL: https://github.com/openbao/openbao-helm.git
path: charts/openbao
targetRevision: HEAD
helm:
valueFiles:
- $values/stacks/core/openbao/values.yaml
- repoURL: https://gitea.cnoe.localtest.me/giteaAdmin/edfbuilder-shoot
targetRevision: HEAD
ref: values

View file

@ -1,18 +0,0 @@
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# name: openbao-ingress-localhost
# namespace: openbao
# spec:
# rules:
# - host: localhost # Change this to your domain or leave it as is for local development
# http:
# paths:
# - path: ""
# pathType: Exact
# backend:
# service:
# name: openbao
# port:
# number: 8200 # The port to forward to on your service

View file

@ -0,0 +1 @@
test: 123