add namespaces

This commit is contained in:
Cedric Verstraeten
2024-12-01 20:50:31 +01:00
parent 1b878e33c4
commit 136f4e049f
9 changed files with 30 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
namespace: kerberos-factory
metadata:
name: pods-list
rules:

View File

@@ -1,5 +1,6 @@
apiVersion: apps/v1
kind: Deployment
namespace: kerberos-factory
metadata:
name: factory
spec:

View File

@@ -2,6 +2,7 @@
# If so uncomment the LoadBalancer service below and comment the NodePort service.
apiVersion: v1
kind: Service
namespace: kerberos-factory
metadata:
name: factory-nodeport
labels:

View File

@@ -1,5 +1,6 @@
apiVersion: batch/v1
kind: Job
namespace: kerberos-hub
metadata:
name: hub-import-database-job
spec:

View File

@@ -1,6 +1,7 @@
---
apiVersion: v1
kind: Service
namespace: kerberos-hub
metadata:
name: hub-frontend--nodeport
labels:

View File

@@ -1,5 +1,27 @@
---
apiVersion: v1
kind: ConfigMap
namespace: kerberos-factory
metadata:
name: mongodb
data:
# This is the mongodb database where data will be stored, you might use a different name if you want.
MONGODB_DATABASE_STORAGE: "KerberosStorage"
MONGODB_DATABASE_FACTORY: "KerberosFactory"
MONGODB_DATABASE_HUB: "Kerberos"
# MongoDB URI (for example for a SaaS service like MongoDB Atlas)
# If uri is set, the below properties are not used (host, adminDatabase, username, password)
#MONGODB_URI: "mongodb+srv://xx:xx@kerberos-hub.xxx.mongodb.net/?retryWrites=true&w=majority&appName=xxx"
# If you do not wish to use the URI, you can specify the individual values.
MONGODB_HOST: "mongodb.mongodb"
MONGODB_DATABASE_CREDENTIALS: "admin"
MONGODB_USERNAME: "root"
MONGODB_PASSWORD: "yourpassword"
---
apiVersion: v1
kind: ConfigMap
namespace: kerberos-vault
metadata:
name: mongodb
data:

View File

@@ -1,5 +1,6 @@
apiVersion: apps/v1
kind: Deployment
namespace: kerberos-vault
metadata:
name: data-filtering
labels:

View File

@@ -1,5 +1,6 @@
apiVersion: apps/v1
kind: Deployment
namespace: kerberos-vault
metadata:
name: vault
spec:

View File

@@ -2,6 +2,7 @@
# If so uncomment the LoadBalancer service below and comment the NodePort service.
apiVersion: v1
kind: Service
namespace: kerberos-vault
metadata:
name: vault-nodeport
labels: