allineamento
This commit is contained in:
@@ -3,6 +3,20 @@ kind: Namespace
|
||||
metadata:
|
||||
name: dbgate
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: dbgate-data
|
||||
namespace: dbgate
|
||||
data:
|
||||
# Aggiungere qui i file di configurazione iniziali di dbgate (es. connections.yaml)
|
||||
# I file verranno montati in /root/.dbgate nel container.
|
||||
# Esempio:
|
||||
# connections.yaml: |
|
||||
# - id: con1
|
||||
# engine: mysql@dbgate-plugin-mysql
|
||||
# ...
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -33,6 +47,10 @@ spec:
|
||||
- name: CONNECTIONS
|
||||
value: ""
|
||||
|
||||
volumeMounts:
|
||||
- name: dbgate-data
|
||||
mountPath: /root/.dbgate
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
@@ -40,7 +58,12 @@ spec:
|
||||
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
memory: "512Mi"
|
||||
|
||||
volumes:
|
||||
- name: dbgate-data
|
||||
configMap:
|
||||
name: dbgate-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user