Skip to content

KubeArchive: install on production #6407

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rh-hemartin
Copy link
Contributor

  • Added production clusters
  • Patches are duplicated because we need them to be this way for clusters to be independent.
  • The remote-argocd account will need permissions to create clusterkubearchive.kubearchive.org/v1
  • The kyverno user will need permissions to create kubearchiveconfigs.kubearchive.org/v1
  • Before this get merged I need someone to initialize the databases, let me know and I can help you, instructions are:
curl -L https://github.com/golang-migrate/migrate/releases/latest/download/migrate.linux-amd64.tar.gz | tar xvz migrate;
git clone https://github.com/kubearchive/kubearchive --branch=v1.0.1;
cd kubearchive;
./migrate -verbose -path integrations/database/postgresql/migrations/ -database postgresql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_URL}:${DATABASE_PORT}/${DATABASE_DB} up

@openshift-ci openshift-ci bot requested review from mafh314 and skoved May 19, 2025 06:44
@rh-hemartin
Copy link
Contributor Author

@hugares @manish-jangra do you know which is the correct path for the database secrets? I just assumed the same path as the staging secret.

@rh-hemartin
Copy link
Contributor Author

/hold

@maruiz93
Copy link
Contributor

Could you also add the configuration needed under konflux-ui component (based on this) so the kubearchive API is available for Konflux UI through its nginx proxy.

NOTE: There is no need to add the Route as the service doesn't need to be exposed for that. That is something we need to deal with when it comes to the kubearchive CLI usage, but not for the API per se.

Signed-off-by: Hector Martinez <[email protected]>
@rh-hemartin rh-hemartin force-pushed the kubearchive-production branch from 9b9fa2d to d6966f9 Compare May 19, 2025 08:10
@rh-hemartin
Copy link
Contributor Author

Could you also add the configuration needed under konflux-ui component (based on this) so the kubearchive API is available for Konflux UI through its nginx proxy.

Done!

Copy link

openshift-ci bot commented May 19, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: maruiz93, rh-hemartin
Once this PR has been reviewed and has the lgtm label, please assign scoheb for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@maruiz93
Copy link
Contributor

/lgtm

@rh-hemartin
Copy link
Contributor Author

/retest

@rh-hemartin
Copy link
Contributor Author

Ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants