Commit 584345a3 authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM) Committed by Aliaksandr Lubouski (EPAM)
Browse files

Update/add vars for register in gke [GONRG-3495]

parent f8dcaf4a
variables:
OSDU_GCP_APPLICATION_NAME: os-register
OSDU_GCP_VENDOR: gcp
OSDU_GCP_ENVIRONMENT: dev
OSDU_GCP_SERVICE: register
OSDU_GCP_ENV_VARS: GOOGLE_CLOUD_PROJECT=${OSDU_GCP_PROJECT},ENTITLEMENTS_API=${OSDU_GCP_ENTITLEMENTS_V2_URL},PARTITION_API=${OSDU_GCP_PARTITION_API},GOOGLE_AUDIENCES=${GOOGLE_AUDIENCE},GCLOUD_REGION=${OSDU_GCP_CLOUDRUN_REGION},STORAGE_API=${OSDU_GCP_STORAGE_URL},INTEGRATION_TEST_AUDIENCES=${GOOGLE_AUDIENCE},SUBSCRIBER_SECRET=${OSDU_GCP_SUBSCRIBER_SECRET},SUBSCRIBER_PRIVATE_KEY_ID=${OSDU_GCP_SUBSCRIBER_PRIVATE_KEY_ID},ENVIRONMENT=${OSDU_GCP_ENVIRONMENT},CRON_JOB_EXPECTED_IP=${CRON_JOB_EXPECTED_IP},RECORDS_CHANGE_PUBSUB_ENDPOINT=${RECORDS_CHANGE_PUBSUB_ENDPOINT},SERVICE_IDENTITY=${SERVICE_IDENTITY}
OSDU_GCP_TEST_SUBDIR: testing/$OSDU_GCP_SERVICE-test-$OSDU_GCP_VENDOR
OSDU_GCP_LOG_LEVEL: INFO
OSDU_GCP_VENDOR: gcp
OSDU_GCP_HELM_CONFIG_SERVICE: register-config
OSDU_GCP_HELM_DEPLOYMENT_SERVICE: register-deploy
OSDU_GCP_HELM_CONFIG_SERVICE_VARS: "--set data.subscriber_private_key_id=$OSDU_GCP_SUBSCRIBER_PRIVATE_KEY_ID --set data.google_cloud_project=$OSDU_GCP_PROJECT --set data.google_audiences=$GOOGLE_AUDIENCE --set data.gcloud_region=$OSDU_GCP_REGION --set data.environment=$ENVIRONMENT --set data.records_change_pubsub_endpoint=$RECORDS_CHANGE_PUBSUB_ENDPOINT --set data.service_identity=$SERVICE_IDENTITY --set data.log_level=$OSDU_GCP_LOG_LEVEL"
OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS: "--set data.image=$CI_REGISTRY_IMAGE/osdu-gcp:$CI_COMMIT_SHORT_SHA --set data.serviceAccountName=workload-identity-register"
OSDU_GCP_HELM_PACKAGE_CHARTS: "devops/gcp/deploy devops/gcp/configmap"
OSDU_GCP_HELM_CONFIG_SERVICE_VARS: "--set data.google_cloud_project=$OSDU_GCP_PROJECT --set data.google_audiences=$GOOGLE_AUDIENCE --set data.gcloud_region=$OSDU_GCP_CLOUDRUN_REGION --set data.environment=$OSDU_GCP_ENVIRONMENT --set data.records_change_pubsub_endpoint=$RECORDS_CHANGE_PUBSUB_ENDPOINT --set data.service_identity=$SERVICE_IDENTITY"
OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS: "--set data.image=$CI_REGISTRY_IMAGE/osdu-gcp:$CI_COMMIT_SHORT_SHA --set data.serviceAccountName=workload-identity-register --set data.limits_cpu=1 --set data.limits_memory=1G"
AWS_BUILD_SUBDIR: provider/register-aws/build-aws
AWS_TEST_SUBDIR: testing/register-test-aws
......@@ -50,7 +44,7 @@ include:
file: "scanners/gitlab-ultimate.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/osdu-gcp-cloudrun.yml"
file: "cloud-providers/osdu-gcp-gke.yml"
- project: "osdu/platform/ci-cd-pipelines"
ref: master
......
This diff is collapsed.
......@@ -16,3 +16,4 @@ data:
SERVICE_IDENTITY: "{{ .Values.data.service_identity }}"
KEY_RING: "{{ .Values.data.key_ring }}"
KMS_KEY: "{{ .Values.data.kms_key }}"
SUBSCRIBER_PRIVATE_KEY_ID: "{{ .Values.data.subscriber_private_key_id }}"
# Default values for indexer-queue-configmap.
# Default values for register-configmap.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
......@@ -13,7 +13,7 @@ data:
service_identity: ""
key_ring: "csqp"
kms_key: "registerService"
subscriber_private_key_id: "testkey"
conf:
configmap: "register-config"
......
# Default values for indexer-queue-deploy.
# Default values for register-deploy.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
......
......@@ -7,6 +7,8 @@ JAVA_GC_OPTS=-XX:+UseG1GC -XX:+UseStringDeduplication -XX:InitiatingHeapOccupanc
KEY_RING=csqp
KMS_KEY=registerService
SERVICE_IDENTITY=de-notification-service
CRON_JOB_EXPECTED_IP=0:0:0:0:0:0:0:1
ACCEPT_HTTP=true
INTEGRATION_TEST_AUDIENCES=${GOOGLE_AUDIENCES}
SUBSCRIBER_SECRET=7a786376626e
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment