fuel-ccp/fuel_ccp/config/kubernetes.py

26 lines
745 B
Python

DEFAULTS = {
'kubernetes': {
'server': 'http://localhost:8080',
'namespace': 'ccp',
'ca_cert': None,
'key_file': None,
'cert_file': None,
'insecure': None,
},
}
SCHEMA = {
'kubernetes': {
'type': 'object',
'additionalProperties': False,
'properties': {
'server': {'type': 'string'},
'namespace': {'type': 'string'},
'ca_cert': {'anyOf': [{'type': 'string'}, {'type': 'null'}]},
'key_file': {'anyOf': [{'type': 'string'}, {'type': 'null'}]},
'cert_file': {'anyOf': [{'type': 'string'}, {'type': 'null'}]},
'insecure': {'anyOf': [{'type': 'string'}, {'type': 'null'}]},
},
},
}