Skip to content

feat: Change additionalExtensions field type to struct#92

Open
onasser1 wants to merge 1 commit into
kyverno:mainfrom
onasser1:change-ivpol-keyless
Open

feat: Change additionalExtensions field type to struct#92
onasser1 wants to merge 1 commit into
kyverno:mainfrom
onasser1:change-ivpol-keyless

Conversation

@onasser1
Copy link
Copy Markdown
Contributor

Explanation

A better structure for this field should be struct instead of map. for better restriction and clarification that Kyverno only supports these five fields only.

Related issue

Needed for / part of: kyverno/kyverno#16008

Proposed Changes

Change additionaExtensions from a map to a Struct that contains five supported cert extensions

Checklist

  • I have read the contributing guidelines.
  • I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

Signed-off-by: Omar Nasser <omarnasserjr@gmail.com>
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 this pull request may close these issues.

1 participant