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

Improve automatic API keys naming in kernelci-core templates #2642

Open
nuclearcat opened this issue Aug 21, 2024 · 0 comments
Open

Improve automatic API keys naming in kernelci-core templates #2642

nuclearcat opened this issue Aug 21, 2024 · 0 comments
Labels

Comments

@nuclearcat
Copy link
Member

#2634 introduces hack to allow defining keys over ENV variable.
This can be made better.

        instance = os.getenv('KCI_INSTANCE', 'prod')
        if instance == 'prod':
            params['k8s_api_key'] = 'kci-api-jwt-early-access'
        else:
            params['k8s_api_key'] = 'kci-api-jwt-staging'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant