예제 #1
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from keystoneauth1 import loading
from oslo_config import cfg

from armada.conf import utils

default_options = [
    cfg.ListOpt('armada_apply_roles',
                default=['admin'],
                help=utils.fmt('IDs of approved API access roles.')),
    cfg.StrOpt('auth_url',
               default='http://0.0.0.0/v3',
               help=utils.fmt('The default Keystone authentication url.')),
    cfg.StrOpt('certs',
               default=None,
               help=utils.fmt("""
Absolute path to the certificate file to use for chart registries
""")),
    cfg.StrOpt('kubernetes_config_path',
               default='/home/user/.kube/',
               help=utils.fmt('Path to Kubernetes configurations.')),
    cfg.BoolOpt('middleware',
                default=True,
                help=utils.fmt("""
Enables or disables Keystone authentication middleware.
예제 #2
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from keystoneauth1 import loading as ks_loading
from oslo_config import cfg

from armada.conf import utils

default_options = [
    cfg.ListOpt('armada_apply_roles',
                default=['admin'],
                help=utils.fmt('IDs of approved API access roles.')),
    cfg.StrOpt('auth_url',
               default='http://0.0.0.0/v3',
               help=utils.fmt('The default Keystone authentication url.')),
    cfg.StrOpt('certs',
               default=None,
               help=utils.fmt("""
Absolute path to the certificate file to use for chart registries
""")),
    cfg.StrOpt('kubernetes_config_path',
               default='/home/user/.kube/',
               help=utils.fmt('Path to Kubernetes configurations.')),
    cfg.BoolOpt('middleware',
                default=True,
                help=utils.fmt("""
Enables or disables Keystone authentication middleware.
예제 #3
0
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from oslo_config import cfg

from armada.conf import utils

default_options = [
    cfg.ListOpt('armada_apply_roles',
                default=['admin'],
                help=utils.fmt('IDs of approved API access roles.')),
    cfg.StrOpt('auth_url',
               default='http://0.0.0.0/v3',
               help=utils.fmt('The default Keystone authentication url.')),
    cfg.StrOpt('kubernetes_config_path',
               default='/home/user/.kube/',
               help=utils.fmt('Path to Kubernetes configurations.')),
    cfg.BoolOpt('middleware',
                default='true',
                help=utils.fmt("""
Enables or disables Keystone authentication middleware.
""")),
    cfg.StrOpt('project_domain_name',
               default='default',
               help=utils.fmt("""
The Keystone project domain name used for authentication.
예제 #4
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an 'AS IS' BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from keystoneauth1 import loading as ks_loading
from oslo_config import cfg

from armada.conf import utils

default_options = [
    cfg.ListOpt('armada_apply_roles',
                default=['admin'],
                help=utils.fmt('IDs of approved API access roles.')),
    cfg.StrOpt('auth_url',
               default='http://0.0.0.0/v3',
               help=utils.fmt('The default Keystone authentication url.')),
    cfg.StrOpt('certs',
               default=None,
               help=utils.fmt("""
Absolute path to the certificate file to use for chart registries
""")),
    cfg.StrOpt('kubernetes_config_path',
               default='/home/user/.kube/',
               help=utils.fmt('Path to Kubernetes configurations.')),
    cfg.BoolOpt('middleware',
                default=True,
                help=utils.fmt("""
Enables or disables Keystone authentication middleware.