This commit is contained in:
parent
111648d78a
commit
9fbea8df45
49 changed files with 2546 additions and 26 deletions
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
test
|
|
@ -0,0 +1 @@
|
|||
test:123
|
|
@ -0,0 +1 @@
|
|||
test: 123
|
27
.history/ref-implementation/openbao_20241113102912.yaml
Normal file
27
.history/ref-implementation/openbao_20241113102912.yaml
Normal 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
|
27
.history/ref-implementation/openbao_20241113103006.yaml
Normal file
27
.history/ref-implementation/openbao_20241113103006.yaml
Normal 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
|
27
.history/ref-implementation/openbao_20241113103024.yaml
Normal file
27
.history/ref-implementation/openbao_20241113103024.yaml
Normal 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
|
27
.history/ref-implementation/openbao_20241113103029.yaml
Normal file
27
.history/ref-implementation/openbao_20241113103029.yaml
Normal 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
|
|
@ -1,19 +1,27 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: openbao
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
labels:
|
||||
env: dev
|
||||
spec:
|
||||
destination:
|
||||
namespace: openbao
|
||||
server: "https://kubernetes.default.svc"
|
||||
source:
|
||||
repoURL: cnoe://openbao/manifests
|
||||
targetRevision: HEAD
|
||||
path: "."
|
||||
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
|
||||
|
|
|
@ -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
|
1
ref-implementation/openbao/values.yaml
Normal file
1
ref-implementation/openbao/values.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
test: 123
|
Loading…
Reference in a new issue