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

add $ENVIRONMENT to PCG_REDIS_NAME in secret repository #40

Open
jinhan opened this issue Jun 14, 2023 · 0 comments
Open

add $ENVIRONMENT to PCG_REDIS_NAME in secret repository #40

jinhan opened this issue Jun 14, 2023 · 0 comments

Comments

@jinhan
Copy link

jinhan commented Jun 14, 2023

This issue is about your secret repository's local sh file.

When the major bump of local cluster, there is a discrepancy between Redis instance's authorized network name and current network name. Subsequently, the pcg cache is not working.

It's because PCG_REDIS_NAME already exists when creating Redis instance while launching a new cluster, so the authorized network name is not updated and remains the previous one.

To prevent this, I think we need to add $ENVIRONMENT to PCG_REDIS_NAME, which allows to create a new Redis instance with a new authorized network name.

export PCG_REDIS_NAME=pcg-cache-$ENVIRONMENT

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

No branches or pull requests

1 participant