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

[TASK] Prepare for deployment in OpenShift #88

Open
4 tasks
akshadpai opened this issue Jul 6, 2023 · 0 comments · May be fixed by #89
Open
4 tasks

[TASK] Prepare for deployment in OpenShift #88

akshadpai opened this issue Jul 6, 2023 · 0 comments · May be fixed by #89
Assignees

Comments

@akshadpai
Copy link

akshadpai commented Jul 6, 2023

Description

We are migrating the back-end infrastructure into our new OpenShift cluster. We will need to make some changes for the deployment to succeed.

Acceptance Criteria

  • Add app-env.json: We need to explicitly define all environment variables that we use in a file called app-env.json for the infrastructure to provide them to our containers. This file should be in the following format:
{
    "app_secret": {
        "<SECRET_ENVIRONMENT_VARIABLE>": "<DO NOT PUT ACTUAL SECRET VALUES HERE. Provide a hint or leave empty if the environment variable is optional>",
        ...
    },
    "app_config":{
        "<NON_SECRET_ENVIRONMENT_VARIABLE>": "<Default value or hint. Leave empty if none apply or the environment variable is optional>",
        ...
    }
}
  • Create port environment variable if none exists. Do not specify port in Dockerfile.
  • Ensure that https://github.com/rokwire/logging-library-go is updated to latest version. Apply the following logger options to suppress health checks from OpenShift.
loggerOpts := logs.LoggerOpts{SuppressRequests: logs.NewStandardHealthCheckHTTPRequestProperties(serviceID + "/version")}
@akshadpai akshadpai self-assigned this Jul 6, 2023
@akshadpai akshadpai changed the title [TASK] [TASK] Prepare for development in OpenShift Jul 6, 2023
@akshadpai akshadpai linked a pull request Jul 6, 2023 that will close this issue
18 tasks
@akshadpai akshadpai linked a pull request Jul 6, 2023 that will close this issue
18 tasks
@shurwit shurwit changed the title [TASK] Prepare for development in OpenShift [TASK] Prepare for deploymentin OpenShift Jul 12, 2023
@shurwit shurwit changed the title [TASK] Prepare for deploymentin OpenShift [TASK] Prepare for deployment in OpenShift Jul 12, 2023
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 a pull request may close this issue.

1 participant