Skip to content
Snippets Groups Projects
Commit 2a22ff72 authored by Yauheni  Rykhter (EPAM)'s avatar Yauheni Rykhter (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

GONRG-6557: update gc values

parent 27cb614a
No related branches found
No related tags found
1 merge request!313GONRG-6557: update gc values
......@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from bundles.providers.gcp.storage import GCPBundleStorageClient as storage_client
\ No newline at end of file
from bundles.providers.gc.storage import GCBundleStorageClient as storage_client
\ No newline at end of file
......@@ -23,7 +23,7 @@ from bundles.storage import BundleStorageClient
logger = logging.getLogger(__name__)
class GCPBundleStorageClient(BundleStorageClient):
class GCBundleStorageClient(BundleStorageClient):
def __init__(self) -> None:
self.client = get_client()
self.bucket_name = os.environ["POLICY_BUCKET"]
......
......@@ -14,7 +14,7 @@ data:
POLICY_BUCKET: "{{ .Values.data.bucketName }}"
USE_BUNDLES: "{{ .Values.data.useBundles }}"
{{- if not .Values.conf.onPremEnabled }}
CLOUD_PROVIDER: "gcp"
CLOUD_PROVIDER: "gc"
{{- else }}
CLOUD_PROVIDER: "anthos"
MINIO_ENDPOINT: "{{ .Values.data.minioHost }}"
......
......@@ -16,7 +16,7 @@ gc-test-python:
image: gcr.io/google.com/cloudsdktool/cloud-sdk:alpine
variables:
POLICY_BUCKET: $GC_POLICY_BUCKET
CLOUD_PROVIDER: gcp
CLOUD_PROVIDER: gc
OPA_URL: $GC_OPA_URL
ENTITLEMENTS_BASE_URL: $HOST
LEGAL_BASE_URL: $HOST
......@@ -26,7 +26,7 @@ gc-dev2-test-python:
image: gcr.io/google.com/cloudsdktool/cloud-sdk:alpine
variables:
POLICY_BUCKET: $GC_POLICY_BUCKET
CLOUD_PROVIDER: gcp
CLOUD_PROVIDER: gc
OPA_URL: $GC_OPA_URL
ENTITLEMENTS_BASE_URL: $HOST
LEGAL_BASE_URL: $HOST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment