Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ian UID2-3703 retrieve configs from identity service #799

Merged
merged 36 commits into from
Jul 25, 2024

Conversation

Ian-Nara
Copy link
Contributor

No description provided.

Ian-Nara and others added 30 commits July 23, 2024 11:26
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
…etrieve' into ian-UID2-3703-identity-service-retrieve
# -- replace base URLs if both CORE_BASE_URL and OPTOUT_BASE_URL are provided
# -- using hardcoded domains is fine because they should not be changed frequently
if [ -n "${CORE_BASE_URL}" ] && [ -n "${OPTOUT_BASE_URL}" ] && [ "${DEPLOYMENT_ENVIRONMENT}" != "prod" ]; then
if [ -n "${CORE_BASE_URL}" ] && [ "${CORE_BASE_URL}" != "null" ] && [ -n "${OPTOUT_BASE_URL}" ] && [ "${OPTOUT_BASE_URL}" != "null" ] && [ "${DEPLOYMENT_ENVIRONMENT}" != "prod" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Intereting, why do we need to check null again? Does -n not checking null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

jq will return "null" if the key is not found

@@ -8,12 +8,12 @@ socks5h-proxy:
operator-service:
service: direct
listen: tcp://0.0.0.0:80
connect: vsock://42:8080
connect: vsock://16:8080
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we changing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

eks/pod/entrypoint.sh has
CID=16
looks that @thomasm-ttd picked this number

@Ian-Nara Ian-Nara merged commit 3978820 into main Jul 25, 2024
4 checks passed
@Ian-Nara Ian-Nara deleted the ian-UID2-3703-identity-service-retrieve branch July 25, 2024 01:49
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.

3 participants