Skip to content

Commit

Permalink
F OpenNebula/one-aiops#70: add new one params
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRobres committed Jul 2, 2024
1 parent b92b712 commit 7455898
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lithops/serverless/backends/one/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ def load_config(config_data):
# Ensure 'k8s' key exists and is a dictionary
if 'k8s' not in config_data or config_data['k8s'] is None:
config_data['k8s'] = {}
config_data['k8s']['docker_user'] = config_data['one']['docker_user']
config_data['k8s']['docker_password'] = config_data['one']['docker_password']

# Load k8s default config
original_load_config(config_data)
6 changes: 5 additions & 1 deletion lithops/serverless/backends/one/one_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ one:

oneke_config_path: # PATH to OneKE JSON config
timeout: # time to wait for OneKE to be ready
kubecfg_path': # PATH were kubeconfig will be stored
kubecfg_path': # PATH were kubeconfig will be stored

oneflow_url:
oneserver_url:
one_auth:

0 comments on commit 7455898

Please sign in to comment.