Added Audience field in duckv1.Addressable (#2798)

* Added Audience field in duckv1.Addressable

* generated  the DeepCopy functions to include the new field

Signed-off-by: Abhijeet Gaurav <abhijeetdav24aug@gmail.com>

* removing one empty line

Co-authored-by: Christoph Stäbler <cstabler@redhat.com>

---------

Signed-off-by: Abhijeet Gaurav <abhijeetdav24aug@gmail.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
This commit is contained in:
Abhijeet Gaurav 2023-09-05 20:06:17 +05:30 committed by GitHub
parent 211243a92d
commit 66bf5af149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,10 @@ type Addressable struct {
// according to https://www.rfc-editor.org/rfc/rfc7468.
// +optional
CACerts *string `json:"CACerts,omitempty"`
// Audience is the OIDC audience for this address.
// +optional
Audience *string `json:"audience,omitempty"`
}
var (

View File

@ -72,6 +72,11 @@ func (in *Addressable) DeepCopyInto(out *Addressable) {
*out = new(string)
**out = **in
}
if in.Audience != nil {
in, out := &in.Audience, &out.Audience
*out = new(string)
**out = **in
}
return
}