-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: conversion of raw extension fields
Fix back and forth conversion of [`runtime.RawExtension`)(https://pkg.go.dev/k8s.io/[email protected]/pkg/runtime#RawExtension) fields. Example of fields and values affected: - Extended properties of identity objects (new `defaults` and `overrides` of the authentication config) - Custom `headers` of the former `denyWith` spec (new `response.(unauthenticated|unauthorized).headers`) - Custom `message` and `body` of the former `denyWith` spec, as well as all other fields typed in v1beta1 as [`StaticOrDynamicValue`](https://pkg.go.dev/github.com/kuadrant/authorino/api/v1beta1#StaticOrDynamicValue), when the field was set to a static string value containing line breaks or any other character that require escaping when marshalled Closes #430.
- Loading branch information
1 parent
c09056b
commit 4af0114
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters