Skip to content

k8s forces additionalProperties to true, hence no need to set it ourselves#1095

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
matzew:remove_additionalProperties
Apr 25, 2019
Merged

k8s forces additionalProperties to true, hence no need to set it ourselves#1095
knative-prow-robot merged 1 commit into
knative:masterfrom
matzew:remove_additionalProperties

Conversation

@matzew
Copy link
Copy Markdown
Member

@matzew matzew commented Apr 23, 2019

with additionalProperties:true, I am getting the following error:

cannot unmarshal bool into Go struct field JSONSchemaProps.AdditionalProperties of type apiextensions.JSONSchemaPropsOrBool

Since k8s forces it (defaults) to be true, we don't need to explicitly set it to true!

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Apr 23, 2019
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 23, 2019
@matzew
Copy link
Copy Markdown
Member Author

matzew commented Apr 23, 2019

@Harwayne as discussed on slack

@Harwayne
Copy link
Copy Markdown
Contributor

/approve
/lgtm

/hold

Holding so that you confirm that after this change, you can still send arbitrary data in both locations. Once you test it, remove the hold.

@knative-prow-robot knative-prow-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Apr 23, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Harwayne, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 23, 2019
@matzew
Copy link
Copy Markdown
Member Author

matzew commented Apr 25, 2019

Holding so that you confirm that after this change, you can still send arbitrary data in both locations. > Once you test it, remove the hold.

@Harwayne

Tested:

  • Channel: Source to Channel, subscription for channel, ksvc receives messages
  • Broker: Source to Broker, Trigger for event and reference a ksvc and see messages being received

FWIW: all in a non-default namespace ;-)

@n3wscott
Copy link
Copy Markdown
Contributor

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 25, 2019
@knative-prow-robot knative-prow-robot merged commit abba8f3 into knative:master Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants