Compare commits

...
Sign in to create a new pull request.

20 commits

Author SHA1 Message Date
d8104418cf ref-implementation/openbao.yaml aktualisiert
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled
2024-11-13 09:58:36 +00:00
71223f2f67 global:
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
domain: cnoe.localtest.me
2024-11-13 10:51:48 +01:00
384dff1c3e test
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-13 10:45:28 +01:00
9fbea8df45 values.yaml
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-13 10:33:41 +01:00
111648d78a node port
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-12 13:58:55 +01:00
575cbbbfa8 loadBalancer
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-12 13:54:10 +01:00
8720cfd633 let's go
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-12 11:53:48 +01:00
67a67174a5 hopefully it will work now
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-12 11:15:26 +01:00
2a6b10f007 let's go
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-12 10:40:11 +01:00
2d083b9f40 template
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-11 14:55:28 +01:00
6157854f50 test
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-11 14:54:14 +01:00
2608dde2a6 openbao
Some checks are pending
Codespell / Check for spelling errors (push) Waiting to run
2024-11-11 14:39:55 +01:00
Greg Haynes
80d62e30a4
Add vcluster-multi-env stack (#44)
Signed-off-by: Greg Haynes <greg.haynes@autodesk.com>
2024-11-01 12:16:55 -07:00
Manabu McCloskey
2ed8e1d37f
add guest user (#42)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2024-10-10 12:47:26 -07:00
Boris 'B' Kurktchiev
2b12c4d710
Stack: Kyverno (#38)
Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
2024-10-02 09:40:04 -04:00
Manabu McCloskey
148f518526
add techdocs (#36)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2024-09-19 17:02:47 -07:00
Greg Haynes
ec7a5f6dc3
Remove coredns config from ref-implementation (#37)
Signed-off-by: Greg Haynes <greg.haynes@autodesk.com>
2024-09-19 17:02:01 -07:00
Manabu McCloskey
54500c9c8a
add back crossplane compositions (#33)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2024-09-11 10:00:19 -07:00
omrishiv
8a38e3c94b
Jupyterhub stack (#21)
Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>
2024-08-26 10:18:51 -07:00
Nima Kaviani
7e0474b3bb
update package-dir -> package (#29)
Signed-off-by: Nima Kaviani <nkaviani@amazon.com>
2024-08-15 16:46:47 -07:00
242 changed files with 9768 additions and 88 deletions

View file

@ -0,0 +1,19 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,20 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,19 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,21 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,21 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./basic/template2.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,20 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./basic/template2.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,19 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-example-templates
description: A collection of example templates
spec:
targets:
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

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,35 @@
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: 8080
---
apiVersion: v1
kind: Service
metadata:
name: openbao
namespace: openbao
spec:
selector:
app: openbao
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP

View file

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: keycloak
namespace: argocd
labels:
example: ref-implementation
spec:
destination:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-bao
namespace: argocd
labels:
example: ref-implementation
spec:
destination:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-bao
namespace: argocd
labels:
env: dev
example: ref-implementation
spec:
destination:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-bao
namespace: argocd
labels:
env: dev
example: ref-implementation
spec:
destination:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -1,21 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: coredns
name: open-bao
namespace: argocd
labels:
env: dev
spec:
project: default
destination:
namespace: keycloak
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://coredns/manifests
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
destination:
server: "https://kubernetes.default.svc"
namespace: kube-system
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-bao
namespace: argocd
labels:
env: dev
spec:
destination:
namespace: open-bao
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://keycloak/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-bao
namespace: argocd
labels:
env: dev
spec:
destination:
namespace: open-bao
server: "https://kubernetes.default.svc"
source:
repoURL: cnoe://openbao/manifests
targetRevision: HEAD
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true

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,35 @@
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: 8080
---
apiVersion: v1
kind: Service
metadata:
name: openbao
namespace: openbao
spec:
selector:
app: openbao
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP

View file

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

View file

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

View file

@ -0,0 +1,41 @@
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: spec:
selector:
app: openbao
ports:
- protocol: TCP
port: 80
targetPort: 8200
targetPort: 8200
type: ClusterIP

View file

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

View file

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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

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

Some files were not shown because too many files have changed in this diff Show more