Files
kuryr-kubernetes/kuryr_kubernetes/platform/constants.py
Luis Tomas Bolivar 91a6221f0d Move route URL to apis/route.openshift.io
oapi was deprecated in 3.10 and it will be removed on 4.X.
This patch changes it by the new supported API that are grouped
as *.openshift.io underneath /apis

Change-Id: I0bb711063ff0922d741b69162258f6656a5d5c4a
2019-05-30 11:39:46 +02:00

18 lines
701 B
Python

# Copyright (c) 2018 RedHat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# 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.
OCP_API_BASE = '/apis/route.openshift.io/v1'
OCP_OBJ_ROUTE = 'Route'