Skip to content

Commit

Permalink
Add ambassador AuthService (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
amarrella authored Nov 13, 2019
1 parent 3219b56 commit a7d5d64
Show file tree
Hide file tree
Showing 16 changed files with 114 additions and 3 deletions.
17 changes: 17 additions & 0 deletions kubernetes/ambassador/AuthService/Type.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{-
Ambassador AuthService
https://www.getambassador.io/reference/services/auth-service/
-}

let k8s =
../../k8s/package.dhall sha256:4c9c40f1762e95578c86c3efbccb87ce74ff67c5111a4c92c4393c6d163bb51b
? ../../k8s/package.dhall

in { apiVersion :
Text
, kind : Text
, metadata : k8s.types.ObjectMeta
, spec :
../AuthServiceSpec/Type.dhall sha256:0088513c5510633ccf632eb63d54fffb7a8236294258f8b50167a0b52d007181
? ../AuthServiceSpec/Type.dhall
}
1 change: 1 addition & 0 deletions kubernetes/ambassador/AuthService/default.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ apiVersion = "getambassador.io/v1", kind = "AuthService" }
7 changes: 7 additions & 0 deletions kubernetes/ambassador/AuthService/package.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ Type =
./Type.dhall sha256:fd1a70a84023f29f98bb225902be3442d92302a9205a1ffc9b913c03d8b60a03
? ./Type.dhall
, default =
./default.dhall sha256:1ba6e19e9efe37479e887485fd948f45ab988a42ef1edb4a393d8b22ba2eca87
? ./default.dhall
}
1 change: 1 addition & 0 deletions kubernetes/ambassador/AuthServiceIncludeBody/Type.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ max_bytes : Optional Natural, allow_partial : Optional Bool }
1 change: 1 addition & 0 deletions kubernetes/ambassador/AuthServiceIncludeBody/default.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ max_bytes = None Natural, allow_partial = None Bool }
7 changes: 7 additions & 0 deletions kubernetes/ambassador/AuthServiceIncludeBody/package.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ Type =
./Type.dhall sha256:9807c28aaaafd3a2770b27f4785f5d03ed7b38cfebbe9326a87e5e9fbd3bfa77
? ./Type.dhall
, default =
./default.dhall sha256:3b703cdd029f72e12a702d76544e3dec52f04a6cb95bd7253149c85d8804f961
? ./default.dhall
}
1 change: 1 addition & 0 deletions kubernetes/ambassador/AuthServiceProtocol/Type.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
< http | grpc >
23 changes: 23 additions & 0 deletions kubernetes/ambassador/AuthServiceSpec/Type.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ auth_service : Text
, path_prefix : Optional Text
, proto :
Optional
( ../AuthServiceProtocol/Type.dhall sha256:313bceb2e0eb1eaabdeeb91adc6d6690eb9cd21941ddbf20a22012b188330a2d
? ../AuthServiceProtocol/Type.dhall
)
, allowed_request_headers : Optional (List Text)
, allowed_authorization_headers : Optional (List Text)
, include_body :
Optional
( ../AuthServiceIncludeBody/Type.dhall sha256:9807c28aaaafd3a2770b27f4785f5d03ed7b38cfebbe9326a87e5e9fbd3bfa77
? ../AuthServiceIncludeBody/Type.dhall
)
, status_on_error :
Optional
( ../AuthServiceStatusOnError/Type.dhall sha256:78720ba016495db5ff0f6220de0d5e617f342b33788be00a7289e446797a3a74
? ../AuthServiceStatusOnError/Type.dhall
)
, failure_mode_allow : Optional Bool
, add_linkerd_headers : Optional Bool
, cluster_idle_timeout_ms : Optional Bool
}
22 changes: 22 additions & 0 deletions kubernetes/ambassador/AuthServiceSpec/default.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ path_prefix = None Text
, proto =
None
( ../AuthServiceProtocol/Type.dhall sha256:313bceb2e0eb1eaabdeeb91adc6d6690eb9cd21941ddbf20a22012b188330a2d
? ../AuthServiceProtocol/Type.dhall
)
, allowed_request_headers = None (List Text)
, allowed_authorization_headers = None (List Text)
, include_body =
None
( ../AuthServiceIncludeBody/Type.dhall sha256:9807c28aaaafd3a2770b27f4785f5d03ed7b38cfebbe9326a87e5e9fbd3bfa77
? ../AuthServiceIncludeBody/Type.dhall
)
, status_on_error =
None
( ../AuthServiceStatusOnError/Type.dhall sha256:78720ba016495db5ff0f6220de0d5e617f342b33788be00a7289e446797a3a74
? ../AuthServiceStatusOnError/Type.dhall
)
, failure_mode_allow = None Bool
, add_linkerd_headers = None Bool
, cluster_idle_timeout_ms = None Bool
}
7 changes: 7 additions & 0 deletions kubernetes/ambassador/AuthServiceSpec/package.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ Type =
./Type.dhall sha256:0088513c5510633ccf632eb63d54fffb7a8236294258f8b50167a0b52d007181
? ./Type.dhall
, default =
./default.dhall sha256:8edc39e75f2cb4b371202122d930a8e3e0821868cadaa50150493e5fb81e6a1f
? ./default.dhall
}
1 change: 1 addition & 0 deletions kubernetes/ambassador/AuthServiceStatusOnError/Type.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ code : Natural }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{=}
7 changes: 7 additions & 0 deletions kubernetes/ambassador/AuthServiceStatusOnError/package.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ Type =
./Type.dhall sha256:78720ba016495db5ff0f6220de0d5e617f342b33788be00a7289e446797a3a74
? ./Type.dhall
, default =
./default.dhall sha256:9bb9dcb5bf6f795291686f59383bcd01c8e79b87fc3fb63351d46dea100ac51b
? ./default.dhall
}
17 changes: 16 additions & 1 deletion kubernetes/ambassador/package.dhall
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{ CircuitBreaker =
{ AuthService =
./AuthService/package.dhall sha256:38aba5d9403f93dfc41da40bc78950872a8ec03c60b37fb903a110506094be79
? ./AuthService/package.dhall
, AuthServiceIncludeBody =
./AuthServiceIncludeBody/package.dhall sha256:4f65364e68fd4e6059f72a338fc50c92c519839c6e9f452dbc0befdc46e0b75f
? ./AuthServiceIncludeBody/package.dhall
, AuthServiceProtocol =
./AuthServiceProtocol/Type.dhall sha256:313bceb2e0eb1eaabdeeb91adc6d6690eb9cd21941ddbf20a22012b188330a2d
? ./AuthServiceProtocol/Type.dhall
, AuthServiceSpec =
./AuthServiceSpec/package.dhall sha256:697637fccf454839dc0683172b39a60d654ce4265b382d4c987b8136dcb85d52
? ./AuthServiceSpec/package.dhall
, AuthServiceStatusOnError =
./AuthServiceStatusOnError/package.dhall sha256:afaec6d7f1067f9885c725ed4b0286a58a7285380a76d58276c3150d8efc6900
? ./AuthServiceStatusOnError/package.dhall
, CircuitBreaker =
./CircuitBreaker/package.dhall sha256:9aa003224971ea5f5c8dde34750a6122dbbf9949bdb7a4d2495f12cbdb23ca14
? ./CircuitBreaker/package.dhall
, Cors =
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/package.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
./argo/schemas.dhall sha256:3dd2e0a8f264968fccb2358b799afacd493f205234501820cf5b3e2134ef1704
? ./argo/schemas.dhall
, ambassador =
./ambassador/package.dhall sha256:dacfb56527a99120fcd1c7951ca18a451451432e8655222e25af6b4336469cb7
./ambassador/package.dhall sha256:7c482aa11b7c7d4679e0a8914b89f4c4e07c5b6b70ce961a87082f63f3833c75
? ./ambassador/package.dhall
}
2 changes: 1 addition & 1 deletion package.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ kubernetes =
./kubernetes/package.dhall sha256:87306b756dc3be267aeb894254381f80fe6b499d43fc96204912df3aff68a936
./kubernetes/package.dhall sha256:c90dd618cf536182a0df307c7adce3cf3e9c7598a4a32e85818893a1259d1b96
? ./kubernetes/package.dhall
, Prelude =
https://prelude.dhall-lang.org/v11.1.0/package.dhall sha256:99462c205117931c0919f155a6046aec140c70fb8876d208c7c77027ab19c2fa
Expand Down

0 comments on commit a7d5d64

Please sign in to comment.