Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion pkg/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ data:
config:
info_service:
socket_address:
addr: "0.0.0.0"
port: 9901
adapter:
envoy:
Expand Down Expand Up @@ -38,3 +37,5 @@ data:
rc_token:
rc_token_signing_key:
filename: "/etc/ais/certs/rctoken.key"
api_config:
sec_fetch_mode_check: LAX
12 changes: 4 additions & 8 deletions pkg/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ spec:
- name: grpc
port: 10003
targetPort: 10003
- name: http
- name: http-jwks
port: 10004
targetPort: 10004
- name: info
- name: http-info
port: 9901
targetPort: 9901
---
Expand All @@ -38,21 +38,17 @@ spec:
spec:
containers:
- name: authservice
image: gcr.io/gke-release/ais_preview:1.2.6 # kpt-set: ${image}
image: gcr.io/gke-release/asm_user_auth:1.2.7 # kpt-set: ${image}
imagePullPolicy: IfNotPresent
command:
- /usr/bin/ais_preview
- /usr/bin/asm_user_auth
- --uid=
- --gid=
- --logtostderr
- --config=/etc/config/config.yaml
ports:
- protocol: TCP
containerPort: 10003
- protocol: TCP
containerPort: 10004
- protocol: TCP
containerPort: 9901
resources:
limits:
cpu: "2.0"
Expand Down
23 changes: 23 additions & 0 deletions pkg/ext_authz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,26 @@ spec:
- to:
- operation:
notPaths: ["/ip"]
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: ext-authz-authservice
namespace: asm-user-auth
spec:
selector:
matchLabels:
app: authservice
action: CUSTOM
provider:
name: asm-userauth-grpc
rules:
- to:
- operation:
paths:
- "/_gcp_user_auth/jwks"
- "/metricz"
- "/healthz"
- "/heapz"
- "/mallocz"
- "/peakheapz"