Skip to content

Commit

Permalink
update resource schema for request options to get headers from envFrom (
Browse files Browse the repository at this point in the history
#347)

* update resource schema for req opts headers

* change name to headersFrom

Co-authored-by: Katie Dai <[email protected]>
  • Loading branch information
kdai7 and Katie Dai authored Aug 12, 2022
1 parent e820a7d commit 129942c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions kubernetes/RemoteResource/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,43 @@ items:
headers:
type: object
x-kubernetes-preserve-unknown-fields: true
headersFrom:
type: array
items:
type: object
oneOf:
- required: [configMapRef]
- required: [secretMapRef]
- required: [genericMapRef]
properties:
configMapRef:
type: object
required: [name]
properties:
name:
type: string
namespace:
type: string
secretMapRef:
type: object
required: [name]
properties:
name:
type: string
namespace:
type: string
genericMapRef:
type: object
required: [apiVersion, kind, name]
properties:
apiVersion:
type: string
kind:
type: string
name:
type: string
namespace:
type: string
status:
type: object
x-kubernetes-preserve-unknown-fields: true

0 comments on commit 129942c

Please sign in to comment.