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 fields for kopia cache, log and config directory in repository server CR #2144

Merged
merged 72 commits into from
Aug 16, 2023

Conversation

kale-amruta
Copy link
Contributor

@kale-amruta kale-amruta commented Jun 28, 2023

Change Overview

This PR adds optional fields for kopia cache,log and config directory in the repository server CR. If these fields are not provided, default values for these fields would be used which connecting to kopia repository

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • fixes #issue-number

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@kale-amruta kale-amruta changed the base branch from master to AddUnitTests June 28, 2023 07:19
Copy link
Contributor

@ankitjain235 ankitjain235 left a comment

Choose a reason for hiding this comment

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

Should we consider adding a common object in CRD under which all these configurable values, and new ones that could come up be added?

pkg/apis/cr/v1alpha1/repositoryserver_types.go Outdated Show resolved Hide resolved
pkg/controllers/repositoryserver/repository.go Outdated Show resolved Hide resolved
pkg/controllers/repositoryserver/repository.go Outdated Show resolved Hide resolved
pkg/controllers/repositoryserver/repository.go Outdated Show resolved Hide resolved
pkg/customresource/repositoryserver.yaml Outdated Show resolved Hide resolved
@kale-amruta kale-amruta force-pushed the AddUnitTests branch 2 times, most recently from 649f29c to 172ee2c Compare July 11, 2023 11:24
Base automatically changed from AddUnitTests to master July 13, 2023 08:18
Copy link
Contributor

@ankitjain235 ankitjain235 left a comment

Choose a reason for hiding this comment

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

Added minor comments, looks good otherwise.

pkg/apis/cr/v1alpha1/repositoryserver_types.go Outdated Show resolved Hide resolved
pkg/controllers/repositoryserver/utils.go Outdated Show resolved Hide resolved
pkg/customresource/repositoryserver.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@ankitjain235 ankitjain235 left a comment

Choose a reason for hiding this comment

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

LGTM

Kanister automation moved this from In Progress to Reviewer approved Jul 31, 2023
@mergify mergify bot merged commit 7663904 into master Aug 16, 2023
14 checks passed
Kanister automation moved this from Reviewer approved to Done Aug 16, 2023
@mergify mergify bot deleted the honorMissingFields branch August 16, 2023 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants