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

This commit is contained in:
miwr 2024-11-12 13:54:10 +01:00
parent 8720cfd633
commit 575cbbbfa8
89 changed files with 4317 additions and 5 deletions

View file

@ -0,0 +1,164 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
selector:
app: keycloak
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,165 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
type: LoadBalancer
selector:
app: keycloak
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,165 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
type: LoadBalancer
selector:
app: keycloak
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,165 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
type: LoadBalancer
selector:
app: keycloak
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,164 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
type: LoadBalancer
selector:
app: keycloak
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,164 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
selector:
app: keycloak
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,164 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak
---
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
selector:
app: keycloak
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: keycloak
name: keycloak
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
containers:
- args:
- start-dev
env:
- name: KEYCLOAK_ADMIN
value: cnoe-admin
- name: KEYCLOAK_LOGLEVEL
value: ALL
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY
value: 'true'
envFrom:
- secretRef:
name: keycloak-config
image: quay.io/keycloak/keycloak:22.0.3
name: keycloak
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /keycloak/realms/master
port: 8080
volumeMounts:
- mountPath: /opt/keycloak/conf
name: keycloak-config
readOnly: true
volumes:
- configMap:
name: keycloak-config
name: keycloak-config
---
apiVersion: v1
data:
keycloak.conf: |
# Database
# The database vendor.
db=postgres
# The username of the database user.
db-url=jdbc:postgresql://postgresql.keycloak.svc.cluster.local:5432/postgres
# The proxy address forwarding mode if the server is behind a reverse proxy.
proxy=edge
# hostname configuration
hostname=cnoe.localtest.me
hostname-port=8443
http-relative-path=keycloak
# the admin url requires its own configuration to reflect correct url
hostname-admin=cnoe.localtest.me:8443
hostname-debug=true
# this should only be allowed in development. NEVER in production.
hostname-strict=false
hostname-strict-backchannel=false
kind: ConfigMap
metadata:
name: keycloak-config
namespace: keycloak
---
apiVersion: v1
kind: Service
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
clusterIP: None
ports:
- name: postgres
port: 5432
selector:
app: postgresql
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: postgresql
name: postgresql
namespace: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: postgresql
serviceName: service-postgresql
template:
metadata:
labels:
app: postgresql
spec:
containers:
- envFrom:
- secretRef:
name: keycloak-config
image: docker.io/library/postgres:15.3-alpine3.18
name: postgres
ports:
- containerPort: 5432
name: postgresdb
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 300Mi
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "500Mi"

View file

@ -0,0 +1,30 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: keycloak-ingress-localhost
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "100"
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,30 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: keycloak-ingress-localhost
namespace: keycloak
annotations:
argocd.argoproj.io/sync-wave: "100"
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: keycloak-ingress-localhost
name: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress-localhost
name: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress-localhost
namespace: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress-localhost
namespace: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: /openbao
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress-localhost
namespace: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: cnoe://openbao/manifests
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openbao-ingress-localhost
namespace: openbao
spec:
ingressClassName: "nginx"
rules:
- host: localhost
http:
paths:
- path: cnoe://openbao/manifests
pathType: ImplementationSpecific
backend:
service:
name: openbao
port:
name: http
- host: cnoe.localtest.me
http:
paths:
- path: /keycloak
pathType: ImplementationSpecific
backend:
service:
name: keycloak
port:
name: http

View file

@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-app-ingress
namespace: default
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: my-app.local # Change this to your domain or leave it as is for local development
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: my-app-service # Name of your service
port:
number: 8200 # The port to forward to on your service

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,18 @@
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: Prefix
backend:
service:
name: my-app-service # Name of your service
port:
number: 8200 # The port to forward to on your service

View file

@ -0,0 +1,18 @@
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: my-app-service # Name of your service
port:
number: 8200 # The port to forward to on your service

View file

@ -0,0 +1,18 @@
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 # Name of your service
port:
number: 8200 # The port to forward to on your service

View file

@ -0,0 +1,18 @@
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,18 @@
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,18 @@
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,18 @@
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,18 @@
# 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,46 @@
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
- hostPort: 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

View file

@ -0,0 +1,46 @@
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
hostPort: 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

View file

@ -0,0 +1,47 @@
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
hostPort: 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

View file

@ -0,0 +1,47 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,48 @@
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
port: 8200
targetPort: 8200
type: LoadBalancer # or NodePort
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

View file

@ -0,0 +1,47 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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:
- po
- containerPort: 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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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:
- port:
- containerPort: 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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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: TCO
- containerPort: 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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

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
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
type: ClusterIP

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
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
type: ClusterIP

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
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
type: ClusterIP

View file

@ -0,0 +1,70 @@
apiVersion: v1
kind: Namespace
metadata:
name: openbao
---
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
---
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
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
type: ClusterIP

View file

@ -0,0 +1,70 @@
apiVersion: v1
kind: Namespace
metadata:
name: openbao
---
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
---
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
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
type: ClusterIP

View file

@ -0,0 +1,48 @@
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
# 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
# targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
port: 8200
# hostPort: 8200
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
port: 8200
# hostPort: 8200
containerPort:: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
port: 8200
# hostPort: 8200
containerPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
port: 8200
# hostPort: 8200
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
targetPort: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
port: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
hos: 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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
type: ClusterIP

View file

@ -0,0 +1,49 @@
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
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
no
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:
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: 8200
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: 8200
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: 8200
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: 8200
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: 8200
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: LoadBalancer

View file

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

@ -24,10 +24,14 @@ spec:
- 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"
- protocol: TCP
containerPort: 8200
# hostPort: 8200
# hostPort: 8200
# type: LoadBalancer
# env:
# - name: BAO_ADDR
# value: "http://0.0.0.0:8200"
---
apiVersion: v1
@ -42,4 +46,5 @@ spec:
- protocol: TCP
port: 8200
targetPort: 8200
type: ClusterIP
# nodePort: 30000
type: LoadBalancer