This commit is contained in:
parent
67a67174a5
commit
8720cfd633
5 changed files with 183 additions and 0 deletions
|
|
@ -0,0 +1,42 @@
|
|||
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:
|
||||
- containerPort: 8200
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: openbao
|
||||
namespace: openbao
|
||||
spec:
|
||||
selector:
|
||||
app: openbao
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8200
|
||||
targetPort: 8200
|
||||
type: ClusterIP
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
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:
|
||||
- containerPort: 8200
|
||||
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: openbao
|
||||
namespace: openbao
|
||||
spec:
|
||||
selector:
|
||||
app: openbao
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8200
|
||||
targetPort: 8200
|
||||
type: ClusterIP
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
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:
|
||||
- containerPort: 8200
|
||||
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: openbao
|
||||
namespace: openbao
|
||||
spec:
|
||||
selector:
|
||||
app: openbao
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8200
|
||||
targetPort: 8200
|
||||
type: ClusterIP
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
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:
|
||||
- containerPort: 8200
|
||||
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
|
||||
type: ClusterIP
|
||||
|
|
@ -1,3 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openbao
|
||||
|
||||
---
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
@ -18,6 +25,9 @@ spec:
|
|||
image: openbao/openbao:latest # Replace with the actual image
|
||||
ports:
|
||||
- containerPort: 8200
|
||||
env:
|
||||
- name: BAO_ADDR
|
||||
value: "http://0.0.0.0:8200"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue