Skip to content

Merge branch 'release-1.1' into authz-v2#11930

Merged
istio-testing merged 78 commits intoistio:authz-v2from
yangminzhu:merge-1-1
Feb 21, 2019
Merged

Merge branch 'release-1.1' into authz-v2#11930
istio-testing merged 78 commits intoistio:authz-v2from
yangminzhu:merge-1-1

Conversation

@yangminzhu
Copy link
Copy Markdown
Contributor

@yangminzhu yangminzhu commented Feb 21, 2019

Merged with command git merge release-1-1 and resolved conflicts manually (mainly in the rbac_test.go file).

/cc @liminw

sdake and others added 30 commits February 8, 2019 11:58
The DNSDomain variable needs to be enhanced to include more
then one DNS entry.  Change DNSDomain to DNSDomains as a meta
and add the dnsConfig in the meta.  As now DNSDomain is a slice
of strings instead of a string, the variable needs consolidation.
* Update fluentd adapter to be more robust

* Minor touchup of bad merge

* Lint fixes
Signed-off-by: Kuat Yessenov <[email protected]>
The Cloud Foundry open source licensing scanner has a plugin that
identifies dependencies from gradle scripts, but it requires the
buildscript and plugins block be before anything else in the file.
This change does not affect the build, but makes our lives a smidge
easier.

Co-authored-by: Teal Stannard <[email protected]>
…grant access to mesh. (istio#11508)

* Samples for accessing apt-get repo, Github, and pip repo

* A Readme explaining the samples

* Link to future doc on default external comm capability

* Incorporate documentation feedback from venilnoronha
* Add support for metadata constraints in RBAC

This adds support for mapping RBAC constraints with keys in the a[b]
format to Envoy's filter metadata matcher.

Signed-off-by: Venil Noronha <[email protected]>

* Use SplitN instead of Split for completeness

This updates the metadata matcher definition to use strings.SplitN
instead of strings.Split in order to capture the whole binary key in two
parts.

Signed-off-by: Venil Noronha <[email protected]>

* Accomodate [list] and plain value type constraints

This adds logic to accomodate filter metadata matching over both [list]
and value type constraints.

Signed-off-by: Venil Noronha <[email protected]>

* Add extra experimental. prefix test for matching

This adds an extra experimental. prefix test while creating metadata
matchers based on Envoy filters.

Signed-off-by: Venil Noronha <[email protected]>

* Update comments

This updates code comments.

Signed-off-by: Venil Noronha <[email protected]>
…Methods (istio#10778)

* add POST to ratings service

* put a space between if and opening parenthesis

* add comments

* remove extra line-break
)

* Bump the number of connection that can be re-use in Citadel

* A small fix
* Fix ingress in pilot, writeback and multiple namespaces

* Fix tests, format

* Fix test - the generated service should be left in the namespace of ingress

* Additional test fixes, match the new 1.1 semantics

* Again make fmt and lint not matching
* Break up the helloworld sample into versions

* Moved to default namespace

* Seperated gateway file and added labels

* Update the doc

* Cleanup section updated too
…io#11640)

* Add handling for independent encoding in Report batches to Mixer

* fix lll

* Address review

* protect protobag done
* wip: exit circleci test early if setup fails

Many of the circleci tests will attempt to run the e2e/integration
tests even after the test setup fails. This leads to misleading test
failures that suggest the problem is with the feature test and not the
test setup itself.

Example test runs where the setup failed and the test was run but
immediately errored out because a dependency was missing:

https://circleci.com/gh/istio/istio/316588
https://circleci.com/gh/istio/istio/317262
https://circleci.com/gh/istio/istio/318281
https://circleci.com/gh/istio/istio/316031
https://circleci.com/gh/istio/istio/315952
https://circleci.com/gh/istio/istio/315871
https://circleci.com/gh/istio/istio/315813

ref: https://circleci.com/docs/2.0/configuration-reference/#the-when-attribute
```
By default, CircleCI will execute job steps one at a time, in the
order that they are defined in config.yml, until a step fails (returns
a non-zero exit code). After a command fails, no further job steps
will be executed.

Adding the when attribute to a job step allows you to override this
default behaviour, and selectively run or skip steps depending on the
status of the job.

The default value of on_success means that the step will run only if
all of the previous steps have been successful (returned exit code 0).

A value of always means that the step will run regardless of the exit
status of previous steps. This is useful if you have a task that you
want to run regardless of whether the previous steps are successful or
not. For example, you might have a job step that needs to upload logs
or code-coverage data somewhere.
```

* re-add `when: always` to codecov job
* Implementation of isolation for EDS

* Provide nil proxy for older calls

* Always call loadAssignmentsForClusterIsolated

* Revert "Always call loadAssignmentsForClusterIsolated"

This reverts commit db2c997.

* Env variable to disable

* Lint
…s. (istio#11630)

* Feature flag graceful shutdown

Turn graceful shutdown off by default for 1.1 with a feature flag that allows users to opt-in.

Signed-off-by: Liam White <[email protected]>

* Address pr comments

Signed-off-by: Liam White <[email protected]>

* Clean up missed feature flag var

Signed-off-by: Liam White <[email protected]>

* Add turn off test case, todo comments and fix agent tests

Signed-off-by: Liam White <[email protected]>

* fix lint

Signed-off-by: Liam White <[email protected]>

* PR review comments

Signed-off-by: Liam White <[email protected]>

* Move TerminationDuration function and tests to Pilot features

Signed-off-by: Liam White <[email protected]>
Make sure empty proxy locality will fall back to using proxy service's instance locality.
* cache ServiceAccounts and remove it drom Environment

* use allServices var

* fix ut
utka and others added 10 commits February 19, 2019 15:37
* new proxy sha for release-1.1

* Run deps ensure to api

* right sha
* Added new counters from istio#8224 to Mixer client tests.

* Reformat
* use CredentialName for SIMPLE

* cvc

* rootca

* update test.

* update test

* fix format

* update gateway config

* fix test

* fix lint

* fix test

* add comments.

* add nolint

* update cvc

* update

* update

* update

* update

* update

* update

* format

* dep ensure --update istio.io/api

* Revise per comments

* Revise

* lint

* Marshal SDS call credential config using deterministic order

* update

* update

* revise

* add comment

* update
* move MCP settings to meshConfig

Signed-off-by: Shriram Rajagopalan <[email protected]>

* fix cert bug
* Fix listener parsing with ipv6 addresses

Signed-off-by: Serguei Bezverkhi <[email protected]>

* Fixing typo

Signed-off-by: Serguei Bezverkhi <[email protected]>
…pe (istio#11858)

* add sample file to expose bookinfo productpage service as nodeport type

* address comment
* build network filters in inbound path

Signed-off-by: Shriram Rajagopalan <[email protected]>

* assorted fixes

Signed-off-by: Shriram Rajagopalan <[email protected]>

* fix network filter stack

Signed-off-by: Shriram Rajagopalan <[email protected]>
@googlebot
Copy link
Copy Markdown
Collaborator

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added the cla: no Set by the Google CLA bot to indicate the author of a PR has not signed the Google CLA. label Feb 21, 2019
@yangminzhu yangminzhu added cla: yes and removed cla: no Set by the Google CLA bot to indicate the author of a PR has not signed the Google CLA. labels Feb 21, 2019
@googlebot
Copy link
Copy Markdown
Collaborator

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@istio-testing
Copy link
Copy Markdown
Collaborator

@yangminzhu: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/istio-integ-k8s-tests.sh aad8829 link /test istio-integ-k8s-tests
prow/e2e_pilotv2_auth_sds.sh aad8829 link /test istio_auth_sds_e2e
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@pitlv2109
Copy link
Copy Markdown
Member

/lgtm
/approve

@istio-testing
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pitlv2109, yangminzhu

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:
  • OWNERS [pitlv2109,yangminzhu]

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

@istio-testing istio-testing merged commit 5d16f56 into istio:authz-v2 Feb 21, 2019
@yangminzhu yangminzhu deleted the merge-1-1 branch February 21, 2019 18:38
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.