Skip to content

Virtual Garden Provider implementation#71

Merged
dimityrmirchev merged 6 commits intogardener:mainfrom
dimityrmirchev:virtual-garden-prov
Nov 29, 2023
Merged

Virtual Garden Provider implementation#71
dimityrmirchev merged 6 commits intogardener:mainfrom
dimityrmirchev:virtual-garden-prov

Conversation

@dimityrmirchev
Copy link
Copy Markdown
Member

@dimityrmirchev dimityrmirchev commented Nov 29, 2023

What this PR does / why we need it:
This PR implements the basics of a virtual garden provider. It also shares the 242376 rule logic between providers. Par of #68

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
We should also extend the new version script https://github.com/gardener/diki/blob/main/hack/gen-new-disak8sstig-version.sh but that can be done in another PR.

Release note:

Diki now has a basic implementation of a virtual garden provider.

@dimityrmirchev dimityrmirchev requested a review from a team as a code owner November 29, 2023 10:42
@gardener-robot gardener-robot added needs/review size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 29, 2023
Copy link
Copy Markdown
Member

@AleksandarSavchev AleksandarSavchev left a comment

Choose a reason for hiding this comment

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

I think we should move the shared dir into pkg/provider/shared. WDYT?

Comment thread pkg/provider/builder/virtualgarden.go
Comment thread pkg/shared/disak8sstig/v1r11/ids.go
Comment thread pkg/provider/virtualgarden/provider.go
Comment thread example/config/virtualgarden.yaml Outdated
@dimityrmirchev
Copy link
Copy Markdown
Member Author

I think we should move the shared dir into pkg/provider/shared. WDYT?

I addd a ruleset folder in between. I think that should be fine for now

Copy link
Copy Markdown
Member

@AleksandarSavchev AleksandarSavchev left a comment

Choose a reason for hiding this comment

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

/lgtm

@dimityrmirchev dimityrmirchev merged commit 3a5fd5f into gardener:main Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants