Skip to content

Commit

Permalink
Merge pull request #67543 from sttts/sttts-auth-skip-paths
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

delegated authz: add AlwaysAllowPaths to option struct (defaulting to /healthz)

Add `AlwaysAllowPaths` field to delegated authz. These http paths are excluded from the authz chain.

Prerequisite for kubernetes/kubernetes#64149 and kubernetes/kubernetes#67069.

```release-note
Added --authorization-always-allow-paths to components doing delegated authorization to exclude certain HTTP paths like /healthz from authorization.
```

Kubernetes-commit: 5ed26a348b017c3ece8ac468d15770ddf8b922ae
  • Loading branch information
k8s-publishing-bot committed Sep 6, 2018
2 parents 69bb3fd + fe80607 commit dd13dc7
Show file tree
Hide file tree
Showing 10 changed files with 1,105 additions and 927 deletions.
248 changes: 126 additions & 122 deletions Godeps/Godeps.json

Large diffs are not rendered by default.

1,622 changes: 833 additions & 789 deletions vendor/k8s.io/api/core/v1/generated.pb.go

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions vendor/k8s.io/api/core/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions vendor/k8s.io/api/core/v1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions vendor/k8s.io/apiserver/pkg/authorization/path/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions vendor/k8s.io/apiserver/pkg/authorization/path/path.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 35 additions & 14 deletions vendor/k8s.io/apiserver/pkg/server/options/authorization.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd13dc7

Please sign in to comment.