Skip to content

Conversation

@SadanandGowda
Copy link

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Type of change

Please choose appropriate options.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes in the below checkboxes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Ran Test A
  • Ran Test B

Test Configuration:

  • Software versions:
  • Hardware versions:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@SadanandGowda SadanandGowda changed the base branch from release-5.1.0 to release-5.2.0 December 21, 2022 09:17
export SPARK_PUBLIC_DNS="{{ spark.public_dns }}"
export reports_storage_key={{sunbird_private_storage_account_name}}
export reports_storage_secret={{sunbird_private_storage_account_key}}
export azure_storage_key={{sunbird_private_storage_account_name}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change the internal variables

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sunbird_private_storage_account_key and sunbird_public_storage_account_name is internal variable ? is it refered to common variable or not ?

druid_postgres_user: "{{ druid_postgres_user | default('druid@' + postgres.db_url) }}"
#Druid Azure Details
druid_postgres_pass: "{{ dp_vault_druid_postgress_pass }}"
azure_account_name: "{{ sunbird_druid_storage_account_name }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sunbird_druid_storage_account_name is this an internal variable or a common variable?

"-Dfs.azure.account.key.{{ .Values.azure_storage_account }}.blob.core.windows.net: {{ .Values.azure_storage_secret }}",
{{- end }}
{{- if eq .Values.checkpoint_store_type "aws" }}
"-Ds3.access-key={{ .Values.s3_access_key }}",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s3_access_key is it refering the cloud_storage_key ?

{{- end }}
{{- if eq .Values.checkpoint_store_type "gcloud" }}
"-Dfs.gs.auth.client.id={{ .Values.gcloud_client_key }}",
"-Dfs.gs.auth.client.secret={{ .Values.gcloud_private_secret }}",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here as well. gcloud_client_key is this variable referring to cloud_storage_key

export reports_storage_secret={{sunbird_private_storage_account_key}}
export azure_storage_key={{sunbird_private_storage_account_name}}
export azure_storage_secret={{sunbird_private_storage_account_key}}
export cloud_private_storage_accountname={{sunbird_private_storage_account_name}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sunbird_private_storage_account_name do we have this variable?

export SPARK_WORKER_INSTANCES={{ spark.worker.instances }}
export SPARK_EXECUTOR_MEMORY={{ spark.executor.memory }}
export SPARK_PUBLIC_DNS="{{ spark.public_dns }}"
export reports_storage_key={{sunbird_private_storage_account_name}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sunbird_private_storage_account_name do we have this variable as well ?

sbin_path: "{{ analytics_user_home }}/sbin"
azure_container_name: "{{secor_azure_container_name}}"
azure_account_key: "{{sunbird_private_storage_account_key}}"
cloud_storage_telemetry_bucketname: "{{secor_azure_container_name}}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

secor_azure_container_name do we have this variable ?

@manjudr
Copy link
Collaborator

manjudr commented Dec 22, 2022

@SadanandGowda - Don't change the keys. Just update the values to private repository variables.

@manjudr manjudr changed the base branch from release-5.2.0 to release-5.1.0 December 26, 2022 06:59
@manjudr manjudr changed the base branch from release-5.1.0 to dp-csp-changes December 26, 2022 07:42
@manjudr manjudr merged commit 5ecb513 into Sunbird-Obsrv:dp-csp-changes Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants