Skip to content

Add AuthenticationPolicy proto #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
174bf07
Adding AuthenticationPolicy api.
diemtvu Jan 31, 2018
0a2c7aa
Update pb.go
diemtvu Jan 31, 2018
0743231
Change authN proto definition to follow current design
diemtvu Jan 31, 2018
adf9994
Move authentication policy proto to authentication/ path
diemtvu Feb 1, 2018
6a80bf2
Remove unwanted changes in auth.proto
diemtvu Feb 1, 2018
5128057
Revert unwanted (re)generated files
diemtvu Feb 1, 2018
f090a56
Revert unwanted (re)generated files
diemtvu Feb 1, 2018
ec0b787
Add example for authn policy proto.
diemtvu Feb 1, 2018
0d1cef6
Define JWT params in auth policy file.
diemtvu Feb 1, 2018
5e20b2a
Use route_rule.Destination instead of redefine in authn policy.
diemtvu Feb 1, 2018
ca80f40
Nits
diemtvu Feb 1, 2018
130310c
Change Policy to AuthenticationPolicy to be consistent with CRD kind.
diemtvu Feb 1, 2018
307fe8b
Remove unuse gogoproto import.
diemtvu Feb 1, 2018
105d774
Replace location sub messages by direct fields.
diemtvu Feb 1, 2018
6b03f7d
Replace Empty by dedicated message None for none-authentication params.
diemtvu Feb 1, 2018
f094b65
Fix typos and uppercases.
diemtvu Feb 1, 2018
dc14a99
Tidy up
diemtvu Feb 1, 2018
bb432c3
Change match to destinations.
diemtvu Feb 3, 2018
c07f4ae
Fix merge.
diemtvu Feb 5, 2018
71303d2
added documentation about TCP Egress Rules, CIDR notation (#346)
vadimeisenbergibm Feb 5, 2018
762d4c1
Rename AuthenticationPolicy to Policy.
diemtvu Feb 5, 2018
2a17f61
Rename AuthenticationPolicy to Policy.
diemtvu Feb 5, 2018
c0b6ac3
More comment clean up.
diemtvu Feb 5, 2018
74d9a80
More comment clean up.
diemtvu Feb 5, 2018
ebec456
Configurable mixer cluster names for mixer filter (#358)
rshriram Feb 6, 2018
12edb32
introduce api/mixer/adapter/model/v1beta (#359)
guptasu Feb 6, 2018
ed33c0b
Correct yaml comments.
diemtvu Feb 6, 2018
4adeda7
add missing docs for mixerclient filter config (#353)
ayj Feb 7, 2018
d4b189d
Nits
diemtvu Feb 1, 2018
75db816
Merge branch 'authn' of github.com:diemtvu/api into authn
diemtvu Feb 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ depend: vendor binaries
# Generation Rules
#####################

generate: generate-broker-go generate-mesh-go generate-mixer-go generate-routing-go generate-rbac-go
generate: generate-broker-go generate-mesh-go generate-mixer-go generate-routing-go generate-rbac-go generate-authn-go

#####################
# broker/...
Expand Down Expand Up @@ -291,6 +291,27 @@ clean-rbac-generated:
rm -f $(rbac_v1alpha1_pb_gos)
rm -f $(rbac_v1alpha1_pb_doc)


#####################
# authentication/...
#####################

authn_v1alpha1_path := authentication/v1alpha1
authn_v1alpha1_protos := $(shell find $(authn_v1alpha1_path) -type f -name '*.proto' | sort)
authn_v1alpha1_pb_gos := $(authn_v1alpha1_protos:.proto=.pb.go)
authn_v1alpha1_pb_doc := $(authn_v1alpha1_path)/istio.authentication.v1alpha1.pb.html

generate-authn-go: $(authn_v1alpha1_pb_gos) $(authn_v1alpha1_pb_doc)

$(authn_v1alpha1_pb_gos) $(authn_v1alpha1_pb_doc): $(authn_v1alpha1_protos) | depend $(protoc_gen_go) $(protoc_bin)
## Generate authentication/v1alpha1/*.pb.go
$(protoc) $(proto_path) $(protoc_gen_go_plugin) $(protoc_gen_docs_plugin)$(authn_v1alpha1_path) $^

clean-authn-generated:
rm -f $(authn_v1alpha1_pb_gos)
rm -f $(authn_v1alpha1_pb_doc)


#####################
# Cleanup
#####################
Expand All @@ -299,4 +320,4 @@ clean:
rm -rf genbin
rm -rf vendor

clean-generated: clean-broker-generated clean-mesh-generated clean-mixer-generated clean-routing-generated clean-rbac-generated
clean-generated: clean-broker-generated clean-mesh-generated clean-mixer-generated clean-routing-generated clean-rbac-generated clean-authn-generated
Loading