Update kerberos-vault-deployment.yaml

This commit is contained in:
Cedric Verstraeten
2024-10-10 10:15:51 +02:00
parent dd62a1b534
commit 7670ab5f27

View File

@@ -21,7 +21,6 @@ spec:
containers:
- name: vault
image: uugai/vault:v1.0.4
#imagePullPolicy: Always
resources:
limits:
memory: 512Mi
@@ -31,11 +30,6 @@ spec:
envFrom:
- configMapRef:
name: mongodb
# Injecting the ca-certificates inside the container.
#volumeMounts:
#- name: rootcerts
# mountPath: /etc/ssl/certs/ca-certificates.crt
# subPath: ca-certificates.crt
env:
- name: GIN_MODE
value: release
@@ -43,27 +37,8 @@ spec:
value: "root"
- name: KERBEROS_LOGIN_PASSWORD
value: "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.
#- name: MONGODB_HOST
# value: "mongodb.mongodb"
#- name: MONGODB_DATABASE_CREDENTIALS
# value: "admin"
#- name: MONGODB_USERNAME
# value: "root"
#- name: MONGODB_PASSWORD
# value: "yourmongodbpassword"
# MQTT broker to be used for on-demand forwarding.
- name: MQTTURI
# Mongodb configuration (if you are not using the configmap)
# This is the mongodb database where data will be stored, you might use a different name if you want.
#- name: MONGODB_DATABASE_STORAGE
# value : "KerberosStorage"
value: "tcp://mqtt.kerberos.io:1883"
- name: MQTT_USERNAME
value: ""
@@ -72,7 +47,20 @@ spec:
# If you have a chained vault setup, enable this.
- name: CONTINUOUS_FORWARDING
value: "false"
#volumes:
#- name: rootcerts
# configMap:
# name: rootcerts
# 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"
# Mongodb configuration (if you are not using the configmap)
# This is the mongodb database where data will be stored, you might use a different name if you want.
#- name: MONGODB_DATABASE_STORAGE
# value : "KerberosStorage"
# If you do not wish to use the URI, you can specify the individual values.
#- name: MONGODB_HOST
# value: "mongodb.mongodb"
#- name: MONGODB_DATABASE_CREDENTIALS
# value: "admin"
#- name: MONGODB_USERNAME
# value: "root"
#- name: MONGODB_PASSWORD
# value: "yourmongodbpassword"